Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPNP related crash in RetroShare-0.6.5 + libupnp-1.6.* #1837

Open
G10h4ck opened this issue Mar 28, 2020 · 6 comments
Open

UPNP related crash in RetroShare-0.6.5 + libupnp-1.6.* #1837

G10h4ck opened this issue Mar 28, 2020 · 6 comments

Comments

@G10h4ck
Copy link
Contributor

G10h4ck commented Mar 28, 2020

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Caught signal 6 (SIGABRT)
stack trace:
retroshare(+0xa9eb94)[0x55603529ab94]
retroshare(_ZN15CrashStackTrace12abortHandlerEi+0xeb)[0x55603529b00a]
/lib64/libc.so.6(+0x38f80)[0x7f63d0607f80]
/lib64/libc.so.6(gsignal+0x141)[0x7f63d0607ec1]
/lib64/libc.so.6(abort+0x121)[0x7f63d05f1535]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so.6(+0xa069e)[0x7f63d09a369e]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so.6(+0xcf7a6)[0x7f63d09d27a6]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so.6(+0xcf7f1)[0x7f63d09d27f1]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so.6(+0xcfa24)[0x7f63d09d2a24]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so.6(_ZSt19__throw_logic_errorPKc+0x3d)[0x7f63d09a5dae]
retroshare(_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag+0xcc)[0x556035e340ac]
retroshare(_ZN17CUPnPControlPoint21PrivateAddPortMappingER16CUPnPPortMapping+0x56)[0x556035d164ce]
retroshare(_ZN17CUPnPControlPoint15AddPortMappingsERSt6vectorI16CUPnPPortMappingSaIS1_EE+0x203)[0x556035d15e7b]
retroshare(_ZN11upnphandler10start_upnpEv+0x417)[0x5560359a0729]
retroshare(doSetupUPnP+0x76)[0x5560359a01ff]
/lib64/libpthread.so.0(+0x8427)[0x7f63d0b80427]
/lib64/libc.so.6(clone+0x3f)[0x7f63d06d42bf]
Memory still in use at end of program: 442552 bytes.
@G10h4ck G10h4ck added the 0.6.6 blocker Bugs considered blockers for next retroshare release label Mar 28, 2020
@G10h4ck
Copy link
Contributor Author

G10h4ck commented May 31, 2020

Got a crash that seems related with RetroShare 0.6.5-1542-g2ae21ca80 + libupnp 1.6.25

CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:274372a4-a2ea-11ea-89fb-e5383f2c0c4a'.
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:27797e6c-a2ea-11ea-89fb-e5383f2c0c4a'.
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:27b95faa-a2ea-11ea-89fb-e5383f2c0c4a'.
Cleaning unused keys:
Collected 0 keys to delete among 1685
(II) Saving configuration file /home/gio/.retroshare/LOC06_d441e8890164a0f335ad75acc59b5a49/config/identity.cfg
(WW) Checking group signature with old api version 2 : tag 0 result: 0
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:293bd79a-a2ea-11ea-89fb-e5383f2c0c4a'.
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:29937a7c-a2ea-11ea-89fb-e5383f2c0c4a'.
(WW) Checking group signature with old api version 2 : tag 0 result: 0
Sending new format (fast) item for packet IV=6b339d09a8c0068 in tunnel VPID=6625173a000000000000000000000000
(WW) Checking group signature with old api version 2 : tag 0 result: 0
(II) Saving configuration file /home/gio/.retroshare/LOC06_d441e8890164a0f335ad75acc59b5a49/config/identity.cfg
(WW) Checking group signature with old api version 2 : tag 0 result: 0
(WW) Checking group signature with old api version 2 : tag 0 result: 0
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:2c1b4cc0-a2ea-11ea-89fb-e5383f2c0c4a'.
Caught signal 11 (SIGSEGV)
stack trace:
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(+0xbec9f8)[0x5615e94cb9f8]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN15CrashStackTrace12abortHandlerEi+0xeb)[0x5615e94d3356]
/lib64/libc.so.6(+0x385f0)[0x7f89ff58e5f0]
/lib64/libc.so.6(+0x151864)[0x7f89ff6a7864]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_+0x28)[0x7f89ff9d67e8]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZStltIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESA_+0x23)[0x5615e94d4190]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNKSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS5_S8_+0x27)[0x5615e94d4faf]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE14_M_lower_boundEPSt13_Rb_tree_nodeIS8_EPSt18_Rb_tree_node_baseRS7_+0x54)[0x5615e9b3b898]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE11lower_boundERS7_+0x45)[0x5615e9b3b95d]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE11lower_boundERS9_+0x23)[0x5615e9b3b331]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEixERS9_+0x33)[0x5615e9b3add3]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN17CUPnPControlPoint15OnEventReceivedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiPK14_IXML_Document+0x194)[0x5615ea0de6e4]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN17CUPnPControlPoint8CallbackE16Upnp_EventType_ePKvPv+0x44c)[0x5615ea0dddae]
/usr/lib64/libupnp.so.6(+0x1b746)[0x7f8a011da746]
/usr/lib64/libupnp.so.6(+0xca4f)[0x7f8a011cba4f]
/usr/lib64/libthreadutil.so.6(+0x30e1)[0x7f8a011aa0e1]
/lib64/libpthread.so.0(+0x7e97)[0x7f89ffae1e97]
/lib64/libc.so.6(clone+0x3f)[0x7f89ff64e6ff]
E 1590893723.661 virtual RsThread::~RsThread() deleting thread: 140229457467136 gxs trans ns that is still running! Something seems very wrong here and RetroShare is likely to crash because of this.
stack trace:
Caught signal 11 (SIGSEGV)
stack trace:
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsThread::~RsThread()+0x103
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsTickingThread::~RsTickingThread()+0x2a
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : p3ThreadedService::~p3ThreadedService()+0x41
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsGxsNetService::~RsGxsNetService()+0x3a9
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsGxsNetService::~RsGxsNetService()+0x18
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsGenExchange::~RsGenExchange()+0x6a
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : p3GxsTrans::~p3GxsTrans()+0x23e
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : p3GxsTrans::~p3GxsTrans()+0x18
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsServer::~RsServer()+0x50
  /lib64/libc.so.6 : ()+0x3ac33
  /lib64/libc.so.6 : ()+0x3adea
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::char_traits<char>::length(char const*)+0
  /lib64/libc.so.6 : ()+0x385f0
  /lib64/libc.so.6 : ()+0x151864
  /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6 : std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x28
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : bool std::operator< <char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x23
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x27
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(+0xbec9f8)[0x5615e94cb9f8]
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_lower_bound(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, std::_Rb_tree_node_base*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x54
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::lower_bound(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x45
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::lower_bound(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x23
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x33
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : CUPnPControlPoint::OnEventReceived(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, _IXML_Document const*)+0x194
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : CUPnPControlPoint::Callback(Upnp_EventType_e, void const*, void*)+0x44c
  /usr/lib64/libupnp.so.6 : ()+0x1b746
  /usr/lib64/libupnp.so.6 : ()+0xca4f
  /usr/lib64/libthreadutil.so.6 : ()+0x30e1
  /lib64/libpthread.so.0 : ()+0x7e97
  /lib64/libc.so.6 : clone()+0x3f
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN15CrashStackTrace12abortHandlerEi+0xeb)[0x5615e94d3356]
/lib64/libc.so.6(+0x385f0)[0x7f89ff58e5f0]
/usr/lib64/libQt5Core.so.5(_ZN31QAbstractEventDispatcherPrivate15allocateTimerIdEv+0x47)[0x7f89ffdeff37]
/usr/lib64/libQt5Core.so.5(_ZN24QAbstractEventDispatcher13registerTimerEiN2Qt9TimerTypeEP7QObject+0x19)[0x7f89ffdf0359]
/usr/lib64/libQt5Core.so.5(_ZN7QObject10startTimerEiN2Qt9TimerTypeE+0x6c)[0x7f89ffe2055c]
/usr/lib64/libQt5Core.so.5(_ZN6QTimer5startEv+0x3c)[0x7f89ffe291fc]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN16RsAutoUpdatePage11timerUpdateEv+0x28)[0x5615e9578840]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(+0x11cfa44)[0x5615e9aaea44]
/usr/lib64/libQt5Core.so.5(+0x2a58ac)[0x7f89ffe258ac]
/usr/lib64/libQt5Core.so.5(_ZN6QTimer7timeoutENS_14QPrivateSignalE+0x37)[0x7f89ffe28f27]
/usr/lib64/libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0x1c5)[0x7f89ffe1dfa5]
/usr/lib64/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x7f)[0x7f8a00ab6c7f]
/usr/lib64/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x330)[0x7f8a00abfd70]
/usr/lib64/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x7e)[0x7f89ffdf2bee]
/usr/lib64/libQt5Core.so.5(_ZN14QTimerInfoList14activateTimersEv+0x3ab)[0x7f89ffe45f9b]
/usr/lib64/libQt5Core.so.5(+0x2c685c)[0x7f89ffe4685c]
/usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x27c)[0x7f89fedb2b0c]
/usr/lib64/libglib-2.0.so.0(+0x4fd88)[0x7f89fedb2d88]
/usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x2f)[0x7f89fedb2e1f]
/usr/lib64/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x60)[0x7f89ffe46ca0]
/usr/lib64/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x12b)[0x7f89ffdf1a9b]
/usr/lib64/libQt5Core.so.5(_ZN16QCoreApplication4execEv+0x92)[0x7f89ffdf9842]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(main+0x2657)[0x5615e94cf824]
/lib64/libc.so.6(__libc_start_main+0xeb)[0x7f89ff579e1b]
pure virtual method called
terminate called without an active exception
Caught signal 6 (SIGABRT)
stack trace:
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_start+0x2a)[0x5615e9499d0a]
Memory still in use at end of program: 6130264 bytes.
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(+0xbec9f8)[0x5615e94cb9f8]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN15CrashStackTrace12abortHandlerEi+0xeb)[0x5615e94d3356]
/lib64/libc.so.6(+0x385f0)[0x7f89ff58e5f0]
/lib64/libc.so.6(gsignal+0x141)[0x7f89ff58e571]
/lib64/libc.so.6(abort+0x127)[0x7f89ff57855b]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(+0xa1745)[0x7f89ff902745]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(+0xd15d6)[0x7f89ff9325d6]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(+0xd1641)[0x7f89ff932641]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(+0xd237f)[0x7f89ff93337f]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN13RsGenExchange4tickEv+0x1ba)[0x5615e9ce2244]

