sirikata/sirikata — Issue #492: Crash on exit on Mac
Author: ewencp
Created: 2012-02-01 21:16:30+00:00
State: open

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 > [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::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.