Jump to content

Crash when I close Unigine


photo

Recommended Posts

Hi, 
 
With the new version I have a crash after each close, that could be link to my own plugin but I am not sure,

This kind of crash is talking to somebody ??
 
 
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff8d48b866 __pthread_kill + 10
1   libsystem_pthread.dylib       0x00007fff8d92835c pthread_kill + 92
2   libsystem_c.dylib             0x00007fff8684cb1a abort + 125
3   libUnigine_x64d.dylib         0x0000000100013af2 signal_handler(int) + 246
4   libsystem_platform.dylib       0x00007fff898b15aa _sigtramp + 26
5   libUnigine_x64d.dylib         0x0000000100041840 Unigine::ExternClassExport::clear() + 104 (UnigineInterpreter.cpp:1776)
6   libUnigine_x64d.dylib         0x00000001003e767a Interpreter::clear() + 762 (Vector.h:223)
7   libUnigine_x64d.dylib         0x000000010001b3e9 EngineInterpreter::~EngineInterpreter() + 139 (EngineInterpreter.cpp:124)
8   libUnigine_x64d.dylib         0x000000010001b32d EngineInterpreter::~EngineInterpreter() + 15 (EngineInterpreter.cpp:109)
9   libUnigine_x64d.dylib         0x000000010000f20b Engine::shutdown() + 203 (Engine.cpp:1284)
10  libUnigine_x64d.dylib         0x000000010000f017 Engine::~Engine() + 25 (Engine.cpp:446)
11  libUnigine_x64d.dylib         0x000000010000efd5 Engine::~Engine() + 15 (SystemPool.h:35)
12  libUnigine_x64d.dylib         0x000000010002f314 Unigine::EngineInterface::~EngineInterface() + 48 (Singleton.h:34)
13  3DActiEditor_x64d             0x0000000100004101 main + 3509 (main.cpp:158)
14  3DActiEditor_x64d             0x0000000100003344 start + 52
Link to comment

Hi, 
 

After a little debug, the trouble seems when we create an Extern Object inside the script and will not delete it. I try to explain me :

My plugin is for our format call STS. Inside the script we can create new STS. Apparently if we forgot to delete it inside the script that give a crash.

That's good because we can clean our code, because this delete are missing and it's not normal, but not sure if the crash is normal too.

Link to comment
×
×
  • Create New...