@G10h4ck
Copy link
Contributor Author

G10h4ck commented May 31, 2020

yet another of them

(II) Saving configuration file /home/gio/.retroshare/LOC06_d441e8890164a0f335ad75acc59b5a49/config/grouter.cfg
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:2aa2055c-a342-11ea-b033-c5566eba877c'.
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:2b03ad3e-a342-11ea-b033-c5566eba877c'.
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:2b62cc74-a342-11ea-b033-c5566eba877c'.
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:2bce1bbe-a342-11ea-b033-c5566eba877c'.
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:2bed1fa0-a342-11ea-b033-c5566eba877c'.
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:2c0b3210-a342-11ea-b033-c5566eba877c'.
Sending new format (fast) item for packet IV=cabbc4835838318 in tunnel VPID=d72d6f24000000000000000000000000
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:2c5a6a56-a342-11ea-b033-c5566eba877c'.
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:2d01ef42-a342-11ea-b033-c5566eba877c'.
(WW) Checking group signature with old api version 2 : tag 0 result: 0
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:2f3d5ddc-a342-11ea-b033-c5566eba877c'.
Caught signal 11 (SIGSEGV)
stack trace:
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(+0xbec9f8)[0x5599192669f8]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN15CrashStackTrace12abortHandlerEi+0xeb)[0x55991926e356]
/lib64/libc.so.6(+0x385f0)[0x7f55ead3f5f0]
/lib64/libc.so.6(+0x151864)[0x7f55eae58864]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_+0x28)[0x7f55eb1877e8]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZStltIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESA_+0x23)[0x55991926f190]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNKSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS5_S8_+0x27)[0x55991926ffaf]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS7_+0x93)[0x5599198d6a7d]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_+0x93)[0x5599198d6407]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEixERS9_+0xee)[0x5599198d5e8e]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN17CUPnPControlPoint15OnEventReceivedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiPK14_IXML_Document+0x194)[0x559919e796e4]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN17CUPnPControlPoint8CallbackE16Upnp_EventType_ePKvPv+0x44c)[0x559919e78dae]
/usr/lib64/libupnp.so.6(+0x1b746)[0x7f55ec98b746]
/usr/lib64/libupnp.so.6(+0xca4f)[0x7f55ec97ca4f]
/usr/lib64/libthreadutil.so.6(+0x30e1)[0x7f55ec95b0e1]
/lib64/libpthread.so.0(+0x7e97)[0x7f55eb292e97]
/lib64/libc.so.6(clone+0x3f)[0x7f55eadff6ff]
E 1590931524.765 virtual RsThread::~RsThread() deleting thread: 140005708121856 gxs trans ns that is still running! Something seems very wrong here and RetroShare is likely to crash because of this.
stack trace:
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsThread::~RsThread()+0x103
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsTickingThread::~RsTickingThread()+0x2a
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : p3ThreadedService::~p3ThreadedService()+0x41
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsGxsNetService::~RsGxsNetService()+0x3a9
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsGxsNetService::~RsGxsNetService()+0x18
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsGenExchange::~RsGenExchange()+0x6a
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : p3GxsTrans::~p3GxsTrans()+0x23e
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : p3GxsTrans::~p3GxsTrans()+0x18
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsServer::~RsServer()+0x50
  /lib64/libc.so.6 : ()+0x3ac33
  /lib64/libc.so.6 : ()+0x3adea
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::char_traits<char>::length(char const*)+0
  /lib64/libc.so.6 : ()+0x385f0
  /lib64/libc.so.6 : ()+0x151864
  /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6 : std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x28
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : bool std::operator< <char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x23
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x27
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x93
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>&&, std::tuple<>&&)+0x93
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xee
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : CUPnPControlPoint::OnEventReceived(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, _IXML_Document const*)+0x194
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : CUPnPControlPoint::Callback(Upnp_EventType_e, void const*, void*)+0x44c
  /usr/lib64/libupnp.so.6 : ()+0x1b746
  /usr/lib64/libupnp.so.6 : ()+0xca4f
  /usr/lib64/libthreadutil.so.6 : ()+0x30e1
  /lib64/libpthread.so.0 : ()+0x7e97
  /lib64/libc.so.6 : clone()+0x3f
