Hi, I'm using the PJSUA2 C++ bindings from trunk (SVN 4956) and have been seeing the following crash frequently (on both Mac/Win): Thread 3 Crashed: 0 App-Helper 0x00000001038e147d pj::Endpoint::on_call_tsx_state(int, pjsip_transaction*, pjsip_event*) + 61 1 App-Helper 0x00000001038aec3d pjsua_call_on_state_changed + 621 2 App-Helper 0x000000010387abd7 inv_set_state + 279 3 App-Helper 0x000000010387cfa3 inv_on_state_calling + 259 4 App-Helper 0x000000010387ccaa mod_inv_on_tsx_state + 74 5 App-Helper 0x00000001038a6b4b pjsip_dlg_on_tsx_state + 155 6 App-Helper 0x00000001038a17ac tsx_set_state + 284 7 App-Helper 0x00000001038a2f5f tsx_on_state_calling + 367 8 App-Helper 0x00000001038a35ce tsx_timer_callback + 430 9 App-Helper 0x000000010382ab7e pj_timer_heap_poll + 190 10 App-Helper 0x00000001038913f8 pjsip_endpt_handle_events2 + 56 11 App-Helper 0x00000001038b78d1 worker_thread + 97 12 App-Helper 0x000000010381bd26 thread_main + 86 13 libsystem_pthread.dylib 0x00007fff8c10e899 _pthread_body + 138 14 libsystem_pthread.dylib 0x00007fff8c10e72a _pthread_start + 137 15 libsystem_pthread.dylib 0x00007fff8c112fc9 thread_start + 13 What could be causing this? My suspicion is that the "call" variable points to an invalid reference and so it crashes when trying to execute "call->onCallTsxState(prm)". Any ideas? Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141110/9be9c923/attachment.html>