Hi all, I've got a 'intermittent but fairly reliably reproducible' assertion going on in pjsip. For reference we're using a TURN server with ICE enabled. Our DNS entry for the turn server has a very low time out (30 seconds I believe). I think this issue may be related to: http://trac.pjsip.org/repos/ticket/1168 On a side note - this was during a SIP call via an outbound proxy to a PSTN the outbound server has completely public open IP, so I don't see why our turn server should even come into play. Which I guess the point of this is - how does PJSip determine when to use a TURN server? Documentation around PJSip and TURN seems to be somewhat non-existant If PJSip devs want to try and reproduce this assertion/crash using our server drop me a private email and we can work out the details. Here is a backtrace and the assertion is on line 433 of turn_sock.c 16:01:18.492 udprel0x88c200 CreatePermission failed for IP <HIDDEN> 437/No Allocation 16:01:18.492 udprel0x892a00 CreatePermission failed for IP <HIDDEN>: 437/No Allocation Assertion failed: (turn_sock && addr && addr_len), function pj_turn_sock_sendto, file ../src/pjnath/turn_sock.c, line 433. (gdb) thread 9 [Switching to thread 9 (thread 15619)] #5 0x000a60e4 in pj_turn_sock_sendto () (gdb) bt #0 0x30276588 in __semwait_signal_nocancel () #1 0x3027613e in nanosleep$NOCANCEL () #2 0x3026e276 in usleep$NOCANCEL () #3 0x3028c048 in abort () #4 0x3027a142 in __assert_rtn () #5 0x000a60e4 in pj_turn_sock_sendto () #6 0x00098860 in pj_ice_strans_sendto () #7 0x000833cc in transport_send_rtp () #8 0x00085314 in transport_send_rtp () #9 0x0007fee4 in put_frame_imp () #10 0x00080248 in put_frame () #11 0x0006fd38 in get_frame () #12 0x0007e5ec in play_cb () #13 0x0008c564 in output_renderer () #14 0x347b0a2a in AUInputElement::PullInput () #15 0x347b9668 in AUInputFormatConverter2::InputProc () #16 0x34795222 in AudioConverterChain::CallInputProc () #17 0x34795172 in AudioConverterChain::FillBufferFromInputProc () #18 0x34794f8e in BufferedAudioConverter::GetInputBytes () #19 0x34844800 in SRCWrapper::RenderOutput () #20 0x347c2002 in SampleRateConverter::RenderOutput () #21 0x34794c72 in BufferedAudioConverter::FillBuffer () #22 0x34794f6e in BufferedAudioConverter::GetInputBytes () #23 0x347b9558 in CBRConverter::RenderOutput () #24 0x34794c72 in BufferedAudioConverter::FillBuffer () #25 0x34794dc6 in AudioConverterChain::RenderOutput () #26 0x34794c72 in BufferedAudioConverter::FillBuffer () #27 0x34794a42 in AudioConverterFillComplexBuffer () #28 0x347b9120 in AUConverterBase::RenderBus () #29 0x34846082 in AURemoteIO::RenderBus () #30 0x347962d2 in AUBase::DoRender () #31 0x348466d4 in AURemoteIO::PerformIO () #32 0x3484699e in AURIOCallbackReceiver_PerformIO () #33 0x3483f758 in _XPerformIO () #34 0x347b1d7a in mshMIGPerform () #35 0x34816884 in MSHMIGDispatchMessage () #36 0x3484b64a in AURemoteIO::IOThread::Entry () #37 0x3478867c in CAPThread::Entry () #38 0x30279284 in _pthread_start () #39 0x3026e2b0 in thread_start () Regards, -- Tony Million -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101230/5a38cb31/attachment.html>