pure virtual method called
terminate called without an active exception
Caught signal 6 (SIGABRT)
stack trace:
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(+0xbec9f8)[0x5599192669f8]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN15CrashStackTrace12abortHandlerEi+0xeb)[0x55991926e356]
/lib64/libc.so.6(+0x385f0)[0x7f55ead3f5f0]
/lib64/libc.so.6(gsignal+0x141)[0x7f55ead3f571]
/lib64/libc.so.6(abort+0x127)[0x7f55ead2955b]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(+0xa1745)[0x7f55eb0b3745]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(+0xd15d6)[0x7f55eb0e35d6]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(+0xd1641)[0x7f55eb0e3641]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(+0xd237f)[0x7f55eb0e437f]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN13RsGenExchange4tickEv+0x1ba)[0x559919a7d244]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN13RsGenExchange10threadTickEv+0x18)[0x559919a7d076]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN15RsTickingThread3runEv+0x36)[0x559919909696]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN8RsThread7wrapRunEv+0x23)[0x559919a2cac7]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN8RsThread13rsthread_initEPv+0x3b)[0x559919a2c965]
/lib64/libpthread.so.0(+0x7e97)[0x7f55eb292e97]
/lib64/libc.so.6(clone+0x3f)[0x7f55eadff6ff]
Memory still in use at end of program: 6983160 bytes.

@G10h4ck
Copy link
Contributor Author

G10h4ck commented May 31, 2020

Again

CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:be997aae-a34e-11ea-8d41-a8e574308adc'.
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:bec5e06c-a34e-11ea-8d41-a8e574308adc'.
(WW) Checking group signature with old api version 2 : tag 0 result: 0
(II) Saving configuration file /home/gio/.retroshare/LOC06_d441e8890164a0f335ad75acc59b5a49/config/identity.cfg
I 1590936923.049 virtual bool p3IdService::requestKey(const RsGxsId&, const std::__cxx11::list<t_RsGenericIdType<16, false, RsGenericIdType::SSL>, std::allocator<t_RsGenericIdType<16, false, RsGenericIdType::SSL> > >&, const RsIdentityUsage&) not requesting Key 4f682af850f0f0f3b62debbca7b5952e because it has been banned.
    (WW) cache entry for circle 412434ed7a678cf1ffb1063dfa42dced has empty originator. Asking info for GXS id 4f682af850f0f0f3b62debbca7b5952e to all connected friends.
