AudioInput segfault at the end of a call
From someone via IRC:
#0 0x0000000000000000 in ?? ()
#1 0x0000561a07b786c7 in jami::Observable<std::shared_ptr<DRing::MediaFrame> >::~Observable (this=0x7f8008036130, __in_chrg=<optimized out>) at ./daemon/src/observer.h:50
#2 jami::AudioInput::~AudioInput (this=0x7f8008036130, __in_chrg=<optimized out>)
at audio_input.cpp:57
#3 0x0000561a07b7905a in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (
this=0x7f8008036120) at /usr/include/c++/6/bits/shared_ptr_base.h:150
#4 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (
this=0x561a0b097318, __in_chrg=<optimized out>)
at /usr/include/c++/6/bits/shared_ptr_base.h:662
#5 std::__shared_ptr<jami::AudioInput, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (
this=0x561a0b097310, __in_chrg=<optimized out>)
at /usr/include/c++/6/bits/shared_ptr_base.h:928
#6 std::shared_ptr<jami::AudioInput>::~shared_ptr (this=0x561a0b097310,
__in_chrg=<optimized out>) at /usr/include/c++/6/bits/shared_ptr.h:93
#7 jami::AudioRtpSession::~AudioRtpSession (this=0x561a0b096f90,
__in_chrg=<optimized out>) at audio_rtp_session.cpp:58
#8 0x0000561a07b790b9 in jami::AudioRtpSession::~AudioRtpSession (this=0x561a0b096f90,
__in_chrg=<optimized out>) at audio_rtp_session.cpp:61
#9 0x0000561a07b4ee2e in std::default_delete<jami::AudioRtpSession>::operator() (
this=<optimized out>, __ptr=<optimized out>)
at /usr/include/c++/6/bits/unique_ptr.h:76
#10 std::unique_ptr<jami::AudioRtpSession, std::default_delete<jami::AudioRtpSession> >::~unique_ptr (this=0x561a0b098388, __in_chrg=<optimized out>)
at /usr/include/c++/6/bits/unique_ptr.h:239
#11 jami::SIPCall::~SIPCall (this=0x561a0b0981a0, __in_chrg=<optimized out>)
at sipcall.cpp:103
#12 0x0000561a07b4ada5 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (
this=0x561a0b098190) at /usr/include/c++/6/bits/shared_ptr_base.h:150
#13 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (
this=<synthetic pointer>, __in_chrg=<optimized out>)
at /usr/include/c++/6/bits/shared_ptr_base.h:662
#14 std::__shared_ptr<jami::SIPCall, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (
this=<synthetic pointer>, __in_chrg=<optimized out>)
at /usr/include/c++/6/bits/shared_ptr_base.h:928
#15 std::shared_ptr<jami::SIPCall>::~shared_ptr (this=<synthetic pointer>,
__in_chrg=<optimized out>) at /usr/include/c++/6/bits/shared_ptr.h:93
#16 jami::SIPCall::<lambda()>::operator() (__closure=<optimized out>) at sipcall.cpp:396
#17 std::_Function_handler<void(), jami::SIPCall::hangup(int)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/6/functional:1731
#18 0x0000561a07da1f5e in std::function<void ()>::operator()() const (
this=0x7f80077fc790) at /usr/include/c++/6/functional:2127
#19 dht::ThreadPool::<lambda()>::operator() (__closure=0x7f7ff0000e08)
at thread_pool.cpp:97
#20 std::_Bind_simple<dht::ThreadPool::run(std::function<void()>&&)::<lambda()>()>::_M_invoke<> (this=0x7f7ff0000e08) at /usr/include/c++/6/functional:1391
#21 std::_Bind_simple<dht::ThreadPool::run(std::function<void()>&&)::<lambda()>()>::operator() (this=0x7f7ff0000e08) at /usr/include/c++/6/functional:1380
#22 std::thread::_State_impl<std::_Bind_simple<dht::ThreadPool::run(std::function<void()>&&)::<lambda()>()> >::_M_run(void) (this=0x7f7ff0000e00) at /usr/include/c++/6/thread:197
#23 0x00007f804a17cb2f in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#24 0x00007f804ab65fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#25 0x00007f8049e5c4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95