Skip to content

Instantly share code, notes, and snippets.

@AndrewJDR
Created June 5, 2015 01:20
Show Gist options
  • Save AndrewJDR/0aa79fd695cce740cd0a to your computer and use it in GitHub Desktop.
Save AndrewJDR/0aa79fd695cce740cd0a to your computer and use it in GitHub Desktop.
(gdb) bt
#0 bx::debugBreak () at ../../../dm/include/dm/../../3rdparty/bx/debug.h:49
#1 0x00000000004ae49c in dm::Memory::Heap::addSpace (this=0xd49910 <dm::s_memory+75536>, _ptr=0x7fffa2a1c2c8, _size=1265666928) at ../../../dm/include/dm/allocator/allocator.h:1077
#2 0x00000000004af8a1 in dm::Memory::Heap::free (this=0xd49910 <dm::s_memory+75536>, _ptr=0x7fffc60c19f0) at ../../../dm/include/dm/allocator/allocator.h:1653
#3 0x00000000004ac9b7 in dm::Memory::free (this=0xd37200 <dm::s_memory>, _ptr=0x7fffc60c19f0) at ../../../dm/include/dm/allocator/allocator.h:381
#4 0x00000000004aac13 in operator delete (_ptr=0x7fffc60c19f0) at ../../src/common/allocator.cpp:273
#5 0x0000000000499d90 in __gnu_cxx::new_allocator<FaceTuple>::deallocate (this=0x7fff973163e0, __p=0x7fffc60c19f0) at /usr/include/c++/4.8/ext/new_allocator.h:110
#6 0x0000000000495e84 in std::_Vector_base<FaceTuple, std::allocator<FaceTuple> >::_M_deallocate (this=0x7fff973163e0, __p=0x7fffc60c19f0, __n=7161506) at /usr/include/c++/4.8/bits/stl_vector.h:174
#7 0x0000000000497457 in std::_Vector_base<FaceTuple, std::allocator<FaceTuple> >::~_Vector_base (this=0x7fff973163e0, __in_chrg=<optimized out>) at /usr/include/c++/4.8/bits/stl_vector.h:160
#8 0x00000000004942f3 in std::vector<FaceTuple, std::allocator<FaceTuple> >::~vector (this=0x7fff973163e0, __in_chrg=<optimized out>) at /usr/include/c++/4.8/bits/stl_vector.h:416
#9 0x00000000004846dc in ObjFileParser::~ObjFileParser (this=0x7fff973163e0, __in_chrg=<optimized out>) at ../../src/geometry/fastobj/fastobjtobin.cpp:1192
#10 0x000000000045ae75 in fastObjLoader (_geometry=..., _reader=0x7fff973166c0, _stack=0xe0b788 <dm::s_stackAllocator>, _inData=0x0, _outData=0x7fff97316628, _allocator=0xe0b788 <dm::s_stackAllocator>) at ../../src/geometry/loader_fast_obj.h:276
#11 0x000000000047d9ba in cs::GeometryLoaders::load (this=0xd34ae0 <cs::s_geometryLoaders>, _geometry=..., _reader=0x7fff973166c0, _fileExtension=0xd13607 <s_cmftStudio+20615> "obj", _stack=0xe0b788 <dm::s_stackAllocator>, _inData=0x0, _outData=0x7fff97316628, _outDataAlloc=0xe0b788 <dm::s_stackAllocator>)
at ../../src/geometry/loadermanager.cpp:88
#12 0x000000000047d698 in cs::geometryLoad (_geometry=..., _reader=0x7fff973166c0, _ext=0xd13607 <s_cmftStudio+20615> "obj", _stack=0xe0b788 <dm::s_stackAllocator>, _inData=0x0, _outData=0x7fff97316628, _outDataAlloc=0xe0b788 <dm::s_stackAllocator>) at ../../src/geometry/loadermanager.cpp:164
#13 0x0000000000462022 in cs::MeshImpl::load (this=0x7fff98875738, _reader=0x7fff973166c0, _ext=0xd13607 <s_cmftStudio+20615> "obj", _userData=0x0, _stack=0xe0b788 <dm::s_stackAllocator>, _handle=...) at ../../src/context.cpp:1205
#14 0x0000000000462f5d in cs::MeshResourceManager::load (this=0x7fff988754b0, _path=0xd135dd <s_cmftStudio+20573> "/home/ajohnson/Desktop/bookWormAllOptions.obj", _userData=0x0, _stack=0xe0b788 <dm::s_stackAllocator>) at ../../src/context.cpp:1526
#15 0x000000000045db54 in cs::meshLoad (_filePath=0xd135dd <s_cmftStudio+20573> "/home/ajohnson/Desktop/bookWormAllOptions.obj", _userData=0x0, _stack=0xe0b788 <dm::s_stackAllocator>) at ../../src/context.cpp:1566
#16 0x0000000000430143 in CmftStudioApp::guiActionHandler (this=0xd0e580 <s_cmftStudio>) at ../../src/cmftstudio.cpp:1731
#17 0x0000000000432ff9 in CmftStudioApp::run (this=0xd0e580 <s_cmftStudio>, _argc=1, _argv=0x7fffffffdf58) at ../../src/cmftstudio.cpp:2590
#18 0x0000000000425ec4 in _main_ (_argc=1, _argv=0x7fffffffdf58) at ../../src/cmftstudio.cpp:2709
#19 0x000000000050681d in entry::main (_argc=1, _argv=0x7fffffffdf58) at ../../../bgfx/examples/common/entry/entry.cpp:320
#20 0x000000000050a6e2 in entry::MainThreadEntry::threadFunc (_userData=0x7fffffffdc30) at ../../../bgfx/examples/common/entry/entry_x11.cpp:581
#21 0x000000000042a4b6 in bx::Thread::entry (this=0x7fffffffdd20) at ../../../bx/include/bx/thread.h:146
#22 0x000000000042a4d8 in bx::Thread::threadFunc (_arg=0x7fffffffdd20) at ../../../bx/include/bx/thread.h:165
#23 0x00007ffff712b182 in start_thread (arg=0x7fff97319700) at pthread_create.c:312
#24 0x00007ffff640447d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment