#1238: multiplayer chat is crashing in beta 4
-------------------------------+--------------------------------------------
        Reporter:  anonymous   |        Type:  defect 
          Status:  new         |    Priority:  blocker
       Milestone:  2.3         |   Component:  other  
         Version:  2.3 beta 4  |    Keywords:         
Operating_system:  GNU/Linux   |   Blockedby:         
        Blocking:              |  
-------------------------------+--------------------------------------------
 Program: ./src/warzone2100(warzone2100)
 Command line: "./src/warzone2100"
 Version: Version 2.3_beta4
 Distributor: wz2100.net
 Compiled on: Dec 13 2009 16:29:59
 Compiled by: GCC 4.3.2
 Compiled mode: Release build
 Executed on: Wed Dec 16 17:21:56 2009
 Operating system: Linux
 Node name: Quark
 Release: 2.6.30-2-486
 Version: #1 Fri Aug 14 01:02:21 UTC 2009
 Machine: i686

 Pointers: 32bit

 Compiled against PhysicsFS version: 1.1.1
 Running with PhysicsFS version: 1.1.1

 Misc Data:
 [05:21:56]OpenGL Vendor : ATI Technologies Inc.
 [05:21:56]OpenGL Renderer : ATI RADEON 9000 Series
 [05:21:56]OpenGL Version : 2.1.8543 Release
 [05:21:56]OpenGL GLSL Version : 1.20
 [05:21:56]Video Mode 800 x 600 (32 bpp) (window)
 [05:21:56]OpenAL Vendor: OpenAL Community
 [05:21:56]OpenAL Version: 1.1
 [05:21:56]OpenAL Renderer: OpenAL Soft
 [05:21:56]OpenAL Extensions: AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32
 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET
 AL_LOKI_quadriphonic
 [05:21:56]Using language: System locale
 [05:22:04]UPnP device not found.
 [05:23:45]Current Level/map is Sk-Gridlock-T3
 [05:27:19]Current Level/map is Sk-Mountain

 Dump caused by signal: SIGSEGV: Invalid memory reference: Address not
 mapped to object


 GLIBC raw backtrace:
 ./src/warzone2100[0x827c937]
 [0xb7f09410]
 ./src/warzone2100(kf_SendTextMessage+0x154)[0x81461cd]
 ./src/warzone2100(processInput+0x166)[0x80ea49c]
 ./src/warzone2100(gameLoop+0xcfc)[0x8153ae8]
 ./src/warzone2100[0x8155747]
 ./src/warzone2100[0x8155b48]
 ./src/warzone2100(main+0x754)[0x81562af]
 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb76887a5]
 ./src/warzone2100(ftell+0x35)[0x80b4821]

 GDB extended backtrace:
 GNU gdb 6.8-debian
 Copyright (C) 2008 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 "i486-linux-gnu"...
 Attaching to program: /home/mark/games/2.3_beta4/src/warzone2100, process
 4644
 Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
 Loaded symbols for /usr/lib/libSDL-1.2.so.0
 Reading symbols from /usr/local/lib/libphysfs.so.1...done.
 Loaded symbols for /usr/local/lib/libphysfs.so.1
 Reading symbols from /usr/lib/libpng12.so.0...done.
 Loaded symbols for /usr/lib/libpng12.so.0
 Reading symbols from /usr/lib/libvorbisfile.so.3...done.
 Loaded symbols for /usr/lib/libvorbisfile.so.3
 Reading symbols from /usr/lib/libvorbis.so.0...done.
 Loaded symbols for /usr/lib/libvorbis.so.0
 Reading symbols from /usr/lib/libogg.so.0...done.
 Loaded symbols for /usr/lib/libogg.so.0
 Reading symbols from /usr/lib/libtheora.so.0...done.
 Loaded symbols for /usr/lib/libtheora.so.0
 Reading symbols from /usr/lib/libopenal.so.1...done.
 Loaded symbols for /usr/lib/libopenal.so.1
 Reading symbols from /usr/local/lib/libGLC.so.0...done.
 Loaded symbols for /usr/local/lib/libGLC.so.0
 Reading symbols from /usr/lib/libGL.so.1...done.
 Loaded symbols for /usr/lib/libGL.so.1
 Reading symbols from /usr/lib/libGLU.so.1...done.
 Loaded symbols for /usr/lib/libGLU.so.1
 Reading symbols from /lib/libpopt.so.0...done.
 Loaded symbols for /lib/libpopt.so.0
 Reading symbols from /usr/lib/libstdc++.so.6...done.
 Loaded symbols for /usr/lib/libstdc++.so.6
 Reading symbols from /lib/i686/cmov/libm.so.6...done.
 Loaded symbols for /lib/i686/cmov/libm.so.6
 Reading symbols from /lib/libgcc_s.so.1...done.
 Loaded symbols for /lib/libgcc_s.so.1
 Reading symbols from /lib/i686/cmov/libc.so.6...done.
 Loaded symbols for /lib/i686/cmov/libc.so.6
 Reading symbols from /lib/i686/cmov/libpthread.so.0...done.
 [Thread debugging using libthread_db enabled]
 [New Thread 0xb72a3910 (LWP 4644)]
 [New Thread 0xb32edb90 (LWP 4651)]
 [New Thread 0xb3aeeb90 (LWP 4650)]
 [New Thread 0xb6706b90 (LWP 4649)]
 Loaded symbols for /lib/i686/cmov/libpthread.so.0
 Reading symbols from /usr/lib/libX11.so.6...done.
 Loaded symbols for /usr/lib/libX11.so.6
 Reading symbols from /usr/lib/libasound.so.2...done.
 Loaded symbols for /usr/lib/libasound.so.2
 Reading symbols from /lib/i686/cmov/libdl.so.2...done.
 Loaded symbols for /lib/i686/cmov/libdl.so.2
 Reading symbols from /usr/lib/libdirectfb-1.0.so.0...done.
 Loaded symbols for /usr/lib/libdirectfb-1.0.so.0
 Reading symbols from /usr/lib/libfusion-1.0.so.0...done.
 Loaded symbols for /usr/lib/libfusion-1.0.so.0
 Reading symbols from /usr/lib/libdirect-1.0.so.0...done.
 Loaded symbols for /usr/lib/libdirect-1.0.so.0
 Reading symbols from /usr/lib/libvga.so.1...done.
 Loaded symbols for /usr/lib/libvga.so.1
 Reading symbols from /usr/lib/libz.so.1...done.
 Loaded symbols for /usr/lib/libz.so.1
 Reading symbols from /usr/lib/libfontconfig.so.1...done.
 Loaded symbols for /usr/lib/libfontconfig.so.1
 Reading symbols from /usr/lib/libfreetype.so.6...done.
 Loaded symbols for /usr/lib/libfreetype.so.6
 Reading symbols from /lib/ld-linux.so.2...done.
 Loaded symbols for /lib/ld-linux.so.2
 Reading symbols from /usr/lib/libXext.so.6...done.
 Loaded symbols for /usr/lib/libXext.so.6
 Reading symbols from /usr/lib/libxcb-xlib.so.0...done.
 Loaded symbols for /usr/lib/libxcb-xlib.so.0
 Reading symbols from /usr/lib/libxcb.so.1...done.
 Loaded symbols for /usr/lib/libxcb.so.1
 Reading symbols from /lib/i686/cmov/librt.so.1...done.
 Loaded symbols for /lib/i686/cmov/librt.so.1
 Reading symbols from /lib/libx86.so.1...done.
 Loaded symbols for /lib/libx86.so.1
 Reading symbols from /usr/lib/libexpat.so.1...done.
 Loaded symbols for /usr/lib/libexpat.so.1
 Reading symbols from /usr/lib/libXau.so.6...done.
 Loaded symbols for /usr/lib/libXau.so.6
 Reading symbols from /usr/lib/libXdmcp.so.6...done.
 Loaded symbols for /usr/lib/libXdmcp.so.6
 Reading symbols from /usr/lib/libXrender.so.1...done.
 Loaded symbols for /usr/lib/libXrender.so.1
 Reading symbols from /usr/lib/libXrandr.so.2...done.
 Loaded symbols for /usr/lib/libXrandr.so.2
 Reading symbols from /usr/lib/libXcursor.so.1...done.
 Loaded symbols for /usr/lib/libXcursor.so.1
 Reading symbols from /usr/lib/libXfixes.so.3...done.
 Loaded symbols for /usr/lib/libXfixes.so.3
 Reading symbols from /usr/lib/dri/fglrx_dri.so...done.
 Loaded symbols for /usr/lib/dri/fglrx_dri.so
 Reading symbols from /usr/lib/libXinerama.so.1...done.
 Loaded symbols for /usr/lib/libXinerama.so.1
 Reading symbols from /usr/lib/libatiadlxx.so...done.
 Loaded symbols for /usr/lib/libatiadlxx.so
 Reading symbols from /lib/i686/cmov/libnss_compat.so.2...done.
 Loaded symbols for /lib/i686/cmov/libnss_compat.so.2
 Reading symbols from /lib/i686/cmov/libnsl.so.1...done.
 Loaded symbols for /lib/i686/cmov/libnsl.so.1
 Reading symbols from /lib/i686/cmov/libnss_nis.so.2...done.
 Loaded symbols for /lib/i686/cmov/libnss_nis.so.2
 Reading symbols from /lib/i686/cmov/libnss_files.so.2...done.
 Loaded symbols for /lib/i686/cmov/libnss_files.so.2
 Reading symbols from /lib/libnss_mdns4_minimal.so.2...done.
 Loaded symbols for /lib/libnss_mdns4_minimal.so.2
 Reading symbols from /lib/i686/cmov/libnss_dns.so.2...done.
 Loaded symbols for /lib/i686/cmov/libnss_dns.so.2
 Reading symbols from /lib/i686/cmov/libresolv.so.2...done.
 Loaded symbols for /lib/i686/cmov/libresolv.so.2
 Reading symbols from /lib/libnss_mdns4.so.2...done.
 Loaded symbols for /lib/libnss_mdns4.so.2
 0xb7f09430 in __kernel_vsyscall ()
 (gdb) #0  0xb7f09430 in __kernel_vsyscall ()
 No symbol table info available.
 #1  0xb771019b in waitpid () from /lib/i686/cmov/libc.so.6
 No symbol table info available.
 #2  0x0827c823 in gdbExtendedBacktrace (dumpFile=14) at
 exceptionhandler.c:546
         gdbPipe = 16
         pid = 4652
         status = 2
         wpid = -1217084951
         gdbCommands = "backtrace full\nframe 4\ndisassemble\ninfo
 registers\nquit\n"
 #3  0x0827ca6d in posixExceptionHandler (signum=11, siginfo=0xbfb245dc,
     sigcontext=0xbfb2465c) at exceptionhandler.c:651
         btBuffer = {0x827c937, 0xb7f09410, 0x81461cd, 0x80ea49c,
 0x8153ae8, 0x8155747,
   0x8155b48, 0x81562af, 0xb76887a5, 0x80b4821, 0x0, 0x0, 0x0, 0x0, 0x0,
 0x0, 0x0, 0x0,
   0x0, 0x0}
         btSize = 10
         dumpFilename = "/tmp/warzone2100.gdmp-YQKKci"
         dumpFile = 14
         signal = 0x82e9e90 "SIGSEGV: Invalid memory reference: Address not
 mapped to object"
         allreadyRunning = 1
         gdmpPath = "/tmp/warzone2100.gdmp-XXXXXX"
 #4  <signal handler called>
 No symbol table info available.
 #5  0x0818564e in sendTextMessage (pStr=0x8afa580 "654532tst", all=0)
     at multiplay.c:1084
         normal = 0
         sendto = {0, 1, 0, 0, 0, 0, 0, 0}
         posTable = {0, 1, 2, 3, 136366151, 212834664, 1, 116}
         i = 4
         display = "(private to [invalid]", '\0' <repeats 233 times>
         msg = "654532tst", '\0' <repeats 245 times>
         curStr = 0x8afa581 "54532tst"
 #6  0x081461cd in kf_SendTextMessage () at keybind.c:1900
         ch = 13
         tmp =
 
