Opened 6 years ago

Last modified 5 years ago

#5000 new defect

[ATLAS] Deserialisation Assertion failure when launching simulation from actor viewer

Reported by: Stan Owned by:
Priority: Should Have Milestone: Backlog
Component: Atlas editor Keywords:
Cc: Patch:

Description

The crash occurs in the component manager. The entity that is not deleted is consistently 536870912 The only reference to this is in test_ComponentManager.h

Call Stack

>	pyrogenesis.exe!CComponentManager::SerializeState(std::basic_ostream<char,std::char_traits<char> > & stream) Line 186	C++	Symbols loaded.
 	pyrogenesis.exe!SimState::Freeze() Line 29	C++	Symbols loaded.
 	pyrogenesis.exe!AtlasViewGame::SaveState(const std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > & label) Line 386	C++	Symbols loaded.
 	[Inline Frame] pyrogenesis.exe!AtlasMessage::fSimStateSave(AtlasMessage::mSimStateSave *) Line 138	C++	Symbols loaded.
 	pyrogenesis.exe!AtlasMessage::fSimStateSave_wrapper(AtlasMessage::IMessage * msg) Line 136	C++	Symbols loaded.
 	pyrogenesis.exe!RunEngine(void * data) Line 173	C++	Symbols loaded.
 	pyrogenesis.exe!thread_start(void * param) Line 624	C++	Symbols loaded.
 	[External Code]		Annotated Frame
 	[Frames below may be incorrect and/or missing, no symbols loaded for ucrtbase.dll]		Annotated Frame

Change History (3)

comment:1 by elexis, 5 years ago

How to reproduce?

The entity that is not deleted is consistently 536870912

On which map?

comment:2 by wraitii, 5 years ago

This feels like a duplicate of #4616, l186 is the ENSURE(m_DestructionQueue.empty()); bit and 536870912 is definitely a local entity.

comment:3 by Stan, 5 years ago

It was on every map.

Basically, I would:

  1. Open Atlas
  2. Launch the Actor Viewer on the Entity Tab
  3. Start the game in the main tab by clicking play

The code of the Actor Viewer was changed since then and it creates a simulation context differently so I guess it was fixed by: r21167 Thanks Refs: #5111

Wraitii is maybe right and this was just another way to reproduce it.

One would need to revert back to whatever decision we were on 12 Months ago.

Note: See TracTickets for help on using tickets.