bugWarzone 2100 Project - Bugs: bug #11960, assertion in form.c

 
 
Show feedback again

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

bug #11960: assertion in form.c

Submitted by:  Paul Wise <pabs>
Submitted on:  Fri 04 Jul 2008 11:17:55 AM UTC  
 
Category: Engine: GUISeverity: Normal
Priority: 5 - NormalStatus: Need Info
Assigned to: Per I. Mathisen <per>Open/Closed: Open
Release: svn/branches/2.1Operating System: GNU/Linux
Planned Release: None

Sun 06 Jul 2008 11:42:56 AM UTC, comment #1:

Unfortunately, such asserts in the GUI code won't tell me where the problem originated. Any way to reproduce it? Can you remember exactly what you did before it crashed?

Per I. Mathisen <per>
Project AdministratorIn charge of this item.
Fri 04 Jul 2008 11:17:55 AM UTC, original submission:

Playing a single player skirmish.

Program: /home/pabs/opt/bin/warzone2100(warzone2100)
Version: Version 2.1 branch r5351 - Built Jul 4 2008 - DEBUG
Distributor:
Compiled on: Jul 4 2008 18:35:30
Compiled by: GCC 4.3.1
Executed on: Fri Jul 4 18:45:24 2008

Operating system: Linux
Node name: chianamo
Release: 2.6.25-2-686
Version: #1 SMP Fri Jun 27 03:23:20 UTC 2008
Machine: i686

Pointers: 32bit

Dump caused by signal: SIGABRT: Process abort signal

Log message 1: [widgSetTabs] widgSetTabs id=3500: invalid major id 1 >= max 1
Log message 2: [widgSetTabs] Assert in Warzone: form.c:616 (major < psForm->numMajor), last script event: '15 (CALL_DROID_DESTROYED)'

GLIBC raw backtrace:
warzone2100[0x8215159]
[0xb7f7e40c]
/lib/i686/cmov/libc.so.6(abort+0x188)[0xb7888fb8]
/lib/i686/cmov/libc.so.6(__assert_fail+0xee)[0xb788056e]
warzone2100[0x81a1fd1]
warzone2100[0x80a5cbb]
warzone2100[0x80a6a51]
warzone2100[0x80c9d62]
warzone2100[0x80cc28a]
warzone2100[0x80cc67e]
warzone2100[0x80ccadb]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7872455]
warzone2100(ftell+0x39)[0x804e801]

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/pabs/opt/bin/warzone2100, process 12530
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.1...Reading symbols from /usr/lib/debug/usr/lib/libopenal.so.1.3.253...done.
done.
Loaded symbols for /usr/lib/libopenal.so.1
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/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
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 /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 0xb744c9c0 (LWP 12530)]
[New Thread 0xb0dfcb90 (LWP 12535)]
[New Thread 0xb6f83b90 (LWP 12534)]
done.
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/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.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 /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/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/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/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 /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /lib/i686/cmov/librt.so.1...Reading symbols from /usr/lib/debug/lib/i686/cmov/librt-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/librt.so.1
Reading symbols from /lib/i686/cmov/libnss_compat.so.2...Reading symbols from /usr/lib/debug/lib/i686/cmov/libnss_compat-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/i686/cmov/libnsl.so.1...Reading symbols from /usr/lib/debug/lib/i686/cmov/libnsl-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libnsl.so.1
Reading symbols from /lib/i686/cmov/libnss_nis.so.2...Reading symbols from /usr/lib/debug/lib/i686/cmov/libnss_nis-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libnss_nis.so.2
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 /usr/lib/alsa-lib/libasound_module_rate_speexrate.so...done.
Loaded symbols for /usr/lib/alsa-lib/libasound_module_rate_speexrate.so
0xb7f7e424 in __kernel_vsyscall ()
(gdb) #0 0xb7f7e424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb78f75eb in waitpid () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2 0x082153a6 in posixExceptionHandler (signum=6, siginfo=0xbfd9909c, sigcontext=0xbfd9911c) at exceptionhandler.c:469
btBuffer = {0x8215159, 0xb7f7e40c, 0xb7888fb8, 0xb788056e, 0x81a1fd1, 0x80a5cbb, 0x80a6a51, 0x80c9d62, 0x80cc28a, 0x80cc67e, 0x80ccadb, 0xb7872455, 0x804e801, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0}
btSize = 13
pid = 13279
gdbPipe = {11, 12}
dumpFile = 10
signal = 0x827d3ae "SIGABRT: Process abort signal"
allreadyRunning = 1
#3 <signal handler called>
No symbol table info available.
#4 0xb7f7e424 in __kernel_vsyscall ()
No symbol table info available.
#5 0xb78875e0 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#6 0xb7888fb8 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#7 0xb788056e in __assert_fail () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#8 0x081a1fd1 in widgSetTabs (psScreen=0xc12ef58, id=3500, major=1, minor=0) at form.c:615
psForm = (W_TABFORM *) 0xc278668
_FUNCTION_ = "widgSetTabs"
_PRETTY_FUNCTION_ = "widgSetTabs"
#9 0x080a5cbb in intDoScreenRefresh () at hci.c:883
StatsWasUp = 1
OrderWasUp = 0
objMajor = 1
objMinor = 0
statMajor = 3
statMinor = 0
psFlag = (FLAG_POSITION *) 0x0
#10 0x080a6a51 in intRunWidgets () at hci.c:1585
retID = 1168343040
retCode = 1173118976
quitting = 0
structX = 1143767040
structY = 4114
structX2 = 1278760789
structY2 = 1171864660
objMajor = 49113
objMinor = 38564
psStructure = (STRUCTURE *) 0xa3e6c08
psDroid = (DROID *) 0x0
i = 0
widgOverID = 0
_FUNCTION_ = "intRunWidgets"
_PRETTY_FUNCTION_ = "intRunWidgets"
#11 0x080c9d62 in gameLoop () at loop.c:198
psCurr = (DROID *) 0xb78e7006
psNext = (DROID *) 0xb7eb61be
psCBuilding = (STRUCTURE *) 0xad836
psNBuilding = (STRUCTURE *) 0x258
psCFeat = (FEATURE *) 0xb7ee6ebb
psNFeat = (FEATURE *) 0xb7f11838
i = 3086030904
widgval = 0
quitting = 0
intRetVal = 3086030904
clearMode = 4
_FUNCTION_ = "gameLoop"
_PRETTY_FUNCTION_ = "gameLoop"
#12 0x080cc28a in runGameLoop () at main.c:643
_FUNCTION_ = "runGameLoop"
#13 0x080cc67e in mainLoop () at main.c:817
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 = 96 '`',
sym = 65536, mod = KMOD_NONE, unicode = 0}}, motion = {type = 4 '\004', which = 0 '\0', state = 0 '\0', x = 96, y = 275, xrel = 0, yrel = 1}, button = {type = 4 '\004',
which = 0 '\0', button = 0 '\0', state = 0 '\0', x = 96, y = 275}, jaxis = {type = 4 '\004', which = 0 '\0', axis = 0 '\0', value = 96}, jball = {type = 4 '\004',
which = 0 '\0', ball = 0 '\0', xrel = 96, yrel = 275}, 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 = 18022496, h = 65536}, expose = {type = 4 '\004'}, quit = {type = 4 '\004'}, user = {type = 4 '\004',
code = 18022496, data1 = 0x10000, data2 = 0x0}, syswm = {type = 4 '\004', msg = 0x1130060}}
#14 0x080ccadb in main (argc=1, argv=0xbfd998a4) at main.c:961
_FUNCTION_ = "main"
(gdb) The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /home/pabs/opt/bin/warzone2100, process 12530

Paul Wise <pabs>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by per (Posted a comment)
  • -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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Jul 2008 11:42:56 AM UTCperStatusNone=>Need Info
      Assigned toNone=>per
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup