bugGlobulation 2 - Bugs: bug #22522, glob2 crashes when saving and...

 
 

bug #22522: glob2 crashes when saving and loading a savegame

Submitted by:  Leo Wandersleb <giszmo>
Submitted on:  Sun 09 Mar 2008 12:30:52 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Bradley Arsenault <genixpro>Open/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 13 Mar 2008 10:37:01 AM UTC, comment #1:

can confirm that loading and saving works for maps now.

Leo Wandersleb <giszmo>
Project Member
Sun 09 Mar 2008 12:30:52 PM UTC, original submission:

i tried to damage one of my buildings so i can test a repair bug (bug #21012: worker count reset to 1 after repair) but when playing the modified (one inn with reduced hitpoints) the modification seamed not to be stored to the map. also when playing the map, the fertility map was calculated while i understood this would be stored with the map. when saving i saw the fertility map generation progress.

went back to editor
modified again (it obviously was not stored)
saved
loaded again in the editor
and got a crash:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b393cad4cf0 (LWP 4267)]
0x00002b3938f7e3d0 in std::string::size () from /usr/lib/libstdc++.so.6
(gdb) bt
#0 0x00002b3938f7e3d0 in std::string::size () from /usr/lib/libstdc++.so.6
#1 0x000000000045d4e0 in std::operator+<char, std::char_traits<char>, std::allocator<char> > (__lhs=0x68989e "[", __rhs=@0x8) at /usr/include/c++/4.2/bits/basic_string.tcc:682
#2 0x000000000055cfe1 in BuildingInfoTitle::draw (this=0x2aaab19ee320) at src/MapEdit.cpp:671
#3 0x00000000005207b4 in MapEditorWidget::drawSelf (this=0x2aaab19ee320) at src/MapEdit.cpp:53
#4 0x0000000000520f99 in MapEdit::drawWidgets (this=0x7fff7343d860) at src/MapEdit.cpp:3162
#5 0x0000000000532eca in MapEdit::run (this=0x7fff7343d860) at src/MapEdit.cpp:1294
#6 0x00000000004e7e2d in Glob2::run (this=0x7fff7346ea5f, argc=1, argv=0x7fff7346eb48) at src/Glob2.cpp:394
#7 0x00000000004e8295 in main (argc=1, argv=0x7fff7346eb48) at src/Glob2.cpp:488

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:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by genixpro (Updated the item)
  • -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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 13 Mar 2008 07:35:18 AM UTCgenixproStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1