I 1590936923.050 virtual bool p3IdService::requestKey(const RsGxsId&, const std::__cxx11::list<t_RsGenericIdType<16, false, RsGenericIdType::SSL>, std::allocator<t_RsGenericIdType<16, false, RsGenericIdType::SSL> > >&, const RsIdentityUsage&) not requesting Key 4f682af850f0f0f3b62debbca7b5952e because it has been banned.
    (WW) cache entry for circle 412434ed7a678cf1ffb1063dfa42dced has empty originator. Asking info for GXS id a513668ad04bd7492e1639ec0493cfcf to all connected friends.
    (WW) cache entry for circle 412434ed7a678cf1ffb1063dfa42dced has empty originator. Asking info for GXS id d0b001b5bdd9caad4215393e2c630067 to all connected friends.
    (WW) cache entry for circle 4e7d8c86712b6d982f39d84ed9490a8a has empty originator. Asking info for GXS id 38284de0f86291ef467e4a8a163726f8 to all connected friends.
    (WW) cache entry for circle 4e7d8c86712b6d982f39d84ed9490a8a has empty originator. Asking info for GXS id 4f682af850f0f0f3b62debbca7b5952e to all connected friends.
I 1590936923.050 virtual bool p3IdService::requestKey(const RsGxsId&, const std::__cxx11::list<t_RsGenericIdType<16, false, RsGenericIdType::SSL>, std::allocator<t_RsGenericIdType<16, false, RsGenericIdType::SSL> > >&, const RsIdentityUsage&) not requesting Key 4f682af850f0f0f3b62debbca7b5952e because it has been banned.
I 1590936923.051 virtual bool p3IdService::requestKey(const RsGxsId&, const std::__cxx11::list<t_RsGenericIdType<16, false, RsGenericIdType::SSL>, std::allocator<t_RsGenericIdType<16, false, RsGenericIdType::SSL> > >&, const RsIdentityUsage&) not requesting Key 8b0ce937b28e25d785b5fd732fc29470 because it has been banned.
I 1590936923.051 virtual bool p3IdService::requestKey(const RsGxsId&, const std::__cxx11::list<t_RsGenericIdType<16, false, RsGenericIdType::SSL>, std::allocator<t_RsGenericIdType<16, false, RsGenericIdType::SSL> > >&, const RsIdentityUsage&) not requesting Key c6f22292326aecee9b8ec17139b00503 because it has been banned.
    (WW) cache entry for circle 82da97e743a4b3c22577f964208a79ed has empty originator. Asking info for GXS id 382cad05b2faf4315eaf3844ed0694e9 to all connected friends.
    (WW) cache entry for circle 82da97e743a4b3c22577f964208a79ed has empty originator. Asking info for GXS id 4958944fc2490ab19900683b2fea9360 to all connected friends.
    (WW) cache entry for circle 82da97e743a4b3c22577f964208a79ed has empty originator. Asking info for GXS id cf72ef5be8c4f157342b076ad0953416 to all connected friends.
    (WW) cache entry for circle 8f2b21e2bc77f49f840a57a8d1304e30 has empty originator. Asking info for GXS id 8b0ce937b28e25d785b5fd732fc29470 to all connected friends.
I 1590936923.051 virtual bool p3IdService::requestKey(const RsGxsId&, const std::__cxx11::list<t_RsGenericIdType<16, false, RsGenericIdType::SSL>, std::allocator<t_RsGenericIdType<16, false, RsGenericIdType::SSL> > >&, const RsIdentityUsage&) not requesting Key 8b0ce937b28e25d785b5fd732fc29470 because it has been banned.
    (WW) cache entry for circle 8f2b21e2bc77f49f840a57a8d1304e30 has empty originator. Asking info for GXS id c6f22292326aecee9b8ec17139b00503 to all connected friends.
