Changes between Initial Version and Version 1 of Ticket #1316
- Timestamp:
- Jun 22, 2011 10:55:48 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1316 – Description
initial v1 1 1 TURN session may get deallocated prematurely for several reasons, for example if iPhone application is suspended in the background and unable to refresh the allocation in timely manner. 2 2 3 This may cause assertion the followingassertion:3 Sample 1 of the assertion: 4 4 5 5 {{{ 6 6 pjnath/turn_sock.c:433: 7 7 PJ_ASSERT_RETURN(turn_sock && addr && addr_len, PJ_EINVAL); 8 9 Stack trace: 10 0 libsystem_kernel.dylib 0x3558fa1c __pthread_kill + 8 11 1 libsystem_c.dylib 0x356663b4 pthread_kill + 52 12 2 libsystem_c.dylib 0x3565ebf8 abort + 72 13 3 libsystem_c.dylib 0x3568c6d4 __assert_rtn + 140 14 4 bababoo 0x001aeefc pj_turn_sock_sendto + 44 15 5 bababoo 0x001a5cce pj_ice_strans_sendto + 194 16 6 bababoo 0x0019ba34 transport_send_rtp + 72 17 7 bababoo 0x0019d398 transport_send_rtp + 120 8 18 }}} 9 19 10 20 21 Sample 2: 22 {{{ 23 pjnath/turn_sock.c:622: 24 pj_assert(!"We should shutdown gracefully"); 25 26 Stack trace: 27 #0 0x358cda1c in __pthread_kill () 28 #1 0x359a43ba in pthread_kill () 29 #2 0x3599cbfe in abort () 30 #3 0x359ca6da in __assert_rtn () 31 #4 0x001af292 in turn_on_send_pkt () 32 #5 0x001ad70c in stun_on_send_msg () 33 #6 0x001ab702 in stun_tsx_on_send_msg () 34 #7 0x001acdb0 in tsx_transmit_msg () 35 #8 0x001acfc2 in pj_stun_client_tsx_send_msg () 36 #9 0x001aba40 in pj_stun_session_send_msg () 37 #10 0x001adfd0 in pj_turn_session_set_perm () 38 #11 0x001aed72 in pj_turn_session_sendto () 39 #12 0x001aef36 in pj_turn_sock_sendto () 40 #13 0x001a5cf4 in pj_ice_strans_sendto () 41 #14 0x0019ba5a in transport_send_rtp () 42 }}} 43