bugGlobulation 2 - Bugs: bug #32292, crash in tutorial


bug #32292: crash in tutorial

Submitter:  None
Submitted:  Sat 29 Jan 2011 04:33:34 PM UTC
Severity:  3 - Normal Status:  None
Assigned to:  reportingsjr Open/Closed:  Open
Release:  0.9.4 (Beta 4) Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup

Jump to the original submission

Mon 26 Sep 2011 05:43:30 PM UTC, comment #9: 

sorry for spamming, but wanted to add one note to my previus "anonymous" comment, and since I dont have account here I cant edit:
This happens in both windows and Linux!
I have tried in:

  • Windows 7
  • Ubuntu 11.04 (running in virtualbox) (glob installed with apt-get)
  • Windows-version running in Wine 1.2.* under Ubuntu 11.04
  • Linux Mint 11 (running native, no virtualization)

Same issue! In Linux it just crash with "Segmention Fault (Core dumped)".
In windows it say: "Building.cpp: Line 2848: Expression: (*it)->targetBuilding==this".

I hope this helps!
Sorry for the "unprofessional" bug-report.
If you want me to try some things or change some things I am all up for it, my mail:
a n d e r s s o n 8 2 ( a ) g m a i l (dot) c o m

// Johan

Mon 26 Sep 2011 05:33:45 PM UTC, comment #8: 

I have random crashes every time I try to play this game. I have a save-file where the game works for ~10secunds, then it crash.
Same crash appears in the tutorial stage 4, and it happens only after I have sent Warriors to an enemy base.

Havent checked the code myself, but I am willing to send the savefiles to anyone if it may help you in solving this issue.

(file #24028)

Thu 17 Mar 2011 07:31:43 PM UTC, comment #7: 

Yep, that was what I was asking for.  Oh well.  I just have to dig around in the source for a long time to fix this one.  Hopefully it will be fixed within a day or two!  Thank you for the quick response. :)

Jon Neal <reportingsjr>
Group Member
Thu 17 Mar 2011 02:15:48 PM UTC, comment #6: 

I looked at my ~/.glob2/ directory, but unfortunately both logs/ and beta4/gamelog/ are empty. Or did you mean something else by the log? (If you meant output of the binary, it was just a sudden "Segmentation fault" AFAIR)

Lukasz D. <zaroth>
Thu 17 Mar 2011 02:04:23 PM UTC, comment #5: 

It looks like one of the buildings failed to load to me.  Still new to the code base so I'm learning, but from what I've seen the segfault is due to issues with the game thinking there is a building, but the building being NULL.  Is there any chance I could get your glob2 log from around when this happened Lukasz, or is that long gone?

Jon Neal <reportingsjr>
Group Member
Mon 28 Feb 2011 10:57:44 AM UTC, comment #4: 

Turns out I didn't attach it last time, since it had more than 512K. Hopefully the savegame will attach now...

(file #22806)

Lukasz D. <zaroth>
Mon 28 Feb 2011 10:55:06 AM UTC, comment #3: 

After trying to recover from mentioned crash, a segfault occurs, just as mentioned. Savegame attached.

Lukasz D. <zaroth>
Mon 28 Feb 2011 10:51:37 AM UTC, comment #2: 

Mission 4, got this assertion fail while trying to destroy racetrack in enemy base:

glob2: src/Game.cpp:2292: void Game::drawMapGroundBuildings(int, int, int, int, int, int, int, int, int, Uint32, std::set<Building*, std::less<Building*>, std::allocator<Building*> >*): Assertion `building' failed.

May or may not be the same bug.

Lukasz D. <zaroth>
Sat 29 Jan 2011 04:46:59 PM UTC, comment #1: 

segmentation fault
happens each time i reload that autosave

josef radinger <cheese>
Sat 29 Jan 2011 04:33:34 PM UTC, original submission:  

dont know why, but glob2 crashes in the tutorial.



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

Attach Files:

Attached Files
file #24028:  Playground.game added by None (678KiB - application/octet-stream - Save-file that will make the game crash. )
file #22806:  Auto_save.game.gz added by zaroth (77KiB - application/gzip)
file #22558:  Tutorial_Campaign.txt added by None (1KiB - text/plain)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by reportingsjr (Posted a comment)
  • -email is unavailable- added by zaroth (Posted a comment)
  • -email is unavailable- added by cheese (Posted a comment)
  • -email is unavailable- added by cheese

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-09-26 None Attached File- Added Playground.game, #24028
    2011-03-17 reportingsjr Assigned toNone reportingsjr
    2011-02-28 zaroth Attached File- Added Auto_save.game.gz, #22806
    2011-01-29 cheese Carbon-Copy- Added cheese
    2011-01-29 None Attached File- Added Tutorial_Campaign.txt, #22558

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code