Skip to content

Instantly share code, notes, and snippets.

@Mischa-Alff
Created November 2, 2014 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mischa-Alff/98470190e32553a44142 to your computer and use it in GitHub Desktop.
Save Mischa-Alff/98470190e32553a44142 to your computer and use it in GitHub Desktop.
Program received signal SIGSEGV, Segmentation fault.
0x000000000041dab8 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x8c630000000008, __in_chrg=<optimized out>)
at /usr/include/c++/4.9.1/bits/shared_ptr_base.h:665
665 if (_M_pi != nullptr)
(gdb) bt
#0 0x000000000041dab8 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x8c630000000008, __in_chrg=<optimized out>)
at /usr/include/c++/4.9.1/bits/shared_ptr_base.h:665
#1 0x000000000041d57a in std::__shared_ptr<wind::Entity, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x8c630000000000, __in_chrg=<optimized out>)
at /usr/include/c++/4.9.1/bits/shared_ptr_base.h:914
#2 0x000000000041d594 in std::shared_ptr<wind::Entity>::~shared_ptr (this=0x8c630000000000, __in_chrg=<optimized out>)
at /usr/include/c++/4.9.1/bits/shared_ptr.h:93
#3 0x000000000041f3c6 in std::_Destroy<std::shared_ptr<wind::Entity> > (__pointer=0x8c630000000000) at /usr/include/c++/4.9.1/bits/stl_construct.h:93
#4 0x000000000041ee15 in std::_Destroy_aux<false>::__destroy<std::shared_ptr<wind::Entity>*> (__first=0x8c630000000000, __last=0x6301a000000000)
at /usr/include/c++/4.9.1/bits/stl_construct.h:103
#5 0x000000000041e94b in std::_Destroy<std::shared_ptr<wind::Entity>*> (__first=0x8c630000000000, __last=0x6301a000000000)
at /usr/include/c++/4.9.1/bits/stl_construct.h:126
#6 0x000000000041e1d7 in std::_Destroy<std::shared_ptr<wind::Entity>*, std::shared_ptr<wind::Entity> > (__first=0x8c630000000000,
__last=0x6301a000000000) at /usr/include/c++/4.9.1/bits/stl_construct.h:151
#7 0x000000000041e57a in std::vector<std::shared_ptr<wind::Entity>, std::allocator<std::shared_ptr<wind::Entity> > >::_M_erase_at_end (
this=0x7fffffffddf4, __pos=0x8c630000000000) at /usr/include/c++/4.9.1/bits/stl_vector.h:1438
#8 0x0000000000427a84 in std::vector<std::shared_ptr<wind::Entity>, std::allocator<std::shared_ptr<wind::Entity> > >::clear (this=0x7fffffffddf4)
at /usr/include/c++/4.9.1/bits/stl_vector.h:1212
#9 0x0000000000426d51 in wind::QuadTree::clear (this=0x7fffffffdde4)
at /home/aster/Programming/Physics/Windtunnel/src/Wind/Engine/Partitioning/QuadTree.cpp:7
#10 0x0000000000426d88 in wind::QuadTree::clear (this=0x8c6310)
at /home/aster/Programming/Physics/Windtunnel/src/Wind/Engine/Partitioning/QuadTree.cpp:13
#11 0x00000000004236c8 in wind::Engine::simulate (this=0x7fffffffd8b0, deltatime=...)
at /home/aster/Programming/Physics/Windtunnel/src/Wind/Engine/Engine/Engine.cpp:205
#12 0x000000000041ce28 in main () at /home/aster/Programming/Physics/Windtunnel/examples/testbench/testbench.cpp:105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment