bugGlobulation 2 - Bugs: bug #22610, loading saved games behaves...

 
 

bug #22610: loading saved games behaves strange and crashes

Submitted by:  Leo Wandersleb <giszmo>
Submitted on:  Sun 16 Mar 2008 12:42:07 AM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: NoneOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 01 Apr 2008 05:46:20 AM UTC, comment #2:

Just tried the attached map with AppleBoy. No problems with this or any autosave since the change to fix this. Closing ticket.

Kieran <k776>
Project Administrator
Mon 17 Mar 2008 12:46:26 AM UTC, comment #1:

I've commit a fix for this bug. It was due to 'false' where a 'true' was needed. When loading save games, the code has to turn all network players into AI, however, the engine would then reload the header with the network players from the file, rather than using the changed one.

Bradley Arsenault <genixpro>
Project Administrator
Sun 16 Mar 2008 12:42:07 AM UTC, original submission:

when loading a save game from yog, it says: waiting for AppleBoy and pauses.
when i load another save game, nothing happens (due to pause).
when i say "quit?finish? game", the 2nd game finally gets loaded.
when i then load the yog game again, it crashes with:
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x2b8f78b45c10 (LWP 25398)]
0x000000000056fd3b in Minimap::computeColors (this=0x7fff373f9e18, row=6149, localTeam=0) at src/Minimap.cpp:389
389 r = lr/nCount;
(gdb) bt
#0 0x000000000056fd3b in Minimap::computeColors (this=0x7fff373f9e18, row=6149, localTeam=0) at src/Minimap.cpp:389
#1 0x000000000056fe0b in Minimap::refreshPixelRows (this=0x7fff373f9e18, start=76, end=5, localteam=0) at src/Minimap.cpp:228
#2 0x00000000005702f0 in Minimap::draw (this=0x7fff373f9e18, localteam=0, viewportX=72, viewportY=51, viewportW=41, viewportH=28) at src/Minimap.cpp:109
#3 0x00000000004c7cc0 in GameGUI::drawAll (this=0x7fff373e8800, team=0) at src/GameGUI.cpp:3597
#4 0x000000000049b87a in Engine::run (this=0x7fff373e8800) at src/Engine.cpp:358
#5 0x00000000004e98c4 in Glob2::run (this=0x7fff373fa9ef, argc=1, argv=0x7fff373faad8) at src/Glob2.cpp:245
#6 0x00000000004e9c2f in main (argc=1, argv=0x7fff373faad8) at src/Glob2.cpp:337

Leo Wandersleb <giszmo>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #15269:  Archive.tar.gz added by giszmo (148KiB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by k776 (Posted a comment)
  • -unavailable- added by genixpro (Posted a comment)
  • -unavailable- added by giszmo (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
    Tue 01 Apr 2008 05:46:20 AM UTCk776StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon 17 Mar 2008 12:46:26 AM UTCgenixproStatusNone=>Ready For Test
    Sun 16 Mar 2008 12:42:07 AM UTCgiszmoAttached File-=>Added Archive.tar.gz, #15269

    Back to the top


    Powered by Savane 3.1-cleanup1