[asterisk-bugs] [JIRA] (ASTERISK-29411) Crash Asterisk 18.3

Leandro Arbia (JIRA) noreply at issues.asterisk.org
Fri Apr 30 12:49:09 CDT 2021


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

Leandro Arbia updated ASTERISK-29411:
-------------------------------------

    Attachment: core-thread1.txt

> Crash Asterisk 18.3
> -------------------
>
>                 Key: ASTERISK-29411
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29411
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 18.3.0
>            Reporter: Leandro Arbia
>            Severity: Critical
>         Attachments: core-thread1.txt
>
>
> The Asterisk  crash one or two times peer day
> This is core-thread1.txt:
> !@!@!@! thread1.txt !@!@!@!
> $1 = {si_signo = 11, si_errno = 0, si_code = 128, _sifields = {_pad = {0 <repeats 28 times>}, _kill = {si_pid = 0, si_uid = 0}, _timer = {si_tid = 0, si_overrun = 0, si_sigval = {sival_int = 0, sival_ptr = 0x0}}, _rt = {si_pid = 0, si_uid = 0, si_sigval = {sival_int = 0, sival_ptr = 0x0}}, _sigchld = {si_pid = 0, si_uid = 0, si_status = 0, si_utime = 0, si_stime = 0}, _sigfault = {si_addr = 0x0}, _sigpoll = {si_band = 0, si_fd = 0}}}
> Signal        Stop	Print	Pass to program	Description
> SIGSEGV       Yes	Yes	Yes		Segmentation fault
> Thread 1 (Thread 0x7f565d779700 (LWP 7768)):
> #0  0x000000000045dadc in __ao2_ref (user_data=0x796e73377a6d4e, delta=1, tag=tag at entry=0x0, file=file at entry=0x7f56a582a1d2 "res_pjsip_session.c", line=3640, func=0x7f56a582db00 <__PRETTY_FUNCTION__.35093> "ast_sip_dialog_get_session") at astobj2.c:501
>         obj = 0x796e73377a6d36
>         obj_lockobj = 0x796e73377a6d36
>         current_value = -1518150912
>         weakproxy = 0x7f55295b1bd8
>         lock_state = 0x7f55295b1bd8 "260037[)U177"
>         __PRETTY_FUNCTION__ = "__ao2_ref"
> #1  0x00007f56a5829002 in ast_sip_dialog_get_session (dlg=<optimized out>) at res_pjsip_session.c:3640
>         inv_session = <optimized out>
>         session = 0x796e73377a6d4e
>         __PRETTY_FUNCTION__ = "ast_sip_dialog_get_session"
> #2  0x00007f56a5829732 in session_outgoing_nat_hook (tdata=0x7f555c00d178, transport=0x7f55295b1bd8) at res_pjsip_session.c:5464
>         transport_state = 0x3bec7e0
>         hook = 0x0
>         dlg = 0x7f55100bc2b8
>         session = 0x0
>         __PRETTY_FUNCTION__ = "session_outgoing_nat_hook"
> #3  0x00007f56a17405d9 in nat_invoke_hook (obj=<optimized out>, arg=<optimized out>, flags=<optimized out>) at res_pjsip_nat.c:300
>         hook = <optimized out>
>         details = <optimized out>
> #4  0x000000000046039d in internal_ao2_traverse (self=self at entry=0x7f552a860af8, flags=flags at entry=OBJ_SEARCH_NONE, cb_fn=cb_fn at entry=0x7f56a17405c0 <nat_invoke_hook>, arg=arg at entry=0x7f565d778b00, tag=tag at entry=0x0, file=file at entry=0x7f56a17419b9 "res_pjsip_nat.c", line=471, func=0x7f56a1741e52 <__PRETTY_FUNCTION__.26452> "process_nat", type=AO2_CALLBACK_DEFAULT, data=0x0) at astobj2_container.c:328
>         match = 3
>         ret = 0x0
>         cb_default = 0x7f56a17405c0 <nat_invoke_hook>
>         node = 0x7f5529874fb8
>         traversal_state = 0x7f565d7789a0
>         orig_lock = AO2_LOCK_REQ_MUTEX
>         multi_container = 0x0
>         multi_iterator = 0x0
> #5  0x0000000000460825 in __ao2_callback (c=c at entry=0x7f552a860af8, flags=flags at entry=OBJ_SEARCH_NONE, cb_fn=cb_fn at entry=0x7f56a17405c0 <nat_invoke_hook>, arg=arg at entry=0x7f565d778b00, tag=tag at entry=0x0, file=file at entry=0x7f56a17419b9 "res_pjsip_nat.c", line=471, func=0x7f56a1741e52 <__PRETTY_FUNCTION__.26452> "process_nat") at astobj2_container.c:414
> No locals.
> #6  0x00007f56a1740a5f in process_nat (tdata=0x7f555c00d178) at res_pjsip_nat.c:471
>         hook_details = {tdata = 0x7f555c00d178, transport = 0x7f55295b1bd8}
>         transport_states = 0x7f552921ee50
>         transport = 0x7f55295b1bd8
>         transport_state = 0x3bec7e0
>         details = {type = (unknown: 0), transport = 0x3bed408, factory = 0x0, local_address = {ptr = 0x0, slen = 0}, local_port = 0}
>         via = 0x7f555dbcbe60
>         addr = {ss = {ss_family = 2, __ss_padding = "023ıv1337", '000' <repeats 111 times>, __ss_align = 0}, len = 16}
>         uri = 0x7f552a860af8
>         hooks = 0x7f552a860af8
> #7  nat_on_tx_message (tdata=0x7f555c00d178) at res_pjsip_nat.c:480
> No locals.
> #8  0x00007f5741947f66 in endpt_on_tx_msg (endpt=<optimized out>, tdata=0x7f555c00d178) at ../src/pjsip/sip_endpoint.c:1116
>         status = 0
>         mod = 0x7f56a1943300 <nat_module>
> #9  0x00007f574194f110 in pjsip_transport_send (tr=0x3bed408, tdata=0x7f555c00d178, addr=0x7f555c00d368, addr_len=16, token=0x7f555dbcc7f0, cb=0x7f5741949720 <stateless_send_transport_cb>) at ../src/pjsip/sip_transport.c:931
>         status = <optimized out>
> #10 0x00007f57419498c0 in stateless_send_transport_cb (token=0x7f555dbcc7f0, tdata=0x7f555c00d178, sent=16) at ../src/pjsip/sip_util.c:1277
>         cont = 1
>         cur_addr = 0x7f555c00d368
>         cur_addr_len = 16
>         via = 0x7f555dbcbf00
>         need_update_via = 1
> #11 0x00007f5741949c82 in stateless_send_resolver_callback (status=<optimized out>, token=0x7f555dbcc7f0, addr=<optimized out>) at ../src/pjsip/sip_util.c:1378
>         stateless_data = 0x7f555dbcc7f0
>         tdata = 0x7f555c00d178
> #12 0x00007f56a8197fa4 in sip_resolve_invoke_user_callback (data=0x7f555dbcdb58) at res_pjsip/pjsip_resolver.c:208
>         __PRETTY_FUNCTION__ = "sip_resolve_invoke_user_callback"
> #13 0x000000000059a02e in ast_taskprocessor_execute (tps=tps at entry=0x7f55104564e0) at taskprocessor.c:1237
>         local = {local_data = 0x7f5528287e50, data = 0x7f55104564e0}
>         t = 0x7f56cc000920
>         __PRETTY_FUNCTION__ = "ast_taskprocessor_execute"
> #14 0x00000000005a0c70 in execute_tasks (data=0x7f55104564e0) at threadpool.c:1354
>         tps = 0x7f55104564e0
> #15 0x000000000059a02e in ast_taskprocessor_execute (tps=0x1763280) at taskprocessor.c:1237
>         local = {local_data = 0x7f5528287e50, data = 0x1763890}
>         t = 0x7f56cc0008f0
>         __PRETTY_FUNCTION__ = "ast_taskprocessor_execute"
> #16 0x00000000005a1820 in threadpool_execute (pool=<optimized out>) at threadpool.c:367
> No locals.
> #17 worker_active (worker=<optimized out>) at threadpool.c:1137
> No locals.
> #18 worker_start (arg=0x7f566c000fd0) at threadpool.c:1056
>         __PRETTY_FUNCTION__ = "worker_start"
> #19 0x00000000005a8d09 in dummy_start (data=<optimized out>) at utils.c:1299
>         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140009155861952, -1076597341119052612, 140010003815470, 140010003815471, 140008911523840, 7, 1126905423127381180, -1076596873350478660}, __mask_was_saved = 0}}, __pad = {0x7f565d778ef0, 0x0, 0x7f573ee16542 <__libc_thread_freeres+34>, 0x7f569e92ab9f}}
>         __cancel_arg = 0x7f565d779700
>         __not_first_call = <optimized out>
>         ret = <optimized out>
>         a = {start_routine = 0x5a1470 <worker_start>, data = 0x7f566c000fd0, name = 0x7f566c001dc0 "worker_start         started at [ 1111] threadpool.c worker_thread_start()"}
>         __PRETTY_FUNCTION__ = "dummy_start"
> #20 0x00007f573fad14a4 in start_thread (arg=0x7f565d779700) at pthread_create.c:456
>         __res = <optimized out>
>         pd = 0x7f565d779700
>         now = <optimized out>
>         unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140008912033536, -1076597341119052612, 140010003815470, 140010003815471, 140008911523840, 7, 1126905423139964092, 1126277272142218428}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
>         not_first_call = <optimized out>
>         pagesize_m1 = <optimized out>
>         sp = <optimized out>
>         freesize = <optimized out>
>         __PRETTY_FUNCTION__ = "start_thread"
> #21 0x00007f573edb4d0f in clone () from /lib/x86_64-linux-gnu/libc.so.6
> No symbol table info available



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



More information about the asterisk-bugs mailing list