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

 
 

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

Submitted by:  Sathallrin <sathallrin>
Submitted on:  Sat 28 Feb 2009 10:56:08 PM UTC  
Votes:  2  
 
Severity: 3 - NormalStatus: Fixed
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 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>
Project 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>
Project 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>
Project 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>
Project 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 File(s):
   
   
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)

 

Digest:
   bug dependencies.

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by rjh82 (Voted in favor of this item)
  • -unavailable- added by palkeo (Posted a comment)
  • -unavailable- added by osvetlik (Posted a comment)
  • -unavailable- added by osvetlik (Voted in favor of this item)
  • -unavailable- added by giszmo (Posted a comment)
  • -unavailable- added by sathallrin (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 2 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 15 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 03 Nov 2011 04:23:24 PM UTCgiszmoDependencies-=>bugs #34620 is dependent
    Thu 03 Nov 2011 04:14:55 PM UTCgiszmoDependencies-=>bugs #28800 is dependent
    Thu 03 Nov 2011 04:14:14 PM UTCgiszmoStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 03 Nov 2011 05:25:24 AM UTCgiszmoDependencies-=>bugs #28382 is dependent
    Mon 13 Sep 2010 01:27:00 AM UTCrjh82Carbon-Copy-=>Added rjh82
    Sun 25 Jul 2010 10:59:14 PM UTCNoneAttached File-=>Added ScreenHunter_06 Jul. 26 00.31.jpg, #21064
    Sun 08 Nov 2009 10:51:02 PM UTCgiszmoAttached File-=>Added market.patch.tar.gz, #19016
    Thu 05 Nov 2009 06:24:42 PM UTCgiszmoDependencies-=>bugs #27310 is dependent
    Thu 09 Jul 2009 08:58:58 AM UTCosvetlikCarbon-Copy-=>Added osvetlik
    Fri 01 May 2009 03:10:42 PM UTCgiszmoStatusNone=>Confirmed
      Dependencies-=>Depends on bugs #25269
      Dependencies-=>Depends on bugs #23898
    Fri 01 May 2009 03:09:07 PM UTCgiszmoSummaryGame Crash=>Game Crash (Assertion `(*it)->targetBuilding==this' failed)
    Sat 28 Feb 2009 10:56:08 PM UTCsathallrinAttached File-=>Added game-crash.tar.gz, #17551

    Back to the top


    Powered by Savane 3.1-cleanup1