daemon: abort when quiting
Issue generated from Tuleap's migration script. Originally submitted by: Guillaume Roguez (guillaume)
Get an abort signal when CTRL-C the daemon.
Not easy to reproduce.
GDB trace:
\#0 0x00000037962349c8 in \_\_GI\_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 \#1 0x000000379623665a in \_\_GI\_abort () at abort.c:89 \#2 0x000000379622d187 in \_\_assert\_fail\_base (fmt=<optimized out>, assertion=assertion@entry=0x77acd0 "mod\_tsx\_layer.endpt==((void \*)0)", file=file@entry=0x77ac10 "../src/pjsip/sip\_transaction.c", line=line@entry=434, function=function@entry=0x77b930 <\_\_PRETTY\_FUNCTION\_\_.6866> "pjsip\_tsx\_layer\_init\_module") at assert.c:92 \#3 0x000000379622d232 in \_\_GI\_\_\_assert\_fail (assertion=0x77acd0 "mod\_tsx\_layer.endpt==((void \*)0)", file=0x77ac10 "../src/pjsip/sip\_transaction.c", line=434, function=0x77b930 <\_\_PRETTY\_FUNCTION\_\_.6866> "pjsip\_tsx\_layer\_init\_module") at assert.c:101 \#4 0x0000000000657a07 in pjsip\_tsx\_layer\_init\_module () \#5 0x00000000005a50d5 in ring::SIPVoIPLink::SIPVoIPLink (this=0x104f350) at sipvoiplink.cpp:531 \#6 0x00000000005b176c in \_\_gnu\_cxx::new\_allocator<ring::SIPVoIPLink>::construct<ring::SIPVoIPLink> (this=0x7fffffffc417, \_\_p=0x104f350) at /usr/include/c++/5.1.1/ext/new\_allocator.h:120 \#7 0x00000000005b146d in std::allocator\_traits<std::allocator<ring::SIPVoIPLink> >::\_S\_construct<ring::SIPVoIPLink> (\_\_a=..., \_\_p=0x104f350) at /usr/include/c++/5.1.1/bits/alloc\_traits.h:256 \#8 0x00000000005b10f7 in std::allocator\_traits<std::allocator<ring::SIPVoIPLink> >::construct<ring::SIPVoIPLink> (\_\_a=..., \_\_p=0x104f350) at /usr/include/c++/5.1.1/bits/alloc\_traits.h:402 \#9 0x00000000005b0b07 in std::\_Sp\_counted\_ptr\_inplace<ring::SIPVoIPLink, std::allocator<ring::SIPVoIPLink>, (\_\_gnu\_cxx::\_Lock\_policy)2>::\_Sp\_counted\_ptr\_inplace<>(std::allocator<ring::SIPVoIPLink>) (this=0x104f340, \_\_a=...) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:522 \#10 0x00000000005b0264 in std::\_\_shared\_count<(\_\_gnu\_cxx::\_Lock\_policy)2>::\_\_shared\_count<ring::SIPVoIPLink, std::allocator<ring::SIPVoIPLink>>(std::\_Sp\_make\_shared\_tag, ring::SIPVoIPLink\*, std::allocator<ring::SIPVoIPLink> const&) (this=0x7fffffffc558, \_\_a=...) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:617 \#11 0x00000000005af790 in std::\_\_shared\_ptr<ring::SIPVoIPLink, (\_\_gnu\_cxx::\_Lock\_policy)2>::\_\_shared\_ptr<std::allocator<ring::SIPVoIPLink>>(std::\_Sp\_make\_shared\_tag, std::allocator<ring::SIPVoIPLink> const&) (this=0x7fffffffc550, \_\_tag=..., \_\_a=...) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:1097 \#12 0x00000000005aed46 in std::shared\_ptr<ring::SIPVoIPLink>::shared\_ptr<std::allocator<ring::SIPVoIPLink>>(std::\_Sp\_make\_shared\_tag, std::allocator<ring::SIPVoIPLink> const&) ( this=0x7fffffffc550, \_\_tag=..., \_\_a=...) at /usr/include/c++/5.1.1/bits/shared\_ptr.h:319 \#13 0x00000000005adc07 in std::allocate\_shared<ring::SIPVoIPLink, std::allocator<ring::SIPVoIPLink>>(std::allocator<ring::SIPVoIPLink> const&) (\_\_a=...) at /usr/include/c++/5.1.1/bits/shared\_ptr.h:614 \#14 0x00000000005ac718 in std::make\_shared<ring::SIPVoIPLink> () at /usr/include/c++/5.1.1/bits/shared\_ptr.h:630 \#15 0x00000000005ab659 in ring::getGlobalInstance<ring::SIPVoIPLink, -1> () at /home/yomgui/Projects/ring-daemon/src/ring\_types.h:66 \#16 0x00000000005a485e in ring::tp\_state\_callback (tp=0x1194120, state=PJSIP\_TP\_STATE\_SHUTDOWN, info=0x7fffffffc600) at sipvoiplink.cpp:459 \#17 0x000000000064adfc in pjsip\_transport\_shutdown () \#18 0x0000000000597338 in ring::SipTransportBroker::shutdown (this=0xb3c6c0) at siptransport.cpp:287 \#19 0x00000000005a5d10 in ring::SIPVoIPLink::\~SIPVoIPLink (this=0xbbc020, \_\_in\_chrg=<optimized out>) at sipvoiplink.cpp:607 ---Type <return> to continue, or q <return> to quit--- \#20 0x00000000005b1d52 in \_\_gnu\_cxx::new\_allocator<ring::SIPVoIPLink>::destroy<ring::SIPVoIPLink> (this=0xbbc020, \_\_p=0xbbc020) at /usr/include/c++/5.1.1/ext/new\_allocator.h:124 \#21 0x00000000005b1d33 in std::allocator\_traits<std::allocator<ring::SIPVoIPLink> >::\_S\_destroy<ring::SIPVoIPLink> (\_\_a=..., \_\_p=0xbbc020) at /usr/include/c++/5.1.1/bits/alloc\_traits.h:285 \#22 0x00000000005b1cff in std::allocator\_traits<std::allocator<ring::SIPVoIPLink> >::destroy<ring::SIPVoIPLink> (\_\_a=..., \_\_p=0xbbc020) at /usr/include/c++/5.1.1/bits/alloc\_traits.h:414 \#23 0x00000000005b1c13 in std::\_Sp\_counted\_ptr\_inplace<ring::SIPVoIPLink, std::allocator<ring::SIPVoIPLink>, (\_\_gnu\_cxx::\_Lock\_policy)2>::\_M\_dispose (this=0xbbc010) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:531 \#24 0x000000000042cbd2 in std::\_Sp\_counted\_base<(\_\_gnu\_cxx::\_Lock\_policy)2>::\_M\_release (this=0xbbc010) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:150 \#25 0x0000000000422bcb in std::\_\_shared\_count<(\_\_gnu\_cxx::\_Lock\_policy)2>::\~\_\_shared\_count (this=0xbda598, \_\_in\_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:659 \#26 0x0000000000532498 in std::\_\_shared\_ptr<ring::SIPVoIPLink, (\_\_gnu\_cxx::\_Lock\_policy)2>::\~\_\_shared\_ptr (this=0xbda590, \_\_in\_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:925 \#27 0x00000000005324b4 in std::shared\_ptr<ring::SIPVoIPLink>::\~shared\_ptr (this=0xbda590, \_\_in\_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/shared\_ptr.h:93 \#28 0x0000000000588846 in ring::SIPAccountBase::\~SIPAccountBase (this=0xbd9ac0, \_\_in\_chrg=<optimized out>) at sipaccountbase.cpp:51 \#29 0x000000000049e76d in ring::RingAccount::\~RingAccount (this=0xbd9ac0, \_\_in\_chrg=<optimized out>) at ringaccount.cpp:145 \#30 0x000000000051aad5 in \_\_gnu\_cxx::new\_allocator<ring::RingAccount>::destroy<ring::RingAccount> (this=0xbd9ac0, \_\_p=0xbd9ac0) at /usr/include/c++/5.1.1/ext/new\_allocator.h:124 \#31 0x000000000051aa47 in std::allocator\_traits<std::allocator<ring::RingAccount> >::\_S\_destroy<ring::RingAccount> (\_\_a=..., \_\_p=0xbd9ac0) at /usr/include/c++/5.1.1/bits/alloc\_traits.h:285 \#32 0x000000000051a993 in std::allocator\_traits<std::allocator<ring::RingAccount> >::destroy<ring::RingAccount> (\_\_a=..., \_\_p=0xbd9ac0) at /usr/include/c++/5.1.1/bits/alloc\_traits.h:414 \#33 0x000000000051a5f7 in std::\_Sp\_counted\_ptr\_inplace<ring::RingAccount, std::allocator<ring::RingAccount>, (\_\_gnu\_cxx::\_Lock\_policy)2>::\_M\_dispose (this=0xbd9ab0) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:531 \#34 0x000000000042cbd2 in std::\_Sp\_counted\_base<(\_\_gnu\_cxx::\_Lock\_policy)2>::\_M\_release (this=0xbd9ab0) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:150 \#35 0x0000000000422bcb in std::\_\_shared\_count<(\_\_gnu\_cxx::\_Lock\_policy)2>::\~\_\_shared\_count (this=0xbdce30, \_\_in\_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:659 \#36 0x0000000000472d98 in std::\_\_shared\_ptr<ring::Account, (\_\_gnu\_cxx::\_Lock\_policy)2>::\~\_\_shared\_ptr (this=0xbdce28, \_\_in\_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:925 \#37 0x0000000000472db4 in std::shared\_ptr<ring::Account>::\~shared\_ptr (this=0xbdce28, \_\_in\_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/shared\_ptr.h:93 \#38 0x000000000051381e in std::pair<std::string const, std::shared\_ptr<ring::Account> >::\~pair (this=0xbdce20, \_\_in\_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/stl\_pair.h:96 \#39 0x000000000051a21e in \_\_gnu\_cxx::new\_allocator<std::\_Rb\_tree\_node<std::pair<std::string const, std::shared\_ptr<ring::Account> > > >::destroy<std::pair<std::string const, std::shared\_ptr<ring::Account> > > (this=0xbdcf88, \_\_p=0xbdce20) at /usr/include/c++/5.1.1/ext/new\_allocator.h:124 \#40 0x000000000051a12e in std::allocator\_traits<std::allocator<std::\_Rb\_tree\_node<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > >::\_S\_destroy<std::pair<std::string const, std::shared\_ptr<ring::Account> > > (\_\_a=..., \_\_p=0xbdce20) at /usr/include/c++/5.1.1/bits/alloc\_traits.h:285 \#41 0x0000000000519fb4 in std::allocator\_traits<std::allocator<std::\_Rb\_tree\_node<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > >::destroy<std::pair<std::string const, st---Type <return> to continue, or q <return> to quit--- d::shared\_ptr<ring::Account> > > (\_\_a=..., \_\_p=0xbdce20) at /usr/include/c++/5.1.1/bits/alloc\_traits.h:414 \#42 0x0000000000519b69 in std::\_Rb\_tree<std::string, std::pair<std::string const, std::shared\_ptr<ring::Account> >, std::\_Select1st<std::pair<std::string const, std::shared\_ptr<ring::Account> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > >::\_M\_destroy\_node (this=0xbdcf88, \_\_p=0xbdce00) at /usr/include/c++/5.1.1/bits/stl\_tree.h:553 \#43 0x000000000051955d in std::\_Rb\_tree<std::string, std::pair<std::string const, std::shared\_ptr<ring::Account> >, std::\_Select1st<std::pair<std::string const, std::shared\_ptr<ring::Account> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > >::\_M\_drop\_node (this=0xbdcf88, \_\_p=0xbdce00) at /usr/include/c++/5.1.1/bits/stl\_tree.h:561 \#44 0x0000000000518b52 in std::\_Rb\_tree<std::string, std::pair<std::string const, std::shared\_ptr<ring::Account> >, std::\_Select1st<std::pair<std::string const, std::shared\_ptr<ring::Account> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > >::\_M\_erase (this=0xbdcf88, \_\_x=0xbdce00) at /usr/include/c++/5.1.1/bits/stl\_tree.h:1614 \#45 0x00000000005196ea in std::\_Rb\_tree<std::string, std::pair<std::string const, std::shared\_ptr<ring::Account> >, std::\_Select1st<std::pair<std::string const, std::shared\_ptr<ring::Account> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > >::\~\_Rb\_tree (this=0xbdcf88, \_\_in\_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/stl\_tree.h:858 \#46 0x0000000000518e68 in std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > >::\~map (this=0xbdcf88, \_\_in\_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/stl\_map.h:96 \#47 0x0000000000518e88 in std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > >::\~pair (this=0xbdcf80, \_\_in\_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/stl\_pair.h:96 \#48 0x0000000000518eb4 in \_\_gnu\_cxx::new\_allocator<std::\_Rb\_tree\_node<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > > >::destroy<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > > (this=0xadb708 <ring::Manager::instance()::instance\_+936>, \_\_p=0xbdcf80) at /usr/include/c++/5.1.1/ext/new\_allocator.h:124 \#49 0x0000000000518180 in std::allocator\_traits<std::allocator<std::\_Rb\_tree\_node<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > > > >::\_S\_destroy<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > > (\_\_a=..., \_\_p=0xbdcf80) at /usr/include/c++/5.1.1/bits/alloc\_traits.h:285 \#50 0x00000000005177c1 in std::allocator\_traits<std::allocator<std::\_Rb\_tree\_node<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > > > >::destroy<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > > (\_\_a=..., \_\_p=0xbdcf80) at /usr/include/c++/5.1.1/bits/alloc\_traits.h:414 \#51 0x00000000005167dd in std::\_Rb\_tree<std::string, std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::---Type <return> to continue, or q <return> to quit--- string const, std::shared\_ptr<ring::Account> > > > >, std::\_Select1st<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > > >::\_M\_destroy\_node ( this=0xadb708 <ring::Manager::instance()::instance\_+936>, \_\_p=0xbdcf60) at /usr/include/c++/5.1.1/bits/stl\_tree.h:553 \#52 0x0000000000515091 in std::\_Rb\_tree<std::string, std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > >, std::\_Select1st<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > > >::\_M\_drop\_node (this=0xadb708 <ring::Manager::instance()::instance\_+936>, \_\_p=0xbdcf60) at /usr/include/c++/5.1.1/bits/stl\_tree.h:561 \#53 0x000000000051428c in std::\_Rb\_tree<std::string, std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > >, std::\_Select1st<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > > >::\_M\_erase (this=0xadb708 <ring::Manager::instance()::instance\_+936>, \_\_x=0xbdcf60) at /usr/include/c++/5.1.1/bits/stl\_tree.h:1614 \#54 0x0000000000514b14 in std::\_Rb\_tree<std::string, std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > >, std::\_Select1st<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > > >::clear (this=0xadb708 <ring::Manager::instance()::instance\_+936>) at /usr/include/c++/5.1.1/bits/stl\_tree.h:1075 \#55 0x0000000000513f6c in std::map<std::string, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::map<std::string, std::shared\_ptr<ring::Account>, std::less<std::string>, std::allocator<std::pair<std::string const, std::shared\_ptr<ring::Account> > > > > > >::clear (this=0xadb708 <ring::Manager::instance()::instance\_+936>) at /usr/include/c++/5.1.1/bits/stl\_map.h:807 \#56 0x0000000000510a7b in ring::AccountFactory::clear<ring::Account> (this=0xadb6b0 <ring::Manager::instance()::instance\_+848>) at account\_factory.cpp:132 \#57 0x00000000005238fc in ring::Manager::finish (this=0xadb360 <ring::Manager::instance()::instance\_>) at manager.cpp:359 \#58 0x000000000046d5c8 in DRing::fini () at ring\_api.cpp:71 \#59 0x000000000041d7f1 in DBusClient::finiLibrary (this=0xb24d60) at dbusclient.cpp:223 \#60 0x000000000041d9c8 in DBusClient::exit (this=0xb24d60) at dbusclient.cpp:248 \#61 0x000000000041953a in interrupt () at main.cpp:147 ---Type <return> to continue, or q <return> to quit--- \#62 0x00000000004195bc in signal\_handler (code=15) at main.cpp:161 \#63 <signal handler called> \#64 0x000000379660859b in pthread\_join (threadid=140735961597696, thread\_return=0x0) at pthread\_join.c:90 \#65 0x000000379a2b9277 in \_\_gthread\_join (\_\_value\_ptr=0x0, \_\_threadid=<optimized out>) at /usr/src/debug/gcc-5.1.1-20150618/obj-x86\_64-redhat-linux/x86\_64-redhat-linux/libstdc++-v3/include/x86\_64-redhat-linux/bits/gthr-default.h:668 \#66 std::thread::join (this=0xd1a3f0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:107 \#67 0x000000000054bcd7 in ring::ThreadLoop::join (this=0xd1a378) at threadloop.cpp:108 \#68 0x00000000004fd95a in ring::video::VideoInput::\~VideoInput (this=0xd1a240, \_\_in\_chrg=<optimized out>) at video\_input.cpp:54 \#69 0x00000000004820af in \_\_gnu\_cxx::new\_allocator<ring::video::VideoInput>::destroy<ring::video::VideoInput> (this=0xd1a240, \_\_p=0xd1a240) at /usr/include/c++/5.1.1/ext/new\_allocator.h:124 \#70 0x0000000000482089 in std::allocator\_traits<std::allocator<ring::video::VideoInput> >::\_S\_destroy<ring::video::VideoInput> (\_\_a=..., \_\_p=0xd1a240) at /usr/include/c++/5.1.1/bits/alloc\_traits.h:285 \#71 0x0000000000482055 in std::allocator\_traits<std::allocator<ring::video::VideoInput> >::destroy<ring::video::VideoInput> (\_\_a=..., \_\_p=0xd1a240) at /usr/include/c++/5.1.1/bits/alloc\_traits.h:414 \#72 0x0000000000481f69 in std::\_Sp\_counted\_ptr\_inplace<ring::video::VideoInput, std::allocator<ring::video::VideoInput>, (\_\_gnu\_cxx::\_Lock\_policy)2>::\_M\_dispose (this=0xd1a230) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:531 \#73 0x000000000042cbd2 in std::\_Sp\_counted\_base<(\_\_gnu\_cxx::\_Lock\_policy)2>::\_M\_release (this=0xd1a230) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:150 \#74 0x0000000000422bcb in std::\_\_shared\_count<(\_\_gnu\_cxx::\_Lock\_policy)2>::\~\_\_shared\_count (this=0x7fffffffd538, \_\_in\_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:659 \#75 0x0000000000480a98 in std::\_\_shared\_ptr<ring::video::VideoFrameActiveWriter, (\_\_gnu\_cxx::\_Lock\_policy)2>::\~\_\_shared\_ptr (this=0x7fffffffd530, \_\_in\_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:925 \#76 0x0000000000480ee7 in std::\_\_shared\_ptr<ring::video::VideoFrameActiveWriter, (\_\_gnu\_cxx::\_Lock\_policy)2>::reset (this=0xd6d540) at /usr/include/c++/5.1.1/bits/shared\_ptr\_base.h:1022 \#77 0x00000000005fb797 in ring::video::VideoRtpSession::setupVideoPipeline (this=0xd6d358) at video\_rtp\_session.cpp:215 \#78 0x00000000005fb32b in ring::video::VideoRtpSession::start (this=0xd6d358, rtp\_sock=..., rtcp\_sock=...) at video\_rtp\_session.cpp:173 \#79 0x000000000058e556 in ring::SIPCall::startAllMedia (this=0xd6d1b0) at sipcall.cpp:856 \#80 0x000000000058ec75 in ring::SIPCall::<lambda()>::operator()(void) const (\_\_closure=0xb7ba00) at sipcall.cpp:944 \#81 0x00000000005904d4 in std::\_Function\_handler<bool(), ring::SIPCall::onMediaUpdate()::<lambda()> >::\_M\_invoke(const std::\_Any\_data &) (\_\_functor=...) at /usr/include/c++/5.1.1/functional:1857 \#82 0x0000000000533e9e in std::function<bool ()>::operator()() const (this=0x1222bd0) at /usr/include/c++/5.1.1/functional:2271 ---Type <return> to continue, or q <return> to quit--- \#83 0x000000000052945f in ring::Manager::pollEvents (this=0xadb360 <ring::Manager::instance()::instance\_>) at manager.cpp:1425 \#84 0x000000000046d5dc in DRing::pollEvents () at ring\_api.cpp:77 \#85 0x000000000042c196 in std::\_Function\_handler<void (), void (\*)()>::\_M\_invoke(std::\_Any\_data const&) (\_\_functor=...) at /usr/include/c++/5.1.1/functional:1871 \#86 0x0000000000421748 in std::function<void ()>::operator()() const (this=0xb26598) at /usr/include/c++/5.1.1/functional:2271 \#87 0x0000000000420796 in EventCallback::call (this=0xb26590) at dbusclient.cpp:59 \#88 0x0000003796a15143 in DBus::DefaultMainLoop::dispatch() () from /lib64/libdbus-c++-1.so.0 \#89 0x0000003796a15dbc in DBus::BusDispatcher::enter() () from /lib64/libdbus-c++-1.so.0 \#90 0x000000000041d81e in DBusClient::event\_loop (this=0xb24d60) at dbusclient.cpp:230 \#91 0x000000000041950d in run () at main.cpp:139 \#92 0x0000000000419745 in main (argc=4, argv=0x7fffffffdfd8) at main.cpp:200