[asterisk-bugs] [JIRA] (ASTERISK-29456) pjsip_transport_get_flag_from_type

LA (JIRA) noreply at issues.asterisk.org
Mon May 31 15:00:17 CDT 2021


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

LA commented on ASTERISK-29456:
-------------------------------

The Asterisk Crash all day, many  times

Other backtrace captured today

In thread1 we have indication about /src/pjsip/sip_transport.c:398

$1 = {si_signo = 11, si_errno = 0, si_code = 1, _sifields = {_pad = {32, 0 <repeats 27 times>}, _kill = {si_pid = 32, si_uid = 0}, _timer = {si_tid = 32, si_overrun = 0, si_sigval = {sival_int = 0, sival_ptr = 0x0}}, _rt = {si_pid = 32, si_uid = 0, si_sigval = {sival_int = 0, sival_ptr = 0x0}}, _sigchld = {si_pid = 32, si_uid = 0, si_status = 0, si_utime = 0, si_stime = 0}, _sigfault = {si_addr = 0x20}, _sigpoll = {si_band = 32, si_fd = 0}}}
Signal        Stop      Print   Pass to program Description
SIGSEGV       Yes       Yes     Yes             Segmentation fault

Thread 1 (Thread 0x7f9b803f0700 (LWP 29935)):
#0  pjsip_transport_get_flag_from_type (type=1286101096) at ../src/pjsip/sip_transport.c:398
No locals.
#1  0x00007fa03d6bee55 in pjsip_tpmgr_acquire_transport2 (mgr=0x11b93d8, type=1286101096, remote=0x7f9fed83bc38, addr_len=16, sel=0x7f9fed83c210, tdata=0x310148a0, tp=0x7f9feca41a90) at ../src/pjsip/sip_transport.c:2333
        flag = 15
        key = {type = 1286101096, rem_addr = {addr = {sa_family = 2}, ipv4 = {sin_family = 2, sin_port = 60302, sin_addr = {s_addr = 2772497087}, sin_zero = "000000000000000000000"}, ipv6 = {sin6_family = 2, sin6_port = 60302, sin6_flowinfo = 2772497087, sin6_addr = {s6_addr = '000' <repeats 15 times>, u6_addr32 = {0, 0, 0, 0}}, sin6_scope_id = 0}}}
        tp_ref = 0x0
        factory = 0x7f9b803ec560
        status = 16
#2  0x00007fa03d6b8813 in stateless_send_transport_cb (token=0x7f9feca41a78, tdata=0x7f9fed83ba48, sent=16) at ../src/pjsip/sip_util.c:1181
        cont = 1
        cur_addr = 0x7f9fed83bc38
        cur_addr_len = 16
        via = 0x7f9feca41a90
        need_update_via = -310132208
#3  0x00007fa03d6b8c82 in stateless_send_resolver_callback (status=<optimized out>, token=0x7f9feca41a78, addr=<optimized out>) at ../src/pjsip/sip_util.c:1378
        stateless_data = 0x7f9feca41a78
        tdata = 0x7f9fed83ba48
#4  0x00007f9fb56e93ef in sip_resolve (resolver=0x4ca85868, pool=0x0, target=0x7f9b803efa40, token=0x0, cb=0x7fa03d6b8bb0 <stateless_send_resolver_callback>) at res_pjsip/pjsip_resolver.c:529
        addresses = {count = 1, entry = {{type = 1286101096, priority = 0, weight = 0, addr = {addr = {sa_family = 2}, ipv4 = {sin_family = 2, sin_port = 60302, sin_addr = {s_addr = 2772497087}, sin_zero = "000000000000000000000"}, ipv6 = {sin6_family = 2, sin6_port = 60302, sin6_flowinfo = 2772497087, sin6_addr = {s6_addr = '000' <repeats 15 times>, u6_addr32 = {0, 0, 0, 0}}, sin6_scope_id = 0}}, addr_len = 16}, {type = PJSIP_TRANSPORT_UNSPECIFIED, priority = 0, weight = 0, addr = {addr = {sa_family = 0}, ipv4 = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "000000000000000000000"}, ipv6 = {sin6_family = 0, sin6_port = 0, sin6_flowinfo = 0, sin6_addr = {s6_addr = '000' <repeats 15 times>, u6_addr32 = {0, 0, 0, 0}}, sin6_scope_id = 0}}, addr_len = 0} <repeats 31 times>}}
        resolve = 0x7f9b803efa48


> pjsip_transport_get_flag_from_type
> ----------------------------------
>
>                 Key: ASTERISK-29456
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29456
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 18.4.0
>            Reporter: LA
>            Assignee: Unassigned
>            Severity: Critical
>         Attachments: core-brief.txt, core-full.txt, core-info.txt, core-locks.txt, core-thread1.txt
>
>
> Asterisk crash many times, 



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



More information about the asterisk-bugs mailing list