Thu 07 May 2009 01:29:59 PM UTC, comment #8:
I can confirm this bug.
With Windows version (running on Vista).
|
Fri 01 May 2009 04:57:11 PM UTC, comment #7:
As Christian had a different md5 i assume this is taken care of by solving #25990
leo@nas:~/Desktop/glob2/glob2-0.9.4.1/campaigns$ md5sum tutorial-part3.map
04661a32b9bd2159c37aab3eef3ba172 tutorial-part3.map
|
Sat 11 Apr 2009 02:40:37 PM UTC, comment #6:
See also bug 25792 for more people reproducing this.
|
Tue 24 Mar 2009 08:08:48 PM UTC, comment #5:
I found the changed tutorial-part3.map in hg, tried it out (with 0.9.4) and it fixes the problem for me.
|
Tue 03 Mar 2009 01:19:05 AM UTC, comment #4:
I can confirm this bug to. Today I came accross this project and what I did was the following (under Ubuntu 8.10):
1. apt-get install glob2 glob2-data
2. (as 0.93 was installed): apt-get remove glob2 glob2-data
3. wget http://getdeb.agetta.de/ubuntu/hardy/gl/glob2_0.9.4-1~getdeb1_i386.deb
4. wget http://getdeb.agetta.de/ubuntu/hardy/gl/glob2-data_0.9.4-1~getdeb1_all.deb
5. dpkg -i glob2*.deb
6. run glob2
7. play tutorial 1 and 2
8. crash on load of tutorial 3 with message:
glob2: libgag/src/BinaryStream.cpp:107: virtual std::string GAGCore::BinaryInputStream::readText(const char): Assertion `len < 10241024' failed.
Aborted
Just before the glob2 uses up to 1,6GB memory (very fast).
This system Intel Atom based with 2GB of ram.
I checked that there are no old maps inside of my home directory before submitting this comment.
|
Wed 11 Feb 2009 08:45:10 PM UTC, comment #3:
I can confirm this bug.
I compiled 0.9.4 on Kubuntu-8.10. Here is the console output after the crash:
TextInputStream::readFromTableToString : no entry named versionMinor
TextInputStream::readFromTableToString : no entry named maps.0.CampaignMap.description
TextInputStream::readFromTableToString : no entry named maps.0.CampaignMap.completed
TextInputStream::readFromTableToString : no entry named maps.1.CampaignMap.description
TextInputStream::readFromTableToString : no entry named maps.1.CampaignMap.completed
TextInputStream::readFromTableToString : no entry named maps.2.CampaignMap.description
TextInputStream::readFromTableToString : no entry named maps.2.CampaignMap.completed
TextInputStream::readFromTableToString : no entry named maps.3.CampaignMap.description
TextInputStream::readFromTableToString : no entry named maps.3.CampaignMap.completed
TextInputStream::readFromTableToString : no entry named versionMinor
TextInputStream::readFromTableToString : no entry named maps.0.CampaignMap.description
TextInputStream::readFromTableToString : no entry named maps.0.CampaignMap.completed
TextInputStream::readFromTableToString : no entry named maps.1.CampaignMap.description
TextInputStream::readFromTableToString : no entry named maps.1.CampaignMap.completed
TextInputStream::readFromTableToString : no entry named maps.2.CampaignMap.description
TextInputStream::readFromTableToString : no entry named maps.2.CampaignMap.completed
TextInputStream::readFromTableToString : no entry named maps.3.CampaignMap.description
TextInputStream::readFromTableToString : no entry named maps.3.CampaignMap.completed
StringTable::getString(", -1") : error, no such key.
StringTable::getString(", -1") : error, no such key.
StringTable::getString(", -1") : error, no such key.
glob2: libgag/src/BinaryStream.cpp:107: virtual std::string GAGCore::BinaryInputStream::readText(const char): Assertion `len < 10241024' failed.
Aborted
|
Sun 08 Feb 2009 03:15:44 PM UTC, comment #2:
I just compiled 0.9.4 on another system, after thoroughly cleaning it of all traces of previous versions, and it's exhibiting the same behaviour.
strace shows it is really using the 0.9.4 version of tutorial-part3.map, md5sum of that file is 5b2ea25b087d63b13f0e3f2963a0b5ce
|
Wed 04 Feb 2009 03:19:31 AM UTC, comment #1:
I can not reproduce this bug. This sounds like an older bug, I recall this problem from a while back. It was due to some kind of corruption in the map if I remember correctly. The maps where fixed and they no longer crashed.
However, if you have the tutorial maps in your ~/.glob2/campaigns folder, they will be loaded first. If you still have these maps in that folder, from, perhaps, when you where editing them from an earlier release, then that might be causing the problem.
|
Mon 02 Feb 2009 11:51:58 PM UTC, original submission:
Trying out the new 0.9.4, self-built on debian/lenny, it crashes on me reproduceably at the start of the tutorial campaign's mission #3, "Warriors, Training Camps, and Upgrades"; It crashes right after clicking "Start mission" in the campaign screen.
There's two types of crashes I've seen:
The first is some kind of fast memory leak, glob2 allocates about 1600 MB of RAM and then crashes:
glob2: libgag/src/BinaryStream.cpp:107: virtual std::string GAGCore::BinaryInputStream::readText(const char): Assertion `len < 10241024' failed.
The second is immediately, without the RAM eating:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
I'd be happy to recompile with debugging and provide gdb backtraces or whatever you need, if you tell me how -- I'm not familiar with Sconstruct, but I know my way around in gdb.
|