Bug#580711: [billard-gl] Segmention fault when clicking on Setup -> Video

Stanislav Maslovski stanislav.maslovski at gmail.com
Thu Dec 29 00:59:54 UTC 2011


Package: billard-gl
Version: 1.75-11
Followup-For: Bug #580711

This but is still present in testing. The program segfaults when I
click on Setup -> Video item in the main menu. Runnig from gdb shows a
possible null pointer dereference:

% gdb /usr/games/billard-gl
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/games/billard-gl...(no debugging symbols
found)...done.
(gdb) run
Starting program: /usr/games/billard-gl 
[Thread debugging using libthread_db enabled]

 BillardGL (C) 2001, 2002 Tobias Nopper, Stefan Disch, Martina Welte
 
 
Program received signal SIGSEGV, Segmentation fault.
0x000000000041abeb in ?? ()
(gdb) bt
#0  0x000000000041abeb in ?? ()
#1  0x0000000000410eb5 in ?? ()
#2  0x0000000000414c2e in ?? ()
#3  0x00000000004048aa in ?? ()
#4  0x00007ffff76f21d6 in glutMainLoopEvent () from
/usr/lib/libglut.so.3
#5  0x00007ffff76f25a7 in glutMainLoop () from /usr/lib/libglut.so.3
#6  0x0000000000404d9d in ?? ()
#7  0x00007ffff6bceead in __libc_start_main () from
/lib/x86_64-linux-gnu/libc.so.6
#8  0x00000000004030a9 in ?? ()
#9  0x00007fffffffe648 in ?? ()
#10 0x000000000000001c in ?? ()
#11 0x0000000000000001 in ?? ()
#12 0x00007fffffffe939 in ?? ()
#13 0x0000000000000000 in ?? ()
(gdb) disas 0x000000000041abeb-32,0x000000000041abeb+32
Dump of assembler code from 0x41abcb to 0x41ac0b:
   0x000000000041abcb:  lahf   
   0x000000000041abcc:  faddl  (%rdi)
   0x000000000041abce:  add    %al,(%rax)
   0x000000000041abd0:  mulss  %xmm2,%xmm3
   0x000000000041abd4:  subss  %xmm3,%xmm0
   0x000000000041abd8:  movss  %xmm0,0x7f4(%rdi)
   0x000000000041abe0:  jmpq   0x41aad9
   0x000000000041abe5:  nopl   (%rax)
   0x000000000041abe8:  cmp    $0x2,%esi
=> 0x000000000041abeb:  mov    %esi,0x804(%rdi)
   0x000000000041abf1:  jne    0x41aac7
   0x000000000041abf7:  movss  0x7dc(%rdi),%xmm3
   0x000000000041abff:  unpcklps %xmm2,%xmm2
   0x000000000041ac02:  unpcklps %xmm0,%xmm0
   0x000000000041ac05:  cvtps2pd %xmm3,%xmm3
   0x000000000041ac08:  mulsd  0xf320(%rip),%xmm3        # 0x429f30
End of assembler dump.
(gdb) p /x $rdi
$1 = 0x0
(gdb) 

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.5-1-minimal (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages billard-gl depends on:
ii  billard-gl-data           1.75-11
ii  freeglut3                 2.6.0-1
ii  libc6                     2.13-23
ii  libgcc1                   1:4.6.2-9
ii  libgl1-mesa-glx [libgl1]  7.11.2-1
ii  libglu1-mesa [libglu1]    7.11.2-1
ii  libstdc++6                4.6.2-9

billard-gl recommends no packages.

billard-gl suggests no packages.

-- no debconf information





More information about the Pkg-games-devel mailing list