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: Kai Antweiler
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 12:47:19 +0200
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.20 (linux)

> 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?

recompile glob2:
./configure CXXFLAGS="-O2 -g"
make clean
make

Then run the game again.
inside gdb: you can use the command "frame 4" to get to know more
about ConfigVector<BuildingType>::get ()
With "list" you can look into the soure code.
With "print" you can get values of variables.


Please file bugs in our tracker, otherwise we will forget about some
bugs.  If the autosave is small enough you can upload it to the tracker.
Your mails are fine.  But we get so many bug reports right now that I
fear we forget some, if they are only listed in the mailing list.

Just copy and paste.  Create several bug reports - one for each issue:
http://savannah.nongnu.org/bugs/?group=glob2


I can confirm what you said in the other thread about incompatibility
of maps created in 0.8.21 and 0.8.22 .

The new bad memory management is serious too.

I have found another bug.  I will put this into the tracker.

I tried to load a save game:

0.8.22-rc:
game crashed:
glob2: Unit.cpp:962: void Unit::handleDisplacement(): Assertion 
`displacement!=DIS_RANDOM' failed.

0.8.21:
No crash, but game wasn't loaded:
Map:: Failed to find signature at the end of Map.


The games were saved sometime in february.
New games work.

-- 
Kai Antweiler




reply via email to

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