Bug#744237: dreamchess: During gameplay only, the mouse positions don't sync.

Lucio Crusca lucio at sulweb.org
Sat Jun 28 11:39:18 UTC 2014


Package: dreamchess
Version: 0.2.0-3
Followup-For: Bug #744237

In my case it even segfaults when you click on the chessboard.
I can reproduce this way:

1. start a new game
2. click once the chessboard
3. click one more time
4. segmentation fault

I've built a debug package and took a stack trace:

$ gdb dreamchess
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1.1+b1)
[...]
(gdb) run
Starting program: /usr/games/dreamchess 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
DreamChess v0.2.0 (r577)
[New Thread 0x7fffe5726700 (LWP 703)]
[Thread 0x7fffe5726700 (LWP 703) exited]
[New Thread 0x7fffe5726700 (LWP 704)]

Program received signal SIGSEGV, Segmentation fault.
0x000000000040d095 in poll_move ()
(gdb) bt
#0  0x000000000040d095 in poll_move ()
#1  0x0000000000407b0a in dreamchess ()
#2  0x0000000000407f06 in main ()
(gdb) info threads
  Id   Target Id         Frame 
  3    Thread 0x7fffe5726700 (LWP 704) "dreamchess" 0x00007ffff6aa6e7f
in __GI_ppoll (fds=0xe96bf0, nfds=2, timeout=<optimized out>,
sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56
* 1    Thread 0x7ffff7e87900 (LWP 699) "dreamchess" 0x000000000040d095
* in poll_move ()
(gdb) thread 3
[Switching to thread 3 (Thread 0x7fffe5726700 (LWP 704))]
#0  0x00007ffff6aa6e7f in __GI_ppoll (fds=0xe96bf0, nfds=2,
timeout=<optimized out>, sigmask=0x0) at
.../sysdeps/unix/sysv/linux/ppoll.c:56
56	../sysdeps/unix/sysv/linux/ppoll.c: File o directory non
esistente.
(gdb) bt
#0  0x00007ffff6aa6e7f in __GI_ppoll (fds=0xe96bf0, nfds=2,
timeout=<optimized out>, sigmask=0x0) at
.../sysdeps/unix/sysv/linux/ppoll.c:56
#1  0x00007ffff49d9207 in pa_mainloop_poll () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007ffff49d97de in pa_mainloop_iterate () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007ffff74fdcfb in ?? () from
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#4  0x00007ffff74d1b50 in ?? () from
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#5  0x00007ffff74d9d48 in ?? () from
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#6  0x00007ffff751b9b9 in ?? () from
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#7  0x00007ffff67b70ca in start_thread (arg=0x7fffe5726700) at
pthread_create.c:312
#8  0x00007ffff6ab205d in clone () at
.../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) 


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (998, 'testing'), (994, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14.4-fx (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dreamchess depends on:
ii  dreamchess-data           0.2.0-3
ii  libc6                     2.19-3
ii  libgl1-mesa-glx [libgl1]  10.1.4-1
ii  libglu1-mesa [libglu1]    9.0.0-2
ii  libmxml1                  2.6-2
ii  libsdl-image1.2           1.2.12-5+b2
ii  libsdl-mixer1.2           1.2.12-11+b1
ii  libsdl1.2debian           1.2.15-9

dreamchess recommends no packages.

dreamchess suggests no packages.

-- no debconf information



More information about the Pkg-games-devel mailing list