bugWarzone 2100 Project - Bugs: bug #12051, assert in mapgrid.c svn r5568 (a...

 
 
Show feedback again

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

bug #12051: assert in mapgrid.c svn r5568 (a bit older than the tip)

Submitted by:  Paul Wise <pabs>
Submitted on:  Sun 20 Jul 2008 07:45:46 AM UTC  
 
Category: Engine: NetplaySeverity: Important
Priority: 5 - NormalStatus: Confirmed
Assigned to: Giel van Schijndel <muggenhor>Open/Closed: Open
Release: svn/branches/2.1Operating System: GNU/Linux
Planned Release: None

Mon 28 Jul 2008 02:19:18 PM UTC, comment #2:

> Here is a way to reproduce the bug. Start campaign as normal, then load the attached savegame.


Doesn't work for me...

Giel van Schijndel <muggenhor>
Project MemberIn charge of this item.
Mon 28 Jul 2008 12:48:54 PM UTC, comment #1:

Here is a way to reproduce the bug. Start campaign as normal, then load the attached savegame.

(file #4637)

Per I. Mathisen <per>
Project Administrator
Sun 20 Jul 2008 07:45:46 AM UTC, original submission:

Was playing my brother over the lan. He was using Win32 beta3 and I was using Linux svn r5568 because the latest svn 2.1 branch is incompatible with beta3. If this bug has been fixed later in the 2.1 branch, please close this bug. I also have the core file for it.

Program: /home/pabs/opt/bin/warzone2100(warzone2100)
Version: Version 2.1 branch r5568 - Built Jul 19 2008 - DEBUG
Distributor:
Compiled on: Jul 19 2008 12:24:34
Compiled by: GCC 4.3.1
Executed on: Sun Jul 20 12:18:53 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: [gridRemoveObject] Assert in Warzone: mapgrid.c:235 (false), last script event: 'N/A'
Log message 2: [gridRemoveObject] gridRemoveObject: grid out of sync

GLIBC raw backtrace:
warzone2100[0x8214305]
[0xb7f3540c]
/lib/i686/cmov/libc.so.6(abort+0x188)[0xb783efb8]
/lib/i686/cmov/libc.so.6(__assert_fail+0xee)[0xb783656e]
warzone2100[0x80d0517]
warzone2100[0x807f00b]
warzone2100[0x807f4bf]
warzone2100[0x807e000]
warzone2100[0x81831c5]
warzone2100[0x8180cae]
warzone2100[0x8182494]
warzone2100[0x81824be]
warzone2100[0x80c84c8]
warzone2100[0x80ca43a]
warzone2100[0x80ca82e]
warzone2100[0x80cac8b]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7828455]
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 4701
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.4.272...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 0xb7402a00 (LWP 4701)]
[New Thread 0xafa28b90 (LWP 4709)]
[New Thread 0xb6f30b90 (LWP 4708)]
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
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
0xb7f35424 in __kernel_vsyscall ()
(gdb) #0 0xb7f35424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb78ad5eb in waitpid () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2 0x08214552 in posixExceptionHandler (signum=6, siginfo=0xbfe5018c,
sigcontext=0xbfe5020c) at exceptionhandler.c:469
btBuffer = {0x8214305, 0xb7f3540c, 0xb783efb8, 0xb783656e, 0x80d0517,
0x807f00b, 0x807f4bf, 0x807e000, 0x81831c5, 0x8180cae, 0x8182494,
0x81824be, 0x80c84c8, 0x80ca43a, 0x80ca82e, 0x80cac8b, 0xb7828455,
0x804e801, 0x0, 0x0}
btSize = 18
pid = 10767
gdbPipe = {12, 13}
dumpFile = 10
signal = 0x827bece "SIGABRT: Process abort signal"
allreadyRunning = 1
#3 <signal handler called>
No symbol table info available.
#4 0xb7f35424 in __kernel_vsyscall ()
No symbol table info available.
#5 0xb783d5e0 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#6 0xb783efb8 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#7 0xb783656e in __assert_fail () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#8 0x080d0517 in gridRemoveObject (psObj=0xccafd18) at mapgrid.c:235
psCurr = (GRID_ARRAY *) 0xca15600
i = 3
x = 7
y = 0
_FUNCTION_ = "gridRemoveObject"
_PRETTY_FUNCTION_ = "gridRemoveObject"
#9 0x0807f00b in removeDroidBase (psDel=0xccafd18) at droid.c:479
psCurr = (DROID *) 0x82ca3ac
psNext = (DROID *) 0x83a14e0
bRet = 6632
psGroup = (DROID_GROUP *) 0x100
psStruct = (STRUCTURE *) 0x2795
_PRETTY_FUNCTION_ = "removeDroidBase"
_FUNCTION_ = "removeDroidBase"
#10 0x0807f4bf in destroyDroid (psDel=0xccafd18) at droid.c:557
No locals.
#11 0x0807e000 in droidDamage (psDroid=0xccafd18, damage=199, weaponClass=0,
weaponSubClass=1, impactSide=HIT_SIDE_FRONT) at droid.c:210
relativeDamage = -0.0564971752
state = 3219457992
_PRETTY_FUNCTION_ = "droidDamage"
_FUNCTION_ = "droidDamage"
#12 0x081831c5 in objectDamage (psObj=0xccafd18, damage=199, weaponClass=0,
weaponSubClass=1, impactSide=HIT_SIDE_FRONT) at projectile.c:1997
_FUNCTION_ = "objectDamage"
_PRETTY_FUNCTION_ = "objectDamage"
#13 0x08180cae in proj_ImpactFunc (psObj=0xcd89690) at projectile.c:1414
psStats = (WEAPON_STATS *) 0xb9a153c
i = 135859352
iAudioImpactID = 19457
psCurrD = (DROID *) 0x442
psNextD = (DROID *) 0x2952
psCurrS = (STRUCTURE *) 0xb9a054c
psNextS = (STRUCTURE *) 0x321
psCurrF = (FEATURE *) 0x1a1b
psNextF = (FEATURE *) 0x75e
dice = 4294960867
tarX0 = 1827
tarY0 = 0
tarX1 = -1075509064
tarY1 = 135807176
radCubed = 214708384
xDiff = 48617
yDiff = 960
relativeDamage = 0
position = {x = 6628, y = 256, z = 10087}
scatter = {x = 1, y = 0, z = 1}
damage = 199
tarZ0 = 5
tarZ1 = 8019
zDiff = 8
facing = EXPLOSION_TYPE_SPECIFIED
imd = (iIMDShape *) 0xca06518
impactSide = HIT_SIDE_FRONT
_PRETTY_FUNCTION_ = "proj_ImpactFunc"
_FUNCTION_ = "proj_ImpactFunc"
#14 0x08182494 in proj_Update (psObj=0xcd89690) at projectile.c:1718
_PRETTY_FUNCTION_ = "proj_Update"
#15 0x081824be in proj_UpdateAll () at projectile.c:1736
psObj = (PROJECTILE *) 0xcd89690
psPrev = (PROJECTILE *) 0x107
#16 0x080c84c8 in gameLoop () at loop.c:422
psCurr = (DROID *) 0x0
psNext = (DROID *) 0x0
psCBuilding = (STRUCTURE *) 0x0
psNBuilding = (STRUCTURE *) 0x0
psCFeat = (FEATURE *) 0xb7e9cebb
psNFeat = (FEATURE *) 0xb7ec7838
i = 8
widgval = 0
quitting = 0
intRetVal = INT_NONE
clearMode = 4
_FUNCTION_ = "gameLoop"
_PRETTY_FUNCTION_ = "gameLoop"
#17 0x080ca43a in runGameLoop () at main.c:643
_FUNCTION_ = "runGameLoop"
#18 0x080ca82e 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 = 99 'c', sym = 65536, mod = KMOD_NONE, unicode = 0}},
motion = {type = 4 '\004', which = 0 '\0', state = 0 '\0', x = 355,
y = 314, xrel = 0, yrel = 1}, button = {type = 4 '\004', which = 0 '\0',
button = 0 '\0', state = 0 '\0', x = 355, y = 314}, jaxis = {
type = 4 '\004', which = 0 '\0', axis = 0 '\0', value = 355}, jball = {
type = 4 '\004', which = 0 '\0', ball = 0 '\0', xrel = 355, yrel = 314},
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 = 20578659, h = 65536},
expose = {type = 4 '\004'}, quit = {type = 4 '\004'}, user = {
type = 4 '\004', code = 20578659, data1 = 0x10000, data2 = 0x0}, syswm = {
type = 4 '\004', msg = 0x13a0163}}
#19 0x080cac8b in main (argc=1, argv=0xbfe50ab4) 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 4701

Paul Wise <pabs>

 

Attached Files
file #4637:  cam3.tar.gz added by per (194kB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by muggenhor (Posted a comment)
  • -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
    Mon 28 Jul 2008 12:48:54 PM UTCperAttached File-=>Added cam3.tar.gz, #4637
      SeverityNormal=>Important
      StatusNone=>Confirmed
      Assigned toNone=>muggenhor
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup