Opened 11 years ago

Last modified 11 years ago

#1813 closed defect

Hard crash during assertion failure (Win 7/64) — at Version 2

Reported by: historic_bruno Owned by:
Priority: Should Have Milestone: Alpha 14
Component: Core engine Keywords: crash windows
Cc: Jan Wassenberg Patch:

Description (last modified by historic_bruno)

OS: Win 7 64-bit
Build: VS 2010 Pro - release build

While testing #1812 I encountered an assertion failure, but there was a hard crash before the error dialog was displayed:

Simulation2.cpp(329): Assertion failed: "0 && (L"Serialization test failure")"
First-chance exception at 0x522d7c77 in pyrogenesis.exe: 0xC00000FD: Stack overflow.
INVALID_UDT boost::unordered::detail::compressed<std::allocator<boost::unordered::detail::ptr_bucket>,std::allocator<boost::unordered::detail::ptr_node<boost::shared_ptr<CTexture> > > > 1 1
First-chance exception at 0x52322203 in pyrogenesis.exe: 0xC0000005: Access violation writing location 0x02e00de8.
Unhandled exception at 0x52322203 in pyrogenesis.exe: 0xC0000005: Access violation writing location 0x02e00de8.

Here's the call stack for all threads at the time of the crash: http://pastebin.com/Kc3aLKtP

I don't know what could cause this, but we currently have a bug where a thread is running constantly and frequently accessing timer_Time(), if that's relevant. This is not consistently reproducible but these steps work for me with r13045:

  • Start the game in Atlas with serialization test mode: -editor -serializationtest
  • Load "Acropolis 01" map
  • Start simulation test
  • Select a soldier and task him to build a house, triggering the serialization test failure, and sometimes the crash

Change History (2)

comment:1 by historic_bruno, 11 years ago

Description: modified (diff)
Summary: Hard crash during assertion failureHard crash during assertion failure (Win 7/64)

comment:2 by historic_bruno, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.