URL: <http://gna.org/bugs/?11501>
Summary: multiplayer crash with nexus hydras Project: Warzone Resurrection Project Submitted by: pabs Submitted on: Tuesday 04/15/2008 at 12:05 Category: Engine: Netplay Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: 2.1_beta2 Operating System: GNU/Linux Planned Release: None _______________________________________________________ Details: Taking out the enemy base with 12 nexus hydras got me a crash: Program: /usr/games/warzone2100 Version: 2.1_beta2 Distributor: Debian Type: Debug Compiled on: Mar 20 2008 Compiled by: GCC 4.2.3 (Debian 4.2.3-2) Executed on: Tue Apr 15 18:58:07 2008 Operating system: Linux Node name: chianamo Release: 2.6.24-1-686 Version: #1 SMP Thu Mar 27 17:45:04 UTC 2008 Machine: i686 Pointers: 32bit Dump caused by signal: SIGABRT: Process abort signal Log message 1:Assert in Warzone: structure.c:6103 : electronicDamage (psStructure->pStructureType->resistance != 0), last script event: 'structureDestroyed' Log message 2:electronicDamage: invalid structure for EW GLIBC raw backtrace: warzone2100[0x81dd904] [0xffffe440] /lib/i686/cmov/libc.so.6(abort+0x101)[0xb7ba5871] /lib/i686/cmov/libc.so.6(__assert_fail+0xee)[0xb7b9d0ee] warzone2100[0x818cc5c] warzone2100[0x817858b] warzone2100[0x8179f09] warzone2100[0x8179f33] warzone2100[0x80c932a] warzone2100[0x80cae4f] warzone2100[0x80cb1e1] warzone2100[0x80cb5a2] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7b8f450] warzone2100(ftell+0x35)[0x804db71] 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: /usr/games/warzone2100, process 8913 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/lib/libSDL_net-1.2.so.0...done. Loaded symbols for /usr/lib/libSDL_net-1.2.so.0 Reading symbols from /usr/lib/libphysfs-1.0.so.0...done. Loaded symbols for /usr/lib/libphysfs-1.0.so.0 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 /lib/i686/cmov/libm.so.6...Reading symbols from /usr/lib/debug/lib/i686/cmov/libm-2.7.so...done. done. Loaded symbols for /lib/i686/cmov/libm.so.6 Reading symbols from /usr/lib/libogg.so.0...done. Loaded symbols for /usr/lib/libogg.so.0 Reading symbols from /usr/lib/libopenal.so.0...done. Loaded symbols for /usr/lib/libopenal.so.0 Reading symbols from /usr/lib/libGLC.so.0...done. Loaded symbols for /usr/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 /lib/i686/cmov/libc.so.6...Reading symbols from /usr/lib/debug/lib/i686/cmov/libc-2.7.so...done. done. Loaded symbols for /lib/i686/cmov/libc.so.6 Reading symbols from /usr/lib/libX11.so.6...done. Loaded symbols for /usr/lib/libX11.so.6 Reading symbols from /lib/i686/cmov/libdl.so.2...Reading symbols from /usr/lib/debug/lib/i686/cmov/libdl-2.7.so...done. 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 /lib/i686/cmov/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/i686/cmov/libpthread-2.7.so...done. [Thread debugging using libthread_db enabled] [New Thread 0xb77886d0 (LWP 8913)] [New Thread 0xafd95b90 (LWP 8919)] [New Thread 0xb72b2b90 (LWP 8918)] done. Loaded symbols for /lib/i686/cmov/libpthread.so.0 Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.7.so...done. done. Loaded symbols for /lib/ld-linux.so.2 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 /usr/lib/libfribidi.so.0...done. Loaded symbols for /usr/lib/libfribidi.so.0 Reading symbols from /usr/lib/libXext.so.6...done. Loaded symbols for /usr/lib/libXext.so.6 Reading symbols from /usr/lib/libXxf86vm.so.1...done. Loaded symbols for /usr/lib/libXxf86vm.so.1 Reading symbols from /usr/lib/libXdamage.so.1...done. Loaded symbols for /usr/lib/libXdamage.so.1 Reading symbols from /usr/lib/libXfixes.so.3...done. Loaded symbols for /usr/lib/libXfixes.so.3 Reading symbols from /usr/lib/libdrm.so.2...done. Loaded symbols for /usr/lib/libdrm.so.2 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.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 /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/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/dri/i915_dri.so...Reading symbols from /usr/lib/debug/usr/lib/dri/i915_dri.so...done. done. Loaded symbols for /usr/lib/dri/i915_dri.so Reading symbols from /lib/i686/cmov/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib/i686/cmov/libnss_files-2.7.so...done. 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...Reading symbols from /usr/lib/debug/lib/i686/cmov/libnss_dns-2.7.so...done. done. Loaded symbols for /lib/i686/cmov/libnss_dns.so.2 Reading symbols from /lib/i686/cmov/libresolv.so.2...Reading symbols from /usr/lib/debug/lib/i686/cmov/libresolv-2.7.so...done. done. Loaded symbols for /lib/i686/cmov/libresolv.so.2 0xffffe410 in __kernel_vsyscall () (gdb) #0 0xffffe410 in __kernel_vsyscall () No symbol table info available. #1 0xb7c0e36b in waitpid () from /lib/i686/cmov/libc.so.6 No symbol table info available. #2 0x081ddf53 in posixExceptionHandler (signum=6, siginfo=0xbfa31dac, sigcontext=0xbfa31e2c) at exceptionhandler.c:531 btBuffer = {0x81dd904, 0xffffe440, 0xb7ba5871, 0xb7b9d0ee, 0x818cc5c, 0x817858b, 0x8179f09, 0x8179f33, 0x80c932a, 0x80cae4f, 0x80cb1e1, 0x80cb5a2, 0xb7b8f450, 0x804db71, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} btSize = 14 pid = 9104 gdbPipe = {11, 12} dumpFile = 10 signal = 0x823e622 "SIGABRT: Process abort signal" allreadyRunning = 1 #3 <signal handler called> No symbol table info available. #4 0xffffe410 in __kernel_vsyscall () No symbol table info available. #5 0xb7ba3ef5 in raise () from /lib/i686/cmov/libc.so.6 No symbol table info available. #6 0xb7ba5871 in abort () from /lib/i686/cmov/libc.so.6 No symbol table info available. #7 0xb7b9d0ee in __assert_fail () from /lib/i686/cmov/libc.so.6 No symbol table info available. #8 0x0818cc5c in electronicDamage (psTarget=0xc847d40, damage=1, attackPlayer=0 '\0') at structure.c:6102 psStructure = (STRUCTURE *) 0xc847d40 psDroid = (DROID *) 0x51eb851f bCompleted = 0 pos = {x = 903, y = 4096, z = 904} i = 0 __FUNCTION__ = "electronicDamage" __PRETTY_FUNCTION__ = "electronicDamage" #9 0x0817858b in proj_ImpactFunc (psObj=0xae409448) at projectile.c:1361 psStats = (WEAPON_STATS *) 0xb95f3b8 i = 2479 iAudioImpactID = 1013 psCurrD = (DROID *) 0x19f psNextD = (DROID *) 0x6aa psCurrS = (STRUCTURE *) 0xb95f3b8 psNextS = (STRUCTURE *) 0x38a psCurrF = (FEATURE *) 0xfffffbdd psNextF = (FEATURE *) 0x1b3 dice = 4294967223 tarX0 = 1013 tarY0 = 0 tarX1 = -1079827464 tarY1 = 135772986 radCubed = -1371516440 xDiff = 64513 yDiff = 960 relativeDamage = 2.80259693e-44 position = {x = 743, y = 393, z = 1860} scatter = {x = 0, y = 0, z = 0} damage = 210022224 tarZ0 = 0 tarZ1 = 1716 zDiff = 0 facing = EXPLOSION_TYPE_SPECIFIED imd = (iIMDShape *) 0xb6fbf00 impactSide = HIT_SIDE_FRONT __PRETTY_FUNCTION__ = "proj_ImpactFunc" __FUNCTION__ = "proj_ImpactFunc" #10 0x08179f09 in proj_Update (psObj=0xae409448) at projectile.c:1712 __PRETTY_FUNCTION__ = "proj_Update" #11 0x08179f33 in proj_UpdateAll () at projectile.c:1731 psObj = (PROJECTILE *) 0xae409448 psPrev = (PROJECTILE *) 0x7 #12 0x080c932a in gameLoop () at loop.c:409 psCurr = (DROID *) 0x0 psNext = (DROID *) 0x0 psCBuilding = (STRUCTURE *) 0x0 psNBuilding = (STRUCTURE *) 0x0 psCFeat = (FEATURE *) 0xb7eddebb psNFeat = (FEATURE *) 0xb7f08838 i = 8 widgval = 0 quitting = 0 intRetVal = INT_NONE clearMode = 3 __FUNCTION__ = "gameLoop" __PRETTY_FUNCTION__ = "gameLoop" #13 0x080cae4f in runGameLoop () at main.c:655 No locals. #14 0x080cb1e1 in mainLoop () at main.c:828 event = {type = 4 '\004', active = {type = 4 '\004', gain = 0 '\0', state = 0 '\0'}, key = {type = 4 '\004', which = 0 '\0', state = 0 '\0', keysym = { scancode = 111 'o', sym = 65536, mod = KMOD_NONE, unicode = 0}}, motion = {type = 4 '\004', which = 0 '\0', state = 0 '\0', x = 367, y = 335, xrel = 0, yrel = 1}, button = {type = 4 '\004', which = 0 '\0', button = 0 '\0', state = 0 '\0', x = 367, y = 335}, jaxis = {type = 4 '\004', which = 0 '\0', axis = 0 '\0', value = 367}, jball = { type = 4 '\004', which = 0 '\0', ball = 0 '\0', xrel = 367, yrel = 335}, jhat = {type = 4 '\004', which = 0 '\0', hat = 0 '\0', value = 0 '\0'}, jbutton = {type = 4 '\004', which = 0 '\0', button = 0 '\0', state = 0 '\0'}, resize = {type = 4 '\004', w = 21954927, h = 65536}, expose = {type = 4 '\004'}, quit = {type = 4 '\004'}, user = { type = 4 '\004', code = 21954927, data1 = 0x10000, data2 = 0x0}, syswm = {type = 4 '\004', msg = 0x14f016f}} #15 0x080cb5a2 in main (argc=1, argv=0xbfa325e4) at main.c:965 No locals. (gdb) The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal] Detaching from program: /usr/games/warzone2100, process 8913 _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?11501> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev