glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] glob2 0.8.22 crash: ConfigVector<T>::get(size_t) [with


From: Joe Wells
Subject: Re: [glob2-devel] glob2 0.8.22 crash: ConfigVector<T>::get(size_t) [with T = BuildingType]: Assertion `false' failed.
Date: Fri, 06 Apr 2007 06:17:50 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Joe Wells <address@hidden> writes:

> "Bradley Arsenault" <address@hidden> writes:
>
>> On 4/5/07, Joe Wells <address@hidden> wrote:
>>> I just had my glob2 version 0.8.22 (compiled from the tar ball) crash
>>> with this message:
>>> 
>>>   ConfigVector::get(4294967295) : warning : id is not valid, returning 
>>> default
>>>   glob2: ConfigFiles.h:181: T* ConfigVector<T>::get(size_t) [with T = 
>>> BuildingType]: Assertion `false' failed.
>>> 
>>> The last thing I did was to just press right mouse to try to switch to
>>> the statistics screen to count my number of level 2 warriors (was in a
>>> battle).  I don't know if that is related.
>>> 
>>> I had to delete the core file immediately because it made my disk full
>>> and other things started to crash.  (The core file was truncated
>>> anyway because it filled the disk.)
>>> 
>>> I have my log files and I assume the last autosave file is valid
>>> (haven't checked that yet.
>>> 
>>> Tell me what other information you want.
>>
>> ConfigVector is only tapped on the initialization of glob2, right when
>> its first loading. The code should never be run anytime after glob2
>> has hit the main menu. I definitly need a backtrace from gdb to clear
>> this bug out.
>
> Okay.  I can try running glob2 with another disk in the future so if I
> get any more crashes I can get a proper core dump.

Okay, I've done this.  I ran starting from the autosave file, and
within about two minutes got the same crash (i.e., the exact same
crash error message, character for character, including the same id
number 4294967295).  A transcript of my gdb session is below.  What
should I be doing to get a backtrace that shows the arguments to
method calls?

I'm guessing the bug is related to my repairing a battle-damaged
building.

-- 
Joe

======================================================================
~/<2>glob2-0.8.22/src > gdb ./glob2 /mnt/foo/jbw/core.7597
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library 
"/lib/tls/i686/cmov/libthread_db.so.1".

Core was generated by `/home/jbw/Desktop/software/glob2-0.8.22/src/glob2 
-s1344x736'.
Program terminated with signal 6, Aborted.

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libGLU.so.1...done.
Loaded symbols for /usr/lib/libGLU.so.1
Reading symbols from /usr/lib/libGL.so.1...done.
Loaded symbols for /usr/lib/libGL.so.1
Reading symbols from /usr/lib/libspeex.so.1...done.
Loaded symbols for /usr/lib/libspeex.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done.
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /usr/lib/libSDL_image-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL_image-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/libSDL_ttf-2.0.so.0...done.
Loaded symbols for /usr/lib/libSDL_ttf-2.0.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/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/tls/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/tls/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/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/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 /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 /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libdrm.so.2...done.
Loaded symbols for /usr/lib/libdrm.so.2
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libtiff.so.4...done.
Loaded symbols for /usr/lib/libtiff.so.4
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libogg.so.0...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1
Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
#0  0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7b5c9a1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7b5e2b9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7b55f51 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4  0x08058575 in ConfigVector<BuildingType>::get ()
#5  0x080b566c in Building::removeForbiddenZoneFromUpgradeArea ()
#6  0x080b8754 in Building::updateBuildingSite ()
#7  0x080bad3a in Building::update ()
#8  0x081cdcb3 in Unit::handleDisplacement ()
#9  0x081d4e04 in Unit::syncStep ()
#10 0x081c2027 in Team::syncStep ()
#11 0x080e4ab2 in Game::syncStep ()
#12 0x080ddbda in Engine::run ()
#13 0x0810f949 in Glob2::run ()
#14 0x081111d5 in main ()
(gdb)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]