Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1374 closed defect (fixed)

Assertion when CANCEL and INVITE final response "crosses the wire"

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.12
Component: pjsip Version: 1.x-branch
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

The following assertion may occur when CANCEL and INVITE final response crosses the wire:

Assertion failed: (entry->_timer_id < 1), function pj_timer_heap_schedule, file ../src/pj/timer.c, line 466.

Sample stack trace:

#0  0x34929a1c in __pthread_kill ()
#1  0x349633ba in pthread_kill ()
#2  0x3495bbfe in abort ()
#3  0x349896da in __assert_rtn ()
#4  0x001da2d8 in pj_timer_heap_schedule  at ../src/pj/timer.c:466
#5  0x0020ce70 in pjsip_endpt_schedule_timer at ../src/pjsip/sip_endpoint.c:754
#6  0x002163c4 in tsx_on_state_proceeding_uac at ../src/pjsip/sip_transaction.c:2964
#7  0x00216548 in tsx_on_state_calling at ../src/pjsip/sip_transaction.c:2389
#8  0x002166dc in pjsip_tsx_recv_msg at ../src/pjsip/sip_transaction.c:1683
#9  0x0021761a in mod_tsx_layer_on_rx_response at ../src/pjsip/sip_transaction.c:845
#10 0x0020d2a6 in endpt_on_rx_msg at ../src/pjsip/sip_endpoint.c:922
#11 0x002104f0 in pjsip_tpmgr_receive_packet at ../src/pjsip/sip_transport.c:1510
#12 0x002111c8 in udp_on_read_complete at ../src/pjsip/sip_transport_udp.c:172
#13 0x001d2efc in ioqueue_dispatch_read_event at ioqueue_common_abs.c:577
#14 0x001d3716 in pj_ioqueue_poll at ../src/pj/ioqueue_select.c:905
#15 0x0020ced8 in pjsip_endpt_handle_events2 at ../src/pjsip/sip_endpoint.c:714
#16 0x0022d54e in pjsua_handle_events at ../src/pjsua-lib/pjsua_core.c:1519
#17 0x0022d6c4 in worker_thread at ../src/pjsua-lib/pjsua_core.c:571

Change History (3)

comment:1 Changed 13 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

(In [3755]) Fixed #1374: Assertion when CANCEL and INVITE final response "crosses the wire"

comment:2 Changed 13 years ago by bennylp

  • Milestone changed from release-2.0-alpha2 to release-1.12
  • Version changed from 2.0-dev-branch to 1.x-branch

comment:3 Changed 13 years ago by bennylp

  • Component changed from applications to pjsip
Note: See TracTickets for help on using tickets.