"\000\000Ä\000\000\200d\000\000\204Â\006\230ä¾\006\230d?Ƽk½Àü�...@ôÿÿ\000\000\000\000\004\001\000\000\000\000\000\000
 
\000\000\000ØL²¿<û\036\bÀü�...@ôÿÿ\000\000\000\000Àüÿÿ@ôÿÿ\000\000\000\000\000\000\000\000\227ñ\036\bhL²¿",
 '\0' <repeats 24 times>,
 
"¿\000\037\000\001\000\000\000\020òóÿ|\004\000\000\000\000\000\000\230Q\214\f\000\000\000\000\000\000²¿\004\021\024\000\211\001\000\000A\000\000\000\\\000\000\000äé\031\b",
 '\0' <repeats 13 times>,
 
"@]À\000\000\000\000\...@]À\000\000\000\000\000\200`À\000\000\000\000\000@]À\000\000\000\000äé\031\b",
 '\0' <repeats 13 times>...
 #7  0x080ea49c in processInput () at display.c:520
         mOverRadar = 0
         WheelZoomIterator = 260
 #8  0x08153ae8 in gameLoop () at loop.c:590
         psCurr = (DROID *) 0x0
         psNext = (DROID *) 0x0
         psCBuilding = (STRUCTURE *) 0x0
         psNBuilding = (STRUCTURE *) 0x0
         psCFeat = (FEATURE *) 0x0
         psNFeat = (FEATURE *) 0x0
         i = 8
         widgval = 3085555776
         quitting = 0
         intRetVal = INT_NONE
         clearMode = 4
         __FUNCTION__ = "gameLoop"
 #9  0x08155747 in runGameLoop () at main.c:665
         __FUNCTION__ = "runGameLoop"
 #10 0x08155b48 in mainLoop () at main.c:853
         event = {type = 2 '\002', active = {type = 2 '\002', gain = 0
 '\0',
     state = 1 '\001'}, key = {type = 2 '\002', which = 0 '\0', state = 1
 '\001',
     keysym = {scancode = 36 '$', sym = SDLK_RETURN, mod = KMOD_NUM,
 unicode = 13}},
   motion = {type = 2 '\002', which = 0 '\0', state = 1 '\001', x = 20004,
 y = 49074,
     xrel = 13, yrel = 0}, button = {type = 2 '\002', which = 0 '\0',
 button = 1 '\001',
     state = 0 '\0', x = 20004, y = 49074}, jaxis = {type = 2 '\002', which
 = 0 '\0',
     axis = 1 '\001', value = 20004}, jball = {type = 2 '\002', which = 0
 '\0',
     ball = 1 '\001', xrel = 20004, yrel = -16462}, jhat = {type = 2
 '\002',
     which = 0 '\0', hat = 1 '\001', value = 0 '\0'}, jbutton = {type = 2
 '\002',
     which = 0 '\0', button = 1 '\001', state = 0 '\0'}, resize = {type = 2
 '\002',
     w = -1078833628, h = 13}, expose = {type = 2 '\002'}, quit = {type = 2
 '\002'},
   user = {type = 2 '\002', code = -1078833628, data1 = 0xd, data2 =
 0x1000}, syswm = {
     type = 2 '\002', msg = 0xbfb24e24}}
 #11 0x081562af in main (argc=1, argv=0xbfb25144) at main.c:1083
         __FUNCTION__ = "main"
 (gdb) #4  <signal handler called>
 (gdb) Dump of assembler code for function __kernel_rt_sigreturn:
 0xb7f09410 <__kernel_rt_sigreturn+0>:   mov    $0xad,%eax
 0xb7f09415 <__kernel_rt_sigreturn+5>:   int    $0x80
 0xb7f09417 <__kernel_rt_sigreturn+7>:   nop
 End of assembler dump.
 (gdb) eax            0xfffffe00 -512
 ecx            0xbfb24508       -1078835960
 edx            0x0      0
 ebx            0x104    260
 esp            0xbfb245d0       0xbfb245d0
 ebp            0xbfb24bb8       0xbfb24bb8
 esi            0x0      0
 edi            0x20     32
 eip            0xb7f09410       0xb7f09410 <__kernel_rt_sigreturn>
 eflags         0x200246 [ PF ZF IF ID ]
 cs             0x73     115
 ss             0x7b     123
 ds             0x7b     123
 es             0x7b     123
 fs             0x0      0
 gs             0x33     51
 (gdb) The program is running.  Quit anyway (and detach it)? (y or n)
 [answered Y; input not from terminal]
 Detaching from program: /home/mark/games/2.3_beta4/src/warzone2100,
 process 4644


 Compiled from tarball, just trying to send messages to a few players.

 The version string is odd it shows Version: #1 Fri Aug 14 01:02:21 UTC
 2009, when this is 2.3_beta 4

-- 
Ticket URL: <http://developer.wz2100.net/ticket/1238>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Resurrection Project
_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to