[asterisk-bugs] [JIRA] (ASTERISK-28415) segfault: sprint_list_entry (entry=entry at entry=0x7f9e30b4d8b0, line=line at entry=0x7f9e70676590 "\340ggp\236\177", len=256) at res_pjsip_history.c:669

Brian J. Murrell (JIRA) noreply at issues.asterisk.org
Tue May 14 06:01:47 CDT 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian J. Murrell updated ASTERISK-28415:
----------------------------------------

    Attachment: ThreadStacktrace.txt

Threaded stack trace.

> segfault: sprint_list_entry (entry=entry at entry=0x7f9e30b4d8b0, line=line at entry=0x7f9e70676590 "\340ggp\236\177", len=256) at res_pjsip_history.c:669
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-28415
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28415
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.26.0
>            Reporter: Brian J. Murrell
>              Labels: pjsip
>         Attachments: ThreadStacktrace.txt
>
>
> When I turn on pjsip history I get segfaults.  The thread that faults is:
> {noformat}
> #0  0x00007f9e507f736a in sprint_list_entry (entry=entry at entry=0x7f9e30b4d8b0, line=line at entry=0x7f9e70676590 "\340ggp\236\177", len=256) at res_pjsip_history.c:669
> #1  0x00007f9e507f8435 in history_on_rx_msg (rdata=<optimized out>) at res_pjsip_history.c:763
> #2  0x00007f9e9cd94167 in pjsip_endpt_process_rx_data (endpt=endpt at entry=0x27cbf88, rdata=rdata at entry=0x7f9e90096e78, p=p at entry=0x7f9e70676780, p_handled=p_handled at entry=0x7f9e70676770) at ../src/pjsip/sip_endpoint.c:893
> #3  0x00007f9e9cd9432e in endpt_on_rx_msg (endpt=0x27cbf88, status=<optimized out>, rdata=0x7f9e90096e78) at ../src/pjsip/sip_endpoint.c:1043
> #4  0x00007f9e9cd9b9c2 in pjsip_tpmgr_receive_packet (mgr=<optimized out>, rdata=rdata at entry=0x7f9e90096e78) at ../src/pjsip/sip_transport.c:2026
> #5  0x00007f9e9cd9ddd0 in udp_on_read_complete (key=0x7f9e70a8da40, op_key=<optimized out>, bytes_read=869) at ../src/pjsip/sip_transport_udp.c:191
> #6  0x00007f9e9ce14ffc in ioqueue_dispatch_read_event (ioqueue=ioqueue at entry=0x7f9e70a8d0a0, h=h at entry=0x7f9e70a8da40) at ../src/pj/ioqueue_common_abs.c:605
> #7  0x00007f9e9ce16710 in pj_ioqueue_poll (ioqueue=0x7f9e70a8d0a0, timeout=timeout at entry=0x7f9e70676d40) at ../src/pj/ioqueue_epoll.c:720
> #8  0x00007f9e9cd93e98 in pjsip_endpt_handle_events2 (endpt=0x27cbf88, max_timeout=max_timeout at entry=0x7f9e70676d90, p_count=p_count at entry=0x0) at ../src/pjsip/sip_endpoint.c:744
> #9  0x00007f9e9cd93f57 in pjsip_endpt_handle_events (endpt=<optimized out>, max_timeout=max_timeout at entry=0x7f9e70676d90) at ../src/pjsip/sip_endpoint.c:776
> #10 0x00007f9e7b5ae628 in monitor_thread_exec (endpt=<optimized out>) at res_pjsip.c:4512
> #11 0x00007f9e9ce17ae0 in thread_main (param=0x27cb7b8) at ../src/pj/os_core_unix.c:541
> #12 0x00007f9e9b3b5dd5 in start_thread (arg=0x7f9e70677700) at pthread_create.c:307
> #13 0x00007f9e9a986ead in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list