[asterisk-bugs] [JIRA] (ASTERISK-27688) Crash on TCP PJSIP Transport Disconnect

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Sat Feb 17 13:46:13 CST 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242252#comment-242252 ] 

Richard Mudgett commented on ASTERISK-27688:
--------------------------------------------

Looks like we may have to use pjsip_transport_add_ref() to actually hold a ref to the transport in res/res_pjsip/pjsip_transport_events.c.

> Crash on TCP PJSIP Transport Disconnect
> ---------------------------------------
>
>                 Key: ASTERISK-27688
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27688
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: GIT
>         Environment: Fedora 23
>            Reporter: Ross Beer
>              Labels: pjsip
>         Attachments: core-asterisk-13233-1518850860-thread1.txt
>
>
> Segfault in pjsip_transport_events:
> {noformat}
> Thread 1 (Thread 0x7f94dfac5700 (LWP 151630)):
> #0  0x00007f95741424fa in __strcmp_sse2_unaligned () at /usr/lib64/libc.so.6
> #1  0x00007f94e6e5ceeb in transport_monitor_cmp_fn (obj=0x7f94f85697c8, arg=<optimized out>, flags=<optimized out>) at res_pjsip/pjsip_transport_events.c:72
>         object_left = 0x7f94f85697c8
>         object_right = <optimized out>
>         right_key = <optimized out>
>         cmp = <optimized out>
> {noformat}



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



More information about the asterisk-bugs mailing list