bugGlobulation 2 - Bugs: bug #25473, crashes at start of tutorial...

 
 

bug #25473: crashes at start of tutorial mission 3

Submitted by:  christian mock <cmock>
Submitted on:  Mon 02 Feb 2009 11:51:58 PM UTC  
 
Severity: 3 - NormalStatus: Duplicate
Assigned to: NoneOpen/Closed: Closed
Release: 0.9.4 (Beta 4)Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Thu 07 May 2009 01:29:59 PM UTC, comment #8:

I can confirm this bug.
With Windows version (running on Vista).

Anonymous
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

Leo Wandersleb <giszmo>
Project Member
Sat 11 Apr 2009 02:40:37 PM UTC, comment #6:

See also bug 25792 for more people reproducing this.

Anonymous
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.

christian mock <cmock>
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.

Nicki Messerschmidt <alienn>
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

Ronny Standtke <ronnystandtke>
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

christian mock <cmock>
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.

Bradley Arsenault <genixpro>
Project Administrator
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.

christian mock <cmock>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by giszmo (Posted a comment)
  • -unavailable- added by alienn (Posted a comment)
  • -unavailable- added by ronnystandtke (Posted a comment)
  • -unavailable- added by genixpro (Posted a comment)
  • -unavailable- added by cmock (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
    Fri 01 May 2009 04:57:51 PM UTCgiszmoStatusFixed=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #25990
    Fri 01 May 2009 04:57:11 PM UTCgiszmoStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1