﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
1813	Hard crash during assertion failure (Win 7/64)	historic_bruno		"OS: Win 7 64-bit[[BR]]
Build: VS 2010 Pro

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"	defect	new	Should Have	Backlog	Core engine			Jan Wassenberg	
