Open maxpa1n87 opened 9 months ago
is assimp built by ogre or externally? is the used assimp library built as debug?
By ogre yes build in debug mode
sounds like #1303. can you double-check that assimp is built as debug?
It is build in separate directories one in release and another in debug. My Cmake Project selects the proper Release or Debug libraries. And as the name states Codec_Assimp_d.dll with _d suffix it is compiled in debug mode.
yes, Codec_Assimp will be a debug librarary. What about Assimp itself? Where does assimp_DIR in Cmake point to? Does it contain the debug library of assimp? If all above is correct, please provide a stacktrace.
assimp_DIR points to E:/dev/ogre3d/ogre/build/debug/Dependencies/lib/cmake/assimp-5.2. E:\dev\ogre3d\ogre\build\debug\assimp-5.2.5\lib contains libassimpd.a which is build in debug mode. Stacktrace:
Thread #1 0 (Suspended : Signal : SIGTRAP:Trace/breakpoint trap)
ntdll!RtlIsZeroMemory() at 0x7ffbfe98f2d3
ntdll!RtlpNtSetValueKey() at 0x7ffbfe998092
ntdll!RtlpNtSetValueKey() at 0x7ffbfe99837a
ntdll!RtlpNtSetValueKey() at 0x7ffbfe99e001
ntdll!RtlGetCurrentServiceSessionId() at 0x7ffbfe8b5bf0
ntdll!RtlFreeHeap() at 0x7ffbfe8b47b1
msvcrt!free() at 0x7ffbfcdb9c9c
std::locale::_Impl::~_Impl() at 0x7ffb46d03118
std::locale::~locale() at 0x7ffb46d03638
Ogre::Log::Stream::~Stream() at OgreLog.h:225 0x7ffb469c364d
Ogre::AssimpCodec::startup() at AssimpLoader.cpp:1.391 0x7ffb469c1f92
Ogre::dllStartPlugin() at AssimpLoader.cpp:1.419 0x7ffb46758bf5
Ogre::Root::loadPlugin() at OgreRoot.cpp:1.095 0x7ffb5dae63fe
Ogre::Root::loadPlugins() at OgreRoot.cpp:892 0x7ffb5dae5032
Ogre::Root::Root() at OgreRoot.cpp:230 0x7ffb5dae2506
OgreBites::ApplicationContextBase::createRoot() at OgreApplicationContextBase.cpp:191 0x7ffbb6b1422b
OgreBites::ApplicationContextBase::initApp() at OgreApplicationContextBase.cpp:55 0x7ffbb6b13a1a
main() at main.cpp:32 0x7ff654f414ea
Disabling Codec_Assimp resolves the problem.
no idea though.. might be MinGW specific. You can try master, where we updated to assimp 5.3.1 to check whether it is caused by assimp
System Information
Detailled description
Assimp plugin Critical error detected c0000374 Thread 1 received signal SIGTRAP, Trace/breakpoint trap while executing debug build loading Assimp plugin.
Ogre.log