bugGlobulation 2 - Bugs: bug #25731, Game Crash (Assertion...

 
 

bug #25731: Game Crash (Assertion `(*it)->targetBuilding==this' failed)

Submitter:  Sathallrin <sathallrin>
Submitted:  Sat 28 Feb 2009 10:56:08 PM UTC
Votes: 2
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  0.9.4 (Beta 4) Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 03 Nov 2011 04:14:14 PM UTC, comment #7: 

http://hg.globulation2.org/glob2-new/rev/893e475bf61e should have fixed that bug. closing.

Leo Wandersleb <giszmo>
Group Member
Tue 17 Aug 2010 04:43:50 PM UTC, comment #6: 

I have the same issue. I am running version 0.9.4.4 on Ubuntu 10.04.

The problem does not occur if I do not build markets. I have played greater than 25 games with no crashes where I do not build markets.

If I build a market then the game seems to always crash - usually within 10 minutes of building the market.

The error I have is:
glob2: src/Building.cpp:2848: void Building::integrity(): Assertion `(*it)->targetBuilding==this' failed.
Aborted

There are no log files in ~/.glob2/logs

Anonymous
Sun 08 Nov 2009 10:56:46 PM UTC, comment #5: 

forgot to mention what my patch applies to

$ hg id
e356f0430f00+ (beta4-rc) tip

Leo Wandersleb <giszmo>
Group Member
Sun 08 Nov 2009 10:51:02 PM UTC, comment #4: 

with the patch provided, the game does not crash. actually the targetBuilding can be uninitialized somehow so maybe the call to the constructor prior to loading the save game is part of the solution. also i changed calls to targetBuilding=xy to a setter with some sanity checks.

i'm not pushing this as the markets are still pretty broken and i don't know if this is due to my "fix". problem is that "market view on" causes my warriors to ignore his warriors but has not the desired effect of his warriors taking my fruit.

(file #19016)

Leo Wandersleb <giszmo>
Group Member
Fri 14 Aug 2009 04:32:44 PM UTC, comment #3: 

I have exactly the same problem, on gentoo with globulation 0.9.4.1.

« glob2: src/Building.cpp:2848: void Building::integrity(): Assertion `(*it)->targetBuilding==this' failed. »

palkeo <palkeo>
Thu 09 Jul 2009 09:21:19 AM UTC, comment #2: 

If it is market related, it might be new to 0.9.4, I'm playing with my wife over network and she has 0.9.3 version and if she builds a market the server will crash. But that's just a guess.

Ondrej Svetlik <osvetlik>
Fri 01 May 2009 03:09:07 PM UTC, comment #1: 

Thanx for reporting. We will look into it. This bug has to do with markets and was thought to be fixed.

Leo Wandersleb <giszmo>
Group Member
Sat 28 Feb 2009 10:56:08 PM UTC, original submission:  

Not sure what causes this error.

glob2: src/Building.cpp:2848: void Building::integrity(): Assertion `(*it)->targetBuilding==this' failed.
Aborted


I attached the save that causes it, game crashes about 15 seconds after loading the save.

Sathallrin <sathallrin>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #21064:  ScreenHunter_06 Jul. 26 00.31.jpg added by None (235KiB - image/jpeg - ScreenShot_win32)
file #19016:  market.patch.tar.gz added by giszmo (3KiB - application/x-gzip)
file #17551:  game-crash.tar.gz added by sathallrin (63KiB - application/x-gzip)

 

Carbon-Copy List
  • -email is unavailable- added by rjh82 (Voted in favor of this item)
  • -email is unavailable- added by palkeo (Posted a comment)
  • -email is unavailable- added by osvetlik (Posted a comment)
  • -email is unavailable- added by osvetlik (Voted in favor of this item)
  • -email is unavailable- added by giszmo (Posted a comment)
  • -email is unavailable- added by sathallrin (Submitted the item)
  •  

    There are 2 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 15 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-11-03 giszmo Dependencies- bugs #34620 is dependent
    2011-11-03 giszmo Dependencies- bugs #28800 is dependent
    2011-11-03 giszmo StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2011-11-03 giszmo Dependencies- bugs #28382 is dependent
    2010-09-13 rjh82 Carbon-Copy- Added rjh82
    2010-07-25 None Attached File- Added ScreenHunter_06 Jul. 26 00.31.jpg, #21064
    2009-11-08 giszmo Attached File- Added market.patch.tar.gz, #19016
    2009-11-05 giszmo Dependencies- bugs #27310 is dependent
    2009-07-09 osvetlik Carbon-Copy- Added osvetlik
    2009-05-01 giszmo StatusNone Confirmed
        Dependencies- Depends on bugs #25269
        Dependencies- Depends on bugs #23898
    2009-05-01 giszmo SummaryGame Crash Game Crash (Assertion `(*it)->targetBuilding==this' failed)
    2009-02-28 sathallrin Attached File- Added game-crash.tar.gz, #17551

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code