I 1590936923.051 virtual bool p3IdService::requestKey(const RsGxsId&, const std::__cxx11::list<t_RsGenericIdType<16, false, RsGenericIdType::SSL>, std::allocator<t_RsGenericIdType<16, false, RsGenericIdType::SSL> > >&, const RsIdentityUsage&) not requesting Key c6f22292326aecee9b8ec17139b00503 because it has been banned.
    (WW) cache entry for circle b4f7ddb53b190f9c9c553df782250869 has empty originator. Asking info for GXS id 4f682af850f0f0f3b62debbca7b5952e to all connected friends.
I 1590936923.052 virtual bool p3IdService::requestKey(const RsGxsId&, const std::__cxx11::list<t_RsGenericIdType<16, false, RsGenericIdType::SSL>, std::allocator<t_RsGenericIdType<16, false, RsGenericIdType::SSL> > >&, const RsIdentityUsage&) not requesting Key 4f682af850f0f0f3b62debbca7b5952e because it has been banned.
I 1590936923.052 virtual bool p3IdService::requestKey(const RsGxsId&, const std::__cxx11::list<t_RsGenericIdType<16, false, RsGenericIdType::SSL>, std::allocator<t_RsGenericIdType<16, false, RsGenericIdType::SSL> > >&, const RsIdentityUsage&) not requesting Key 8b0ce937b28e25d785b5fd732fc29470 because it has been banned.
I 1590936923.052 virtual bool p3IdService::requestKey(const RsGxsId&, const std::__cxx11::list<t_RsGenericIdType<16, false, RsGenericIdType::SSL>, std::allocator<t_RsGenericIdType<16, false, RsGenericIdType::SSL> > >&, const RsIdentityUsage&) not requesting Key 4f682af850f0f0f3b62debbca7b5952e because it has been banned.
I 1590936923.053 virtual bool p3IdService::requestKey(const RsGxsId&, const std::__cxx11::list<t_RsGenericIdType<16, false, RsGenericIdType::SSL>, std::allocator<t_RsGenericIdType<16, false, RsGenericIdType::SSL> > >&, const RsIdentityUsage&) not requesting Key 8b0ce937b28e25d785b5fd732fc29470 because it has been banned.
CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:c14fcf0a-a34e-11ea-8d41-a8e574308adc'.
Caught signal 11 (SIGSEGV)
stack trace:
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(+0xbec9f8)[0x55b5733b39f8]

    deviceList: 0 devices./home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN15CrashStackTrace12abortHandlerEi+0xeb)[0x55b5733bb356]
/lib64/libc.so.6(+0x385f0)[0x7f468ddf95f0]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNKSt8_Rb_treeIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_P13CUPnPArgumentESt10_Select1stISA_ESt4lessIS6_ESaISA_EE8_M_beginEv+0xc)[0x55b573fcc84a]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNKSt8_Rb_treeIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_P13CUPnPArgumentESt10_Select1stISA_ESt4lessIS6_ESaISA_EE4findERS6_+0x3b)[0x55b573fca4f7]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNKSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP13CUPnPArgumentSt4lessIS6_ESaISt4pairIS6_S8_EEE4findERS6_+0x23)[0x55b573fc8ab7]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNK12CUPnPService7ExecuteERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorI18CUPnPArgumentValueSaIS9_EE+0x175)[0x55b573fc2d73]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN17CUPnPControlPoint21PrivateAddPortMappingER16CUPnPPortMapping+0x6cf)[0x55b573fc4f5f]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN17CUPnPControlPoint19RefreshPortMappingsEv+0x79)[0x55b573fc486b]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN17CUPnPControlPoint8CallbackE16Upnp_EventType_ePKvPv+0x797)[0x55b573fc60f9]
/usr/lib64/libupnp.so.6(+0x1b493)[0x7f468fa45493]
/usr/lib64/libthreadutil.so.6(+0x30e1)[0x7f468fa150e1]
/lib64/libpthread.so.0(+0x7e97)[0x7f468e34ce97]
/lib64/libc.so.6(clone+0x3f)[0x7f468deb96ff]
E 1590936923.444 virtual RsThread::~RsThread() deleting thread: 139939924649728 gxs trans ns that is still running! Something seems very wrong here and RetroShare is likely to crash because of this.
stack trace:

    deviceList: 0 devices.
    deviceList: 0 devices.  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsThread::~RsThread()+0x103
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsTickingThread::~RsTickingThread()+0x2a
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : p3ThreadedService::~p3ThreadedService()+0x41
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsGxsNetService::~RsGxsNetService()+0x3a9
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsGxsNetService::~RsGxsNetService()+0x18
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsGenExchange::~RsGenExchange()+0x6a
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : p3GxsTrans::~p3GxsTrans()+0x23e
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : p3GxsTrans::~p3GxsTrans()+0x18
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : RsServer::~RsServer()+0x50
  /lib64/libc.so.6 : ()+0x3ac33
  /lib64/libc.so.6 : ()+0x3adea
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::char_traits<char>::length(char const*)+0
  /lib64/libc.so.6 : ()+0x385f0
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, CUPnPArgument*>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, CUPnPArgument*> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, CUPnPArgument*> > >::_M_begin() const+0xc
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, CUPnPArgument*>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, CUPnPArgument*> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, CUPnPArgument*> > >::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x3b
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, CUPnPArgument*, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, CUPnPArgument*> > >::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x23
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : CUPnPService::Execute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<CUPnPArgumentValue, std::allocator<CUPnPArgumentValue> > const&) const+0x175
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : CUPnPControlPoint::PrivateAddPortMapping(CUPnPPortMapping&)+0x6cf
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : CUPnPControlPoint::RefreshPortMappings()+0x79
  /home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare : CUPnPControlPoint::Callback(Upnp_EventType_e, void const*, void*)+0x797
  /usr/lib64/libupnp.so.6 : ()+0x1b493
  /usr/lib64/libthreadutil.so.6 : ()+0x30e1
  /lib64/libpthread.so.0 : ()+0x7e97
  /lib64/libc.so.6 : clone()+0x3f

    deviceList: 0 devices.
    deviceList: 0 devices.pure virtual method called
terminate called without an active exception
Caught signal 6 (SIGABRT)
stack trace:
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(+0xbec9f8)[0x55b5733b39f8]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN15CrashStackTrace12abortHandlerEi+0xeb)[0x55b5733bb356]
/lib64/libc.so.6(+0x385f0)[0x7f468ddf95f0]
/lib64/libc.so.6(gsignal+0x141)[0x7f468ddf9571]
/lib64/libc.so.6(abort+0x127)[0x7f468dde355b]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(+0xa1745)[0x7f468e16d745]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(+0xd15d6)[0x7f468e19d5d6]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(+0xd1641)[0x7f468e19d641]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(+0xd237f)[0x7f468e19e37f]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN13RsGenExchange4tickEv+0x1ba)[0x55b573bca244]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN13RsGenExchange10threadTickEv+0x18)[0x55b573bca076]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN15RsTickingThread3runEv+0x36)[0x55b573a56696]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN8RsThread7wrapRunEv+0x23)[0x55b573b79ac7]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN8RsThread13rsthread_initEPv+0x3b)[0x55b573b79965]
/lib64/libpthread.so.0(+0x7e97)[0x7f468e34ce97]
/lib64/libc.so.6(clone+0x3f)[0x7f468deb96ff]
Memory still in use at end of program: 1898648 bytes.

@G10h4ck
Copy link
Contributor Author

G10h4ck commented May 31, 2020

As I spotted into the code that it comes from aMule I took a look around and found a PR amule-project/amule#116 it adds to my suspect about a race condition due to unprotected access to internal data structures

@G10h4ck
Copy link
Contributor Author

G10h4ck commented Jun 1, 2020

    deviceList: 0 devices./home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(+0xbec9f8)[0x556623d6a9f8]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN15CrashStackTrace12abortHandlerEi+0xeb)[0x556623d72356]
