Crash: Segmentation Fault in SerializedGameData.cpp:267

Bug #1128158 reported by afri donschoe
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Return To The Roots
Incomplete
Undecided
quixui

Bug Description

Linux 3.7.0-sabayon #1 SMP Wed Jan 23 20:51:11 UTC 2013 x86_64
Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz GenuineIntel GNU/Linux

Game Revision: v20130217-8629

Map: IV Auf Hoher See (Singleplayer Mode)

Complete Backtrace: https://gist.github.com/donSchoe/4971815

Replay attached.

Revision history for this message
afri donschoe (afri-alex) wrote :
Revision history for this message
afri donschoe (afri-alex) wrote :

Seems to be reproducable.

Another gdb stacktrace: https://gist.github.com/donSchoe/4972514

Another replay attached.

Revision history for this message
afri donschoe (afri-alex) wrote :

Reproducable in revision v20130220-8634.

https://gist.github.com/donSchoe/5028770

Revision history for this message
afri donschoe (afri-alex) wrote :
  • replay Edit (353.6 KiB, application/octet-stream)

Reproducable in revision v20130324-8669.

https://gist.github.com/donSchoe/5232378

Still not clear why this comes up again and again. Attached another replay.

Revision history for this message
quixui (quixui-d) wrote :

Have you got any savegames that consistently lead to this crash?

Revision history for this message
afri donschoe (afri-alex) wrote :

Currently not. I always play with debugger, if this occurs again, I will try to extract a savegame and attache it here.

Revision history for this message
afri donschoe (afri-alex) wrote :

Reproducable in revision v20130611-8767.

https://gist.github.com/donSchoe/5841389

I have a savegame attached but these crashes seem to occur randomly.

Revision history for this message
afri donschoe (afri-alex) wrote :

Ok, this is not random, it crashes exactly at GF 119999 while auto-saving.

Steps to reproduce:

Start the save-game, set auto-saves to every 5000 GF and play until it crashes at GF 119999 while saving. New stacktrace below:

https://gist.github.com/donSchoe/5841437

Revision history for this message
afri donschoe (afri-alex) wrote :

Okay, it's very simple to reproduce, simply start any game, enable the new tools-queue-plugin, enter some tools into the queue and save the game.

This will crash it and it's 100% reproducable. Stacktrace is same as in comment above.

Revision history for this message
quixui (quixui-d) wrote :

I'm unable to reproduce the crash in a new game, however I did manage to get a crash using the attached savegame. Checking that.

It may be another bug though, since the revision the bug first appeared was 8629 while tool ordering wasn't introduced until rev 8737.

Revision history for this message
Spike (fvv1) wrote :

I can't reproduce the problem :-/

Revision history for this message
quixui (quixui-d) wrote :

Bug confirmed: an ordered ware gets lost/deleted -> rttr may crash via segfault when trying to save this deleted ware

In case there is another bug with tool ordering, please file a new bug report.

Changed in s25rttr:
assignee: nobody → quixui (quixui-d)
status: New → Confirmed
Revision history for this message
Spike (fvv1) wrote :
Changed in s25rttr:
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.