DescID [] operator crashes?

Hello,

I mostly develop on macOS and use Windows for builds only. So far this has always worked.

But not today, I have this happening reproducibly now for all my objects:

Capture.JPG

Unhandled exception thrown: read access violation.
DescID::operator[](...) returned 0x7FF8C640C128.

Running Cinema with the plugin in Release mode will freeze Cinema. In Debug mode, I see what's shown on the above screenshot.

Any ideas?

Cheers,
Frank

www.frankwilleke.de
Only asking personal code questions here.

I don't have a solution for you, however for safety I always check if node is valid

Bool DisplayMode::GetDEnabling(GeListNode* node, const DescID& id, const GeData& t_data, DESCFLAGS_ENABLE flags, const BaseContainer* itemdesc)
{
	if (!node)
		return false;

	switch (id[0].id)
	{

Might not be of any help to you, as if node would be nullptr, it would throw an exception on line 468 in your case

Already found the reason, sorry to bother you, all good :)

Cheers,
Frank

www.frankwilleke.de
Only asking personal code questions here.