/lib64/libc.so.6(+0x385f0)[0x7f613bcaa5f0]
/lib64/libc.so.6(__libc_malloc+0x11d)[0x7f613bcf822d]
/usr/lib64/libixml.so.2(ixmlDocument_createTextNodeEx+0x27)[0x7f613d8ce8d7]
/usr/lib64/libixml.so.2(+0x6ca1)[0x7f613d8d1ca1]
/usr/lib64/libupnp.so.6(UpnpDownloadXmlDoc+0x6d)[0x7f613d8f72fd]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN17CUPnPControlPoint8CallbackE16Upnp_EventType_ePKvPv+0xf4)[0x55662497ca56]
/usr/lib64/libupnp.so.6(+0x806e)[0x7f613d8e306e]
/usr/lib64/libupnp.so.6(+0x9043)[0x7f613d8e4043]
/usr/lib64/libthreadutil.so.6(+0x30e1)[0x7f613d8c60e1]
/lib64/libpthread.so.0(+0x7e97)[0x7f613c1fde97]
/lib64/libc.so.6(clone+0x3f)[0x7f613bd6a6ff]
E 1590978323.935 virtual RsThread::~RsThread() deleting thread: 140054571767552 gxs trans ns that is still running! Something seems very wrong here and RetroShare is likely to crash because of this

@G10h4ck G10h4ck changed the title UPNP related crash in RetroShare-0.6.5 + libupnp-1.6.21 UPNP related crash in RetroShare-0.6.5 + libupnp-1.6.* Jun 1, 2020
@G10h4ck
Copy link
Contributor Author

G10h4ck commented Jun 1, 2020

CUPnPControlPoint::Callback() Re-subscribed to EventURL 'http://10.180.0.254:49152/evt/IPConn' with SID == 'uuid:8ae6edb0-a40f-11ea-b3a0-a43088a54b90'.
Caught signal 11 (SIGSEGV)
stack trace:
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(+0xbec9f8)[0x564c1a2fd9f8]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN15CrashStackTrace12abortHandlerEi+0xeb)[0x564c1a305356]
/lib64/libc.so.6(+0x385f0)[0x7faecf6ed5f0]
/lib64/libc.so.6(+0x15181a)[0x7faecf80681a]
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6(_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_+0x28)[0x7faecfb357e8]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZStltIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESA_+0x23)[0x564c1a306190]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNKSt4lessIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERS6_S8_+0x27)[0x564c1af14d2d]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNKSt8_Rb_treeIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_P11CUPnPActionESt10_Select1stISA_ESt4lessIS6_ESaISA_EE14_M_lower_boundEPKSt13_Rb_tree_nodeISA_EPKSt18_Rb_tree_node_baseRS6_+0x54)[0x564c1af1678a]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNKSt8_Rb_treeIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_P11CUPnPActionESt10_Select1stISA_ESt4lessIS6_ESaISA_EE4findERS6_+0x54)[0x564c1af143d4]
(II) Saving configuration file /home/gio/.retroshare/LOC06_d441e8890164a0f335ad75acc59b5a49/config/reputations.cfg
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNKSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP11CUPnPActionSt4lessIS6_ESaISt4pairIS6_S8_EEE4findERS6_+0x23)[0x564c1af129f3]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZNK12CUPnPService7ExecuteERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorI18CUPnPArgumentValueSaIS9_EE+0x8f)[0x564c1af0cc8d]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN17CUPnPControlPoint21PrivateAddPortMappingER16CUPnPPortMapping+0x6cf)[0x564c1af0ef5f]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN17CUPnPControlPoint19RefreshPortMappingsEv+0x79)[0x564c1af0e86b]
/home/gio/Builds/RetroShare-Desktop-Debug/retroshare-gui/src/retroshare(_ZN17CUPnPControlPoint8CallbackE16Upnp_EventType_ePKvPv+0x797)[0x564c1af100f9]
/usr/lib64/libupnp.so.6(+0x1b493)[0x7faed1339493]
/usr/lib64/libthreadutil.so.6(+0x30e1)[0x7faed13090e1]
/lib64/libpthread.so.0(+0x7e97)[0x7faecfc40e97]
/lib64/libc.so.6(clone+0x3f)[0x7faecf7ad6ff]
E 1591019725.094 virtual RsThread::~RsThread() deleting thread: 140387565950720 gxs trans ns that is still running! Something seems very wrong here and RetroShare is likely to crash because of this.
stack trace:
E 1591019725.100 void RsMutex::lock()pthread_mutex_lock returned: EINVAL

@G10h4ck G10h4ck removed the 0.6.6 blocker Bugs considered blockers for next retroshare release label Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant