[FATAL] A fatal error occurred and the program has to terminate!
- Error: InternalErrorException
- Description: This method can only be accessed from the core thread.
- In function: void bs::throwIfNotCoreThread()
- In file: /home/bude/myGit/REGoth-bs/lib/bsf/Source/Foundation/bsfCore/CoreThread/BsCoreThread.cpp:384
Stack trace:
0) lib/libbsf.so.1: bs::CrashHandler::getStackTrace[abi:cxx11]()+0x1de [0x7f3d1a3573fe]
1) lib/libbsf.so.1: bs::CrashHandler::logErrorAndStackTrace(std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, unsigned int) const+0x354 [0x7f3d1a334444]
2) lib/libbsf.so.1: bs::CrashHandler::reportCrash(std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, unsigned int) const+0x5f [0x7f3d1a357d2f]
3) lib/libbsf.so.1: bs::throwIfNotCoreThread()+0x22a [0x7f3d1a37a77a]
4) lib/libbsf.so.1: bs::ct::CoreObject::~CoreObject()+0x17 [0x7f3d1a37ebd7]
5) lib/libbsf.so.1: std::_Sp_counted_deleter<bs::ct::Material*, bs::Deleter<bs::ct::Material, bs::GenAlloc>, bs::StdAlloc<bs::ct::Material, bs::GenAlloc>, (__gnu_cxx::_Lock_policy)2>::_M_dispose()+0x11c [0x7f3d1a56da5c]
6) lib/libbsf.so.1: bs::CoreObjectManager::syncDownload(bs::FrameAlloc*)+0x5d2 [0x7f3d1a3761d2]
7) lib/libbsf.so.1: bs::CoreObjectManager::syncToCore()+0x31 [0x7f3d1a376321]
8) lib/libbsfRenderBeast.so: bs::ct::RenderBeast::renderAll(bs::PerFrameData)+0x70 [0x7f3d0cebbd00]
9) lib/libbsf.so.1: bs::CoreApplication::runMainLoopFrame()+0x3db [0x7f3d1a6ebb7b]
10) lib/libbsf.so.1: bs::CoreApplication::runMainLoop()+0x50 [0x7f3d1a6ed730]
11) ./bin/REGoth: REGoth::Engine::run()+0xdf [0x55dc64aef8cf]
12) ./bin/REGoth: REGoth::runEngine(REGoth::Engine&)+0x520 [0x55dc64afb930]
13) ./bin/REGoth: main+0x1e0 [0x55dc64ac4090]
14) /lib/x86_64-linux-gnu/libc.so.6: __libc_start_main+0xe7 [0x7f3d19108b97]
15) ./bin/REGoth: _start+0x2a [0x55dc64acff6a]
Seems to have been introduced a while back, but I can not say for sure when.
I am also not really sure why this happens or how to fix. I guess we are doing something "low level" now somewhere which should be in the CoreThread?
But how did this not get immediately found?
Seems to have been introduced a while back, but I can not say for sure when.
I am also not really sure why this happens or how to fix. I guess we are doing something "low level" now somewhere which should be in the CoreThread?
But how did this not get immediately found?