ERROR: After loading Object[...] Code is wrong!

Bug #1072368 reported by Simon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Return To The Roots
Incomplete
Medium
Unassigned

Bug Description

This bug appears while loading a save game. I cannot get further than the settings screen, it crashes right after clicking on "start game".

I have a few save games for this map. Maybe it has something to do with the game time, which is very long here. All save games after 300.000 GF seem to be corrupt. The last one that I can load was at 191.000 GF.

Version: 8445
OS: Win 7

[...]
SerializedGameData::PopObject_: ERROR: After loading Object(obj_id = 2012545026,
 got = 38019); Code is wrong!
SerializedGameData::PopObject_: ERROR: After loading Object(obj_id = 2003566593,
 got = 56); Code is wrong!
terminate called after throwing an instance of 'std::length_error'
  what(): basic_string::resize

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Tags: rev8445
Revision history for this message
Simon (sailo) wrote :
Revision history for this message
Simon (sailo) wrote :
Revision history for this message
Simon (sailo) wrote :
Simon (sailo)
description: updated
description: updated
Simon (sailo)
description: updated
Spike (fvv1)
tags: added: rev8445
Spike (fvv1)
Changed in s25rttr:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Spike (fvv1) wrote :

got a crash at 307.000GF

> s25client.exe!nobMilitary::Capture(const unsigned char new_owner) Zeile 936 + 0x38 Bytes C++
  s25client.exe!nofAttacker::Walked() Zeile 272 C++
  s25client.exe!noFigure::HandleEvent(const unsigned int id) Zeile 669 + 0xf Bytes C++
  s25client.exe!EventManager::NextGF() Zeile 120 + 0x1c Bytes C++
  s25client.exe!GameClient::NextGF() Zeile 1448 C++
  s25client.exe!GameClient::ExecuteGameFrame_Replay() Zeile 116 C++
  s25client.exe!GameClient::ExecuteGameFrame(const bool skipping) Zeile 1355 C++
  s25client.exe!GameClient::SkipGF(unsigned int gf) Zeile 1748 C++
  s25client.exe!iwSkipGFs::SkipGFs() Zeile 61 C++
  s25client.exe!iwSkipGFs::Msg_EditEnter(const unsigned int ctrl_id) Zeile 71 C++
  s25client.exe!ctrlEdit::Msg_KeyDown(const KeyEvent & ke) Zeile 353 + 0x20 Bytes C++
  s25client.exe!Window::RelayKeyboardMessage(bool (const KeyEvent &)* msg, const KeyEvent & ke) Zeile 178 + 0x14 Bytes C++
  s25client.exe!WindowManager::RelayKeyboardMessage(bool (const KeyEvent &)* msg, const KeyEvent & ke) Zeile 200 + 0x28 Bytes C++
  s25client.exe!WindowManager::Msg_KeyDown(const KeyEvent & ke) Zeile 899 C++
  Debug_videoWinAPI.dll!VideoWinAPI::OnWMKeyDown(unsigned int c, long lParam) Zeile 686 + 0x1e Bytes C++
  Debug_videoWinAPI.dll!VideoWinAPI::WindowProc(HWND__ * window, unsigned int msg, unsigned int wParam, long lParam) Zeile 821 C++
  user32.dll!768c62fa()
  [Unten angegebene Rahmen sind möglicherweise nicht korrekt und/oder fehlen, keine Symbole geladen für user32.dll]
  user32.dll!768c6d3a()
  user32.dll!768c6ce9()
  user32.dll!768d0d27()
  user32.dll!768d0d4d()
  opengl32.dll!60f660fb()
  user32.dll!768c62fa()
  user32.dll!768c6d3a()
  user32.dll!768c6ce9()
  user32.dll!768c77c4()
  user32.dll!768ed62a()
  user32.dll!768c788a()
  Debug_videoWinAPI.dll!VideoWinAPI::MessageLoop() Zeile 507 + 0xc Bytes C++
  s25client.exe!VideoDriverWrapper::Run() Zeile 325 + 0x17 Bytes C++
  s25client.exe!GameManager::Run() Zeile 158 + 0xc Bytes C++
  s25client.exe!main(int argc, char * * argv) Zeile 344 + 0xc Bytes C++
  s25client.exe!__tmainCRTStartup() Zeile 555 + 0x19 Bytes C
  s25client.exe!mainCRTStartup() Zeile 371 C
  kernel32.dll!76c8339a()
  ntdll.dll!77709ef2()
  ntdll.dll!77709ec5()

Revision history for this message
Spike (fvv1) wrote :

Still a Bug?
If yes please re-report: https://github.com/Return-To-The-Roots/s25client/issues

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.