Strang Socket Crash over Thread
Posted: Thu Aug 01, 2019 6:56 pm
I get below error intermittently. Restarting app couple of times works. But am puzzled as what it mean and what actually goes wrong.
Does anyone have idea as to what is wrong here.
I'm running socket inside wxThread in blocking mode.
TIA
Does anyone have idea as to what is wrong here.
I'm running socket inside wxThread in blocking mode.
TIA
Code: Select all
thread #11, stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
* frame #0: 0x00007fff60a3534c libsystem_pthread.dylib`pthread_mutex_lock
frame #1: 0x00007fff387b1b70 CoreFoundation`CFSocketDisableCallBacks + 64
frame #2: 0x000000010144a0e5 libwx_baseu_net-3.1.3.0.0.dylib`wxSocketManagerMac::Uninstall_Callback(this=0x0000000101458190, socket_=0x00000001094d5da0, event=wxSOCKET_INPUT) at sockosx.cpp:268
frame #3: 0x000000010144a6ee libwx_baseu_net-3.1.3.0.0.dylib`(anonymous namespace)::wxSocketImplMac::DoClose(this=0x00000001094d5da0) at sockosx.cpp:69
frame #4: 0x000000010143ea2b libwx_baseu_net-3.1.3.0.0.dylib`wxSocketImpl::Close(this=0x00000001094d5da0) at socket.cpp:564
frame #5: 0x000000010143e5db libwx_baseu_net-3.1.3.0.0.dylib`wxSocketImpl::Shutdown(this=0x00000001094d5da0) at socket.cpp:574
frame #6: 0x000000010144094c libwx_baseu_net-3.1.3.0.0.dylib`wxSocketBase::ShutdownOutput(this=0x00000001094634f0) at socket.cpp:960
frame #7: 0x00000001014408e2 libwx_baseu_net-3.1.3.0.0.dylib`wxSocketBase::Close(this=0x00000001094634f0) at socket.cpp:950
frame #8: 0x0000000101443f52 libwx_baseu_net-3.1.3.0.0.dylib`wxSocketClient::DoConnect(this=0x00000001094634f0, remote=0x000000010946c090, local=0x0000000000000000, wait=false) at socket.cpp:2001
frame #9: 0x0000000101444241 libwx_baseu_net-3.1.3.0.0.dylib`wxSocketClient::Connect(this=0x00000001094634f0, remote=0x000000010946c090, wait=false) at socket.cpp:2055
frame #10: 0x0000000101ae4166 liblsp.dylib`ClientTCP::Connect() + 86
frame #11: 0x00000001000a8289 Studio`ClientProxy::Entry(this=0x000000010946c1b0) at Clientproxy.cpp:75
frame #12: 0x000000010161bf71 libwx_baseu-3.1.3.0.0.dylib`wxThread::CallEntry(this=0x000000010946c1b0) at thrimpl.cpp:356
frame #13: 0x000000010161b9d1 libwx_baseu-3.1.3.0.0.dylib`wxThreadInternal::PthreadStart(thread=0x000000010946c1b0) at threadpsx.cpp:869
frame #14: 0x000000010161d5e5 libwx_baseu-3.1.3.0.0.dylib`wxPthreadStart(ptr=0x000000010946c1b0) at threadpsx.cpp:819
frame #15: 0x00007fff60a37661 libsystem_pthread.dylib`_pthread_body + 340
frame #16: 0x00007fff60a3750d libsystem_pthread.dylib`_pthread_start + 377
frame #17: 0x00007fff60a36bf9 libsystem_pthread.dylib`thread_start + 13