1 | | Please see http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-December/009702.html for the report. |
| 1 | Removing a buddy will crash the library at later time, with stack trace similar to this: |
| 2 | |
| 3 | {{{ |
| 4 | Stack: |
| 5 | #0 0x00092f9a in pop_freelist at timer.c:136 |
| 6 | #1 0x0009360e in schedule_entry at timer.c:300 |
| 7 | #2 0x00093b82 in pj_timer_heap_schedule at timer.c:472 |
| 8 | #3 0x000b80d0 in pjsip_endpt_schedule_timer at sip_endpoint.c:759 |
| 9 | #4 0x000cc452 in tsx_on_state_null at sip_transaction.c:2118 |
| 10 | #5 0x000cb2b1 in pjsip_tsx_send_msg at sip_transaction.c:1590 |
| 11 | #6 0x000d0d06 in pjsip_dlg_send_request at sip_dialog.c:1174 |
| 12 | #7 0x000a1c68 in pjsip_evsub_send_request at evsub.c:1222 |
| 13 | #8 0x000a71f3 in pjsip_pres_send_request at presence.c:588 |
| 14 | #9 0x000f32db in subscribe_buddy_presence at pjsua_pres.c:1777 |
| 15 | #10 0x000f0a92 in pjsua_buddy_update_pres at pjsua_pres.c:571 |
| 16 | #11 0x000f0987 in pjsua_buddy_subscribe_pres at pjsua_pres.c:536 |
| 17 | #12 0x000f0700 in pjsua_buddy_add at pjsua_pres.c:472 |
| 18 | #13 0x0000cc4f in test_add_buddy at pjsua_app.c:5030 |
| 19 | #14 0x0000ccb9 in test_network_appeared at pjsua_app.c:5039 |
| 20 | #15 0x0000b3bd in console_app_main at pjsua_app.c:4238 |
| 21 | #16 0x0000c66a in app_main at pjsua_app.c:4741 |
| 22 | #17 0x00001b86 in main at main.c:87 |
| 23 | }}} |
| 24 | |
| 25 | And another crash when a buddy is added while network connectivity is down: |
| 26 | |
| 27 | {{{ |
| 28 | 0x000f0f08 pjsip_dlg_dec_lock + 24 |
| 29 | 0x001121ac subscribe_buddy_presence + 1152 |
| 30 | 0x0010f860 pjsua_buddy_update_pres + 196 |
| 31 | 0x0010f768 pjsua_buddy_subscribe_pres + 124 |
| 32 | 0x0010f464 pjsua_buddy_add + 1404 |
| 33 | }}} |
| 34 | |
| 35 | Please see http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-December/009702.html for the report. |