Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Program received signal SIGSEGV, Segmentation fault.
- 0x00000000004db3ab in Newmodel::Loader::LoadMesh (this=0x7fffffffde20, filename=..., model=0x1220520, modelTags=...) at Loader.cpp:442
- 442 const aiMaterial *amat = scene->mMaterials[mesh->mMaterialIndex];
- (gdb) bt
- #0 0x00000000004db3ab in Newmodel::Loader::LoadMesh (this=0x7fffffffde20, filename=..., model=0x1220520, modelTags=...) at Loader.cpp:442
- #1 0x00000000004da537 in Newmodel::Loader::CreateModel (this=0x7fffffffde20, def=...) at Loader.cpp:324
- #2 0x00000000004d98a1 in Newmodel::Loader::LoadModel (this=0x7fffffffde20, filename=..., basepath=...) at Loader.cpp:239
- #3 0x00000000004d9690 in Newmodel::Loader::LoadModel (this=0x7fffffffde20, filename=..., basepath=...) at Loader.cpp:219
- #4 0x00000000004d953f in Newmodel::Loader::LoadModel (this=0x7fffffffde20, filename=...) at Loader.cpp:206
- #5 0x000000000047971c in Viewer::Viewer (this=0x119c620) at LuaModelViewer.cpp:138
- #6 0x00000000004781dd in main (argc=3, argv=0x7fffffffe088) at LuaModelViewer.cpp:927
- (gdb) p *scene
- $26 = {mFlags = 0, mRootNode = 0x13e1d20, mNumMeshes = 1, mMeshes = 0x13e60a0, mNumMaterials = 2, mMaterials = 0x13e60c0, mNumAnimations = 0, mAnimations = 0x0, mNumTextures = 0,
- mTextures = 0x0, mNumLights = 0, mLights = 0x0, mNumCameras = 0, mCameras = 0x0, mPrivate = 0x0}
- (gdb) p i
- $27 = 0
- (gdb) p scene->mMeshes[i]
- $28 = (aiMesh *) 0x13e2620
- (gdb) p mesh
- $29 = (aiMesh *) 0x13e2620
- (gdb) p *mesh
- $30 = {mPrimitiveTypes = 4, mNumVertices = 282, mNumFaces = 136, mVertices = 0x13e38a0, mNormals = 0x13e45e0, mTangents = 0x0, mBitangents = 0x0, mColors = {0x0, 0x0, 0x0, 0x0, 0x13e5320,
- 0x0, 0x0, 0x0}, mTextureCoords = {0x2, 0x0, 0x16be7c8, 0xff2f301100000000, 0x0, 0xff2f301100000001, 0x0, 0xff2d2e10ff2d2e00}, mNumUVComponents = {4281282577, 4281940501, 4284440869,
- 4281085200, 4283848738, 4284046114, 4280953615, 4281216785}, mFaces = 0xff2c2d10ff2e2f11, mNumBones = 4281216785, mBones = 0xff2c2d10ff2e2f11, mMaterialIndex = 4281282577, mName = {
- length = 18387120929670835985,
- data = "\027><\377$][\377\020-,\377\021\060/\377\022\062\061\377\022\062\061\377\021\060/\377\021/.\377\025\067\066\377*jh\377\025\067\066\377\020.-\377\020.-\377\021\060/\377\022\062\061\377\022\062\061\377\022\062\061\377\022\062\061\377\021\060/\377\022\062\061\377\022\062\061\377\021/.\377\021//\377\021/.\377\016'&\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377"...}, mNumAnimMeshes = 33, mAnimMeshes = 0x0}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement