Advertisement
robn

Untitled

May 12th, 2012
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 3.05 KB | None | 0 0
  1. Program received signal SIGSEGV, Segmentation fault.
  2. 0x00000000004db3ab in Newmodel::Loader::LoadMesh (this=0x7fffffffde20, filename=..., model=0x1220520, modelTags=...) at Loader.cpp:442
  3. 442         const aiMaterial *amat = scene->mMaterials[mesh->mMaterialIndex];
  4. (gdb) bt
  5. #0  0x00000000004db3ab in Newmodel::Loader::LoadMesh (this=0x7fffffffde20, filename=..., model=0x1220520, modelTags=...) at Loader.cpp:442
  6. #1  0x00000000004da537 in Newmodel::Loader::CreateModel (this=0x7fffffffde20, def=...) at Loader.cpp:324
  7. #2  0x00000000004d98a1 in Newmodel::Loader::LoadModel (this=0x7fffffffde20, filename=..., basepath=...) at Loader.cpp:239
  8. #3  0x00000000004d9690 in Newmodel::Loader::LoadModel (this=0x7fffffffde20, filename=..., basepath=...) at Loader.cpp:219
  9. #4  0x00000000004d953f in Newmodel::Loader::LoadModel (this=0x7fffffffde20, filename=...) at Loader.cpp:206
  10. #5  0x000000000047971c in Viewer::Viewer (this=0x119c620) at LuaModelViewer.cpp:138
  11. #6  0x00000000004781dd in main (argc=3, argv=0x7fffffffe088) at LuaModelViewer.cpp:927
  12. (gdb) p *scene
  13. $26 = {mFlags = 0, mRootNode = 0x13e1d20, mNumMeshes = 1, mMeshes = 0x13e60a0, mNumMaterials = 2, mMaterials = 0x13e60c0, mNumAnimations = 0, mAnimations = 0x0, mNumTextures = 0,
  14.   mTextures = 0x0, mNumLights = 0, mLights = 0x0, mNumCameras = 0, mCameras = 0x0, mPrivate = 0x0}
  15. (gdb) p i
  16. $27 = 0
  17. (gdb) p scene->mMeshes[i]
  18. $28 = (aiMesh *) 0x13e2620
  19. (gdb) p mesh
  20. $29 = (aiMesh *) 0x13e2620
  21. (gdb) p *mesh
  22. $30 = {mPrimitiveTypes = 4, mNumVertices = 282, mNumFaces = 136, mVertices = 0x13e38a0, mNormals = 0x13e45e0, mTangents = 0x0, mBitangents = 0x0, mColors = {0x0, 0x0, 0x0, 0x0, 0x13e5320,
  23.     0x0, 0x0, 0x0}, mTextureCoords = {0x2, 0x0, 0x16be7c8, 0xff2f301100000000, 0x0, 0xff2f301100000001, 0x0, 0xff2d2e10ff2d2e00}, mNumUVComponents = {4281282577, 4281940501, 4284440869,
  24.     4281085200, 4283848738, 4284046114, 4280953615, 4281216785}, mFaces = 0xff2c2d10ff2e2f11, mNumBones = 4281216785, mBones = 0xff2c2d10ff2e2f11, mMaterialIndex = 4281282577, mName = {
  25.     length = 18387120929670835985,
  26.     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