bugWarzone 2100 Project - Bugs: bug #11446, multiplayer crash (assert) on...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #11446: multiplayer crash (assert) on wheel level

Submitted by:  Paul Wise <pabs>
Submitted on:  Sun 06 Apr 2008 04:05:32 PM UTC  
 
Category: Engine: NetplaySeverity: Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: Per I. Mathisen <per>Open/Closed: Closed
Release: 2.1_beta2Operating System: GNU/Linux
Planned Release: None

Sun 04 May 2008 09:02:35 PM UTC, SVN revision 4934:

2.1: When upgrading a structure module, close all open stats windows.
This fixes a long standing widget assert, and hopefully fixes
bugs #9336: segfault, widget.c line 867 r1510 and bug #11446:
multiplayer crash (assert) on wheel level.

(Browse SVN revision 4934)

Per I. Mathisen <per>
Project AdministratorIn charge of this item.
Sun 04 May 2008 08:54:15 PM UTC, SVN revision 4932:

When upgrading a structure module, close all open stats windows.
This fixes a long standing widget assert, and hopefully fixes
bugs #9336: segfault, widget.c line 867 r1510 and bug #11446:
multiplayer crash (assert) on wheel level.

(Browse SVN revision 4932)

Per I. Mathisen <per>
Project AdministratorIn charge of this item.
Sun 06 Apr 2008 04:05:32 PM UTC, original submission:

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: Sun Apr 6 22:53:01 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:intGetObject: invalid button ID
Log message 2:Assert in Warzone: hci.c:5245 : intGetObject (( (SDWORD)id - IDOBJ_OBJSTART >= 0 ) && ( (SDWORD)id - IDOBJ_OBJSTART < numObjects )), last script event: '14 (CALL_STRUCTBUILT)'

GLIBC raw backtrace:
warzone2100[0x81dd904]
[0xffffe440]
/lib/i686/cmov/libc.so.6(abort+0x101)[0xb7b1f871]
/lib/i686/cmov/libc.so.6(__assert_fail+0xee)[0xb7b170ee]
warzone2100[0x80adc65]
warzone2100[0x80ade04]
warzone2100[0x80aa6a2]
warzone2100[0x80811d3]
warzone2100[0x805e9a4]
warzone2100[0x807f29b]
warzone2100[0x80c8f35]
warzone2100[0x80cae4f]
warzone2100[0x80cb1e1]
warzone2100[0x80cb5a2]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7b09450]
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 29014
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 0xb77026d0 (LWP 29014)]
[New Thread 0xb7250b90 (LWP 29017)]
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 0xb7b8836b in waitpid () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2 0x081ddf53 in posixExceptionHandler (signum=6, siginfo=0xbfa97a5c, sigcontext=0xbfa97adc) at exceptionhandler.c:531
btBuffer = {0x81dd904, 0xffffe440, 0xb7b1f871, 0xb7b170ee, 0x80adc65, 0x80ade04, 0x80aa6a2, 0x80811d3, 0x805e9a4, 0x807f29b, 0x80c8f35, 0x80cae4f, 0x80cb1e1, 0x80cb5a2,
0xb7b09450, 0x804db71, 0x0, 0x0, 0x0, 0x0}
btSize = 16
pid = 31385
gdbPipe = {9, 10}
dumpFile = 8
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 0xb7b1def5 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#6 0xb7b1f871 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#7 0xb7b170ee in __assert_fail () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#8 0x080adc65 in intGetObject (id=3017) at hci.c:5243
psObj = (BASE_OBJECT *) 0x118
_FUNCTION_ = "intGetObject"
_PRETTY_FUNCTION_ = "intGetObject"
#9 0x080ade04 in intSetStats (id=3115, psStats=0x0) at hci.c:5315
sFormInit = {formID = 3500, majorID = 3, minorID = 0, id = 3115, style = 36, x = 2, y = 0, width = 60, height = 46, pDisplay = 0, pCallback = 0, pUserData = 0x0,
UserData = 0, disableChildren = 0, majorPos = 0, minorPos = 0, majorSize = 0, minorSize = 0, majorOffset = 0, minorOffset = 0, tabVertOffset = 0, tabHorzOffset = 0,
tabMajorThickness = 0, tabMinorThickness = 0, tabMajorGap = 0, tabMinorGap = 0, numStats = 0, numButtons = 0, numMajor = 0, aNumMinors = {0 <repeats 20 times>},
TabMultiplier = 0, pTip = 0x0, apMajorTips = {0x0 <repeats 20 times>}, apMinorTips = {{0x0, 0x0, 0x0, 0x0, 0x0} <repeats 20 times>}, pTabDisplay = 0, pFormDisplay = 0}
sBarInit = {formID = 3115, majorID = 0, minorID = 0, id = 3215, style = 1, x = 3, y = 36, width = 52, height = 4, pDisplay = 0,
pCallback = 0x80b2dbd <intUpdateProgressBar>, pUserData = 0x0, UserData = 0, orientation = 1, size = 0, minorSize = 0, iRange = 1000, sCol = {byte = {r = 255 'ÿ', g = 235 'ë',
b = 19 '\023', a = 0 '\0'}, argb = 1305599, vector = "ÿë\023"}, sMinorCol = {byte = {r = 85 'U', g = 0 '\0', b = 0 '\0', a = 0 '\0'}, argb = 85, vector = "U\000\000"},
pTip = 0x0}
sLabInit = {formID = 3114, majorID = 0, minorID = 0, id = 3414, style = 32768, x = 2, y = 2, width = 16, height = 16, pDisplay = 0, pCallback = 0, pUserData = 0x0,
UserData = 0, pText = 0x81faf90 "10", pTip = 0x0, FontID = 0}
butPerForm = 5
butPos = 0
BufferID = 135064667
psObj = (BASE_OBJECT *) 0xb03afd20
_FUNCTION_ = "intSetStats"
_PRETTY_FUNCTION_ = "intSetStats"
#10 0x080aa6a2 in intBuildFinished (psDroid=0xa2b4160) at hci.c:3393
droidID = 15
psCurr = (DROID *) 0xa2b4160
_FUNCTION_ = "intBuildFinished"
_PRETTY_FUNCTION_ = "intBuildFinished"
#11 0x080811d3 in droidUpdateBuild (psDroid=0xa2b4160) at droid.c:1305
pointsToAdd = 15
constructPoints = 132
psStruct = (STRUCTURE *) 0xa359dc0
_PRETTY_FUNCTION_ = "droidUpdateBuild"
_FUNCTION_ = "droidUpdateBuild"
#12 0x0805e9a4 in actionUpdateDroid (psDroid=0xa2b4160) at action.c:2017
droidX = 5
droidY = 16994
tlx = 135735637
tly = 0
psStruct = (STRUCTURE *) 0x9f
psStructStats = (STRUCTURE_STATS *) 0xbfa98428
psTarget = (BASE_OBJECT *) 0xa359dc0
psWeapStats = (WEAPON_STATS *) 0x0
targetDir = 170606944
dirDiff = 2
pbx = 134807232
pby = -1079409720
xdiff = -1079409648
ydiff = 0
rangeSq = 1073741824
state = 800
psPropStats = (PROPULSION_STATS *) 0x9d80a80
bChaseBloke = 1
bInvert = 0
psNextWreck = (FEATURE *) 0xf3
actionUpdateFunc = (BOOL (*)(DROID *)) 0
moveAction = 170673448
bDoHelpBuild = 58657919
psTile = (MAPTILE *) 0x8
i = 0 '\0'
num_weapons = 2 '\002'
psActionTarget = (BASE_OBJECT *) 0xbfa98428
psTargets = {0xbfa983b0, 0xbfa983ac, 0xbfa983a8}
j = 8 '\b'
iVisible = 1 '\001'
bHasTarget = 16
_PRETTY_FUNCTION_ = "actionUpdateDroid"
_FUNCTION_ = "actionUpdateDroid"
#13 0x0807f29b in droidUpdate (psDroid=0xa2b4160) at droid.c:935
dv = {x = 18792, y = 508, z = 1850}
percentDamage = 0
emissionInterval = 2800
psBeingTargetted = (BASE_OBJECT *) 0x0
damageToDo = -1079409512
_PRETTY_FUNCTION_ = "droidUpdate"
#14 0x080c8f35 in gameLoop () at loop.c:282
psCurr = (DROID *) 0xa2b4160
psNext = (DROID *) 0xa2c2320
psCBuilding = (STRUCTURE *) 0x0
psNBuilding = (STRUCTURE *) 0x0
psCFeat = (FEATURE *) 0xb7e57ebb
psNFeat = (FEATURE *) 0xb7e82838
i = 3
widgval = 0
quitting = 0
intRetVal = INT_INTERCEPT
clearMode = 3
_FUNCTION_ = "gameLoop"
_PRETTY_FUNCTION_ = "gameLoop"
#15 0x080cae4f in runGameLoop () at main.c:655
No locals.
#16 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 = 92 '\\', sym = 65537, mod = KMOD_NONE, unicode = 0}}, motion = {type = 4 '\004', which = 0 '\0', state = 0 '\0', x = 92, y = 280, xrel = 1, yrel = 1}, button = {
type = 4 '\004', which = 0 '\0', button = 0 '\0', state = 0 '\0', x = 92, y = 280}, jaxis = {type = 4 '\004', which = 0 '\0', axis = 0 '\0', value = 92}, jball = {
type = 4 '\004', which = 0 '\0', ball = 0 '\0', xrel = 92, yrel = 280}, 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 = 18350172, h = 65537}, expose = {type = 4 '\004'}, quit = {type = 4 '\004'}, user = {
type = 4 '\004', code = 18350172, data1 = 0x10001, data2 = 0x0}, syswm = {type = 4 '\004', msg = 0x118005c}}
#17 0x080cb5a2 in main (argc=2, argv=0xbfa98644) 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 29014

Paul Wise <pabs>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by per (Updated the item)
  • -unavailable- added by pabs (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 04 May 2008 09:01:03 PM UTCperStatusNone=>Fixed
      Assigned toNone=>per
      Open/ClosedOpen=>Closed
    Thu 01 May 2008 11:29:54 PM UTCdevurandomDependencies-=>bugs #11617 is dependent
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup