Andrej Mernik 於 2015年12月09日 01:18 寫道: > Package: gbatnav > Version: 1.0.4cvs20051004-5 > Severity: important > > Dear Maintainer, > > gbnclient keeps crashing when trying to play a game with a robot: > > gbnclient: Error in buscar_usr: usr=0 > gbnrobot: robot 1: que_usrfrom: Error, aca no tendria que llegar > Segmentation fault > > To reproduce: > > 1. run gbnclient > 2. use default options and set 'run server locally' > 3. in the server window which appears select 'Launch a robot in server' > 4. bot might crash several times, so repeat 1-3 until you succeed > 5. click 'random' and 'send ships' in the client > 6. click 'start' > 7. the client crashes, but the bot stays ready and also the server doesn't > seem to crash. > > Best regards, > Andrej > > -- System Information: > Debian Release: 8.2 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.2.0-0.bpo.1-amd64 (SMP w/4 CPU cores) > Locale: LANG=sl_SI.UTF-8, LC_CTYPE=sl_SI.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages gbatnav depends on: > ii libart-2.0-2 2.3.21-2 > ii libatk1.0-0 2.14.0-1 > ii libbonobo2-0 2.32.1-3 > ii libbonoboui2-0 2.24.5-2 > ii libc6 2.19-18+deb8u1 > ii libcairo2 1.14.0-2.1 > ii libfontconfig1 2.11.0-6.3 > ii libfreetype6 2.5.2-3+deb8u1 > ii libgconf2-4 3.2.6-3 > ii libgdk-pixbuf2.0-0 2.31.1-2+deb8u3 > ii libglib2.0-0 2.42.1-1 > ii libgnome2-0 2.32.1-5 > ii libgnomecanvas2-0 2.30.3-2 > ii libgnomeui-0 2.24.5-3 > ii libgnomevfs2-0 1:2.24.4-6+b1 > ii libgtk2.0-0 2.24.25-3 > ii libice6 2:1.0.9-1+b1 > ii liborbit2 1:2.14.19-0.3 > ii libpango1.0-0 1.36.8-3 > ii libpopt0 1.16-10 > ii libsm6 2:1.2.2-1+b1 > > gbatnav recommends no packages. > > gbatnav suggests no packages. > > -- no debconf information >
Hi Andrej, Thanks. There is a bug. Actually several bugs. I tried to reproduce several times and I found this bug seems only happened on 64-bits on your steps. I'll try to get some times to fix it. I'll also paste a full bt for anyone who wants to help. But this bug is not a single bug. 1. gbnclient crashes. 2. gbnrobot sends weird board layout. 3. gbnserver non sync. So for gbnclient crashed, the full bt is: #0 0x00000000004072c0 in ptucell (x=x@entry=0, y=y@entry=0, color=<optimized out>) at pantalla.c:257 i = <optimized out> #1 0x00000000004051dc in fillboard ( filltable=0x6348c0 <usuario+5280> '1' <repeats 100 times>, "\002", a=a@entry=1) at gbnclient.c:366 i = 0 j = 0 k = 0 #2 0x000000000040523b in expose_event_right (widget=<optimized out>, event=<optimized out>) at gbnclient.c:238 No locals. #3 0x00007ffff6019a7f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 No symbol table info available. #4 0x00007ffff3b19015 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 No symbol table info available. #5 0x00007ffff3b2b061 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 No symbol table info available. #6 0x00007ffff3b33899 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 No symbol table info available. #7 0x00007ffff3b3412f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 No symbol table info available. #8 0x00007ffff6130ecc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 No symbol table info available. #9 0x00007ffff6018802 in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 No symbol table info available. #10 0x00007ffff5c72bef in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 No symbol table info available. #11 0x00007ffff5c72b95 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 No symbol table info available. #12 0x00007ffff5c6f6c8 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 No symbol table info available. #13 0x00007ffff5c6fff8 in gdk_window_process_all_updates () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 No symbol table info available. #14 0x00007ffff5f9da61 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 No symbol table info available. #15 0x00007ffff5c4ede7 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 No symbol table info available. #16 0x00007ffff3843e9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #17 0x00007ffff3844240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #18 0x00007ffff3844562 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #19 0x00007ffff60175d7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 No symbol table info available. #20 0x0000000000404276 in main (argc=<optimized out>, argv=<optimized out>) at gbnclient.c:673 client = 0x67a020 Yours, Paul -- PaulLiu (劉穎駿) E-mail: Ying-Chun Liu (PaulLiu) <paul...@debian.org>
signature.asc
Description: OpenPGP digital signature