Bug #2133

Crash in CoreTutorial (Value2.cpp - Debug Mode)

Added by Zbigniew Rebacz over 3 years ago. Updated over 3 years ago.

Status:ApprovedStart date:12/27/2020
Priority:HighDue date:
Assignee:Zbigniew Rebacz% Done:

0%

Category:CoreSpent time:-
Target version:Release 2021.1

Description

Running CoreTutorial leads to crash. The problem is in following lines of code (Value2.cpp):

#if 0
    INITBLOCK { // This has to be at file level scope
#endif
        Value::Register<Foo>(); // need to register value type integer id to allow serialization // <- CRASH
#if 0
    }
#endif

This is Assert problem, so the issue is present only in debug mode.

History

#1 Updated by Zbigniew Rebacz over 3 years ago

  • Subject changed from CoreTutorial crashes to Crash in CoreTutorial (Value2.cpp)

#2 Updated by Zbigniew Rebacz over 3 years ago

  • Subject changed from Crash in CoreTutorial (Value2.cpp) to Crash in CoreTutorial (Value2.cpp - Debug Mode)
  • Description updated (diff)

#3 Updated by Miroslav Fidler over 3 years ago

  • Status changed from New to Ready for QA
  • Assignee changed from Miroslav Fidler to Zbigniew Rebacz

#4 Updated by Miroslav Fidler over 3 years ago

  • Status changed from Ready for QA to Approved

Also available in: Atom PDF