[asterisk-dev] Asterisk Crash

Ross Beer ross.beer at outlook.com
Wed Mar 2 11:03:14 CST 2016


 Hi,
 
PJSIP just caused a seg fault at the current location:
 
[?1034h(gdb) bt
#0  __pthread_mutex_unlock_usercnt (mutex=0x0) at pthread_mutex_unlock.c:289
#1  __pthread_mutex_unlock (mutex=0x0) at pthread_mutex_unlock.c:290
#2  0x00002b686ac0f203 in pj_mutex_unlock () from /usr/lib64/libpj.so.2
#3  0x00002b6868c641f6 in pjsip_dlg_dec_lock () from /usr/lib64/libpjsip.so.2
#4  0x00002b68708393f8 in distributor (rdata=0x2b6904021178) at res_pjsip/pjsip_distributor.c:301
#5  0x00002b6868c47e16 in pjsip_endpt_process_rx_data () from /usr/lib64/libpjsip.so.2
#6  0x00002b6868c4809a in endpt_on_rx_msg () from /usr/lib64/libpjsip.so.2
#7  0x00002b6868c50368 in pjsip_tpmgr_receive_packet () from /usr/lib64/libpjsip.so.2
#8  0x00002b6868c51e3b in udp_on_read_complete () from /usr/lib64/libpjsip.so.2
#9  0x00002b686ac0be96 in ioqueue_dispatch_read_event () from /usr/lib64/libpj.so.2
#10 0x00002b686ac0db24 in pj_ioqueue_poll () from /usr/lib64/libpj.so.2
#11 0x00002b6868c47b21 in pjsip_endpt_handle_events2 () from /usr/lib64/libpjsip.so.2
#12 0x00002b6868c47bcf in pjsip_endpt_handle_events () from /usr/lib64/libpjsip.so.2
#13 0x00002b6870823a9c in monitor_thread_exec (endpt=0x0) at res_pjsip.c:3555
#14 0x00002b686ac0e88f in thread_main () from /usr/lib64/libpj.so.2
#15 0x00002b66fa7e2a51 in start_thread (arg=0x2b68416a5700) at pthread_create.c:301
#16 0x00002b66fb67493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
(gdb) bt full
#0  __pthread_mutex_unlock_usercnt (mutex=0x0) at pthread_mutex_unlock.c:289
        type = <value optimized out>
#1  __pthread_mutex_unlock (mutex=0x0) at pthread_mutex_unlock.c:290
No locals.
#2  0x00002b686ac0f203 in pj_mutex_unlock () from /usr/lib64/libpj.so.2
No symbol table info available.
#3  0x00002b6868c641f6 in pjsip_dlg_dec_lock () from /usr/lib64/libpjsip.so.2
No symbol table info available.
#4  0x00002b68708393f8 in distributor (rdata=0x2b6904021178) at res_pjsip/pjsip_distributor.c:301
        dlg = 0x2b68b00f58a8
        dist = 0x2b6b893723c8
        serializer = 0x2b6b89673578
        req_serializer = 0x2b6b89673578
        clone = 0x2b69040517e8
#5  0x00002b6868c47e16 in pjsip_endpt_process_rx_data () from /usr/lib64/libpjsip.so.2
No symbol table info available.
#6  0x00002b6868c4809a in endpt_on_rx_msg () from /usr/lib64/libpjsip.so.2
No symbol table info available.
#7  0x00002b6868c50368 in pjsip_tpmgr_receive_packet () from /usr/lib64/libpjsip.so.2
No symbol table info available.
#8  0x00002b6868c51e3b in udp_on_read_complete () from /usr/lib64/libpjsip.so.2
No symbol table info available.
#9  0x00002b686ac0be96 in ioqueue_dispatch_read_event () from /usr/lib64/libpj.so.2
No symbol table info available.
#10 0x00002b686ac0db24 in pj_ioqueue_poll () from /usr/lib64/libpj.so.2
No symbol table info available.
#11 0x00002b6868c47b21 in pjsip_endpt_handle_events2 () from /usr/lib64/libpjsip.so.2
No symbol table info available.
#12 0x00002b6868c47bcf in pjsip_endpt_handle_events () from /usr/lib64/libpjsip.so.2
No symbol table info available.
#13 0x00002b6870823a9c in monitor_thread_exec (endpt=0x0) at res_pjsip.c:3555
        delay = {sec = 0, msec = 10}
#14 0x00002b686ac0e88f in thread_main () from /usr/lib64/libpj.so.2
No symbol table info available.
#15 0x00002b66fa7e2a51 in start_thread (arg=0x2b68416a5700) at pthread_create.c:301
        __res = <value optimized out>
        pd = 0x2b68416a5700
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {47726774081280, 3565715072785538793, 140727544518944, 47726774081984, 44910560, 3, 7470192104369774313, 7473162878733999849}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        pagesize_m1 = <value optimized out>
        sp = <value optimized out>
        freesize = <value optimized out>
#16 0x00002b66fb67493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
No locals.
 
Can anyone advise if this is fixed by PJSIP commit 5243?
 
Thanks,
 
Ross
 
 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20160302/debbc3dd/attachment.html>


More information about the asterisk-dev mailing list