Created
June 12, 2011 13:02
-
-
Save hadronized/1021525 to your computer and use it in GitHub Desktop.
assimp, wtf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(II) Sun Jun 12 14:59:42 2011 | 1 present materials | |
zsh: segmentation fault ./skyimp cube.blend | |
if (_pScene->HasMaterials()) { | |
logger::inst() << log::information << _pScene->mNumMaterials << " present materials\n"; | |
aiString str; | |
aiMaterial *pMat = _pScene->mMaterials[0]; | |
assert(pMat); | |
pMat->Get(AI_MATKEY_NAME, str); | |
} | |
Program received signal SIGSEGV, Segmentation fault. | |
0x00007ffff764a146 in aiGetMaterialProperty () from /usr/lib/libassimp.so.2 | |
(gdb) backtrace | |
#0 0x00007ffff764a146 in aiGetMaterialProperty () from /usr/lib/libassimp.so.2 | |
#1 0x00007ffff764ad16 in aiGetMaterialString () from /usr/lib/libassimp.so.2 | |
#2 0x0000000000404419 in aiMaterial::Get<aiString> (this=0x727a10, pKey=0x405f89 "?mat.name", type=0, idx=0, pOut=...) at /usr/include/assimp/aiMaterial.inl:175 | |
#3 0x00000000004040a4 in scene::foo (this=0x7fffffffe7a0) at /home/skypers/prog/skyoralis_importer/src/scene.cpp:64 | |
#4 0x00000000004053cb in main (argc=2, argv=0x7fffffffe8f8) at /home/skypers/prog/skyoralis_importer/src/main.cpp:46 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment