sirikata / sirikata

Sirikata is a BSD-licensed platform for networked 3d environments
http://www.sirikata.com/
Other
125 stars 39 forks source link

Crash on exit on Mac #492

Closed ewencp closed 12 years ago

ewencp commented 12 years ago

Seeing this crash recently, as of version 0.0.20.

#0  0x95e1ec5a in __kill ()
#1  0x95e1ec4c in kill$UNIX2003 ()
#2  0x95eb15a5 in raise ()
#3  0x95ec76e4 in abort ()
#4  0x91ba9fda in __gnu_cxx::__verbose_terminate_handler ()
#5  0x91ba817a in __cxxabiv1::__terminate ()
#6  0x91ba81ba in std::terminate ()
#7  0x91ba8753 in __cxa_pure_virtual ()
#8  0x00959ebc in ~shared_count [inlined] () at /Users/ewencp/sirikata.git/dependencies/installed-boost/include/boost/smart_ptr/detail/shared_count.hpp:79
#9  0x00959ebc in notify<void (Sirikata::ProxyCreationListener::*)(Sirikata::ProxyObjectPtr), boost::shared_ptr<Sirikata::ProxyObject> > [inlined] () at /Users/ewencp/sirikata.git/libcore/include/sirikata/core/util/ListenerProvider.hpp:169
#10 0x00959ebc in Sirikata::ProxyManager::destroy (this=0x9965b70) at ListenerProvider.hpp:72
#11 0x00a7da02 in boost::shared_ptr<Sirikata::Network::IOTimer>::operator-> () at /Users/ewencp/sirikata.git/dependencies/installed-boost/include/boost/smart_ptr/shared_ptr.hpp:40
#12 0x00a7da02 in Sirikata::PerPresenceData::~PerPresenceData (this=0x9980bd0) at /Users/ewencp/sirikata.git/liboh/src/PerPresenceData.cpp:42
#13 0x00a56964 in Sirikata::HostedObject::destroy (this=0x851d710, need_self=true) at /Users/ewencp/sirikata.git/liboh/src/HostedObject.cpp:210
#14 0x00a3f8e2 in Sirikata::ObjectHost::~ObjectHost (this=0x995d5c0) at /Users/ewencp/sirikata.git/liboh/src/ObjectHost.cpp:103
#15 0x0001b207 in Sirikata::CppohObjectHost::~CppohObjectHost () at char_traits.h:256
#16 0x0000a577 in main () at system/error_code.hpp:315

Happens consistently on mac when connected to a remote space server.

ewencp commented 12 years ago

I can't trigger this anymore in 0.0.24+. There were some recent fixes to HostedObject::destroy which probably took care of this.