[asterisk-bugs] [JIRA] (ASTERISK-30154) pjsip: assertion failure

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Jul 22 17:16:09 CDT 2022


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

Asterisk Team commented on ASTERISK-30154:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

Please note that by submitting data, code, or documentation to Sangoma through JIRA, you accept the Terms of Use present at [https://www.asterisk.org/terms-of-use/|https://www.asterisk.org/terms-of-use/].

> pjsip: assertion failure
> ------------------------
>
>                 Key: ASTERISK-30154
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30154
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 18.9.0
>         Environment: Debian 10
>            Reporter: N A
>            Severity: Major
>
> Assertion with developer mode and DO_CRASH with PJSIP:
> {nocrash}
> Thread 1 (Thread 0x7f98cd395700 (LWP 15349)):
> #0  0x00007f98f17cc7bb in __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
>         set = {__val = {134238211, 140294457333808, 0, 140294863508711, 4222451712, 140294457333808, 140294457333909, 140294457333808, 140294457333808, 140294457333930, 140294457334108, 140294457333808, 140294457334108, 0, 0, 0}}
>         pid = <optimized out>
>         tid = <optimized out>
> #1  0x00007f98f17b7535 in __GI_abort () at abort.c:79
>         save_stage = 1
>         act = {__sigaction_handler = {sa_handler = 0x7f98e97b2930, sa_sigaction = 0x7f98e97b2930}, sa_mask = {__val = {0, 303, 140294457333808, 0, 0, 0, 21474836480, 140294254840664, 140294254840512, 140294864620304, 140294864604896, 0, 13875603155820457728, 140294864589754, 0, 140294864604896}}, sa_flags = -227960081, sa_restorer = 0x7f98f269a5b0}
>         sigs = {__val = {32, 0 <repeats 15 times>}}
> #2  0x00007f98f17b740f in __assert_fail_base (fmt=0x7f98f1918ee0 "%s%s%s:%u: %s%sAssertion `%s' failed.n%n", assertion=0x7f98f269a5b0 "inv->state < PJSIP_INV_STATE_DISCONNECTED", file=0x7f98f2699aef "../src/pjsip-ua/sip_inv.c", line=3064, function=<optimized out>) at assert.c:92
>         str = 0x7f98e97b2930 "320017I351230177"
>         total = 4096
> #3  0x00007f98f17c5102 in __GI___assert_fail (assertion=0x7f98f269a5b0 "inv->state < PJSIP_INV_STATE_DISCONNECTED", file=0x7f98f2699aef "../src/pjsip-ua/sip_inv.c", line=3064, function=0x7f98f269acf0 <__PRETTY_FUNCTION__.9144> "pjsip_inv_update") at assert.c:101
> #4  0x00007f98f259ebcd in pjsip_inv_update (inv=0x555dfda41338, new_contact=0x0, offer=0x0, p_tdata=0x7f98cd394d28) at ../src/pjsip-ua/sip_inv.c:3063
>         contact_hdr = 0x0
>         tdata = 0x0
>         sdp_copy = 0x7f98cd394c90
>         hdr = 0x7f98d21f1018
>         sup_hdr = 0x0
>         status = 0
>         __PRETTY_FUNCTION__ = "pjsip_inv_update"
> #5  0x00007f98f25a9f4b in timer_cb (timer_heap=0x555dfaf1dd70, entry=0x555dfda415a0) at ../src/pjsip-ua/sip_timer.c:398
>         offer = 0x0
>         now = {sec = 14, msec = 93862132955512}
>         neg_state = PJMEDIA_SDP_NEG_STATE_DONE
>         inv = 0x555dfda41338
>         tdata = 0x0
>         status = 21853
>         as_refresher = 1
>         entry_id = 1
>         obj_name = "dlg0x555dfcc5b7e0", '000' <repeats 14 times>
>         __PRETTY_FUNCTION__ = "timer_cb"
> #6  0x00007f98f2691cad in pj_timer_heap_poll (ht=0x555dfaf1dd70, next_delay=0x7f98cd394df0) at ../src/pj/timer.c:913
>         node = 0x7f98cd3c55c8
>         entry = 0x555dfda415a0
>         grp_lock = 0x0
>         valid = 1
>         now = {sec = 2716983, msec = 864}
>         min_time_node = {sec = 2716983, msec = 864}
>         count = 1
>         slot = 0
>         __PRETTY_FUNCTION__ = "pj_timer_heap_poll"
> #7  0x00007f98f25c70a7 in pjsip_endpt_handle_events2 (endpt=0x555dfaf1da88, max_timeout=0x7f98cd394e60, p_count=0x0) at ../src/pjsip/sip_endpoint.c:716
>         timeout = {sec = 0, msec = 0}
>         count = 0
>         net_event_count = 0
>         c = 0
>         __PRETTY_FUNCTION__ = "pjsip_endpt_handle_events2"
> #8  0x00007f98f25c721e in pjsip_endpt_handle_events (endpt=0x555dfaf1da88, max_timeout=0x7f98cd394e60) at ../src/pjsip/sip_endpoint.c:777
> #9  0x00007f98cf4b90cf in monitor_thread_exec (endpt=0x0) at res_pjsip.c:5318
>         delay = {sec = 0, msec = 10}
> #10 0x00007f98f2675aea in thread_main (param=0x555dfaf6fd38) at ../src/pj/os_core_unix.c:541
>         rec = 0x555dfaf6fd38
>         result = 0x0
>         rc = 0
>         __PRETTY_FUNCTION__ = "thread_main"
> #11 0x00007f98f1df9fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
>         ret = <optimized out>
>         pd = <optimized out>
>         now = <optimized out>
>         unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140294254843648, 5055889319854652224, 140725106256558, 140725106256559, 140294254843648, 0, -5108283752100873408, -5108274725638718656}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
>         not_first_call = <optimized out>
> #12 0x00007f98f188deff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
> {nocrash}



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



More information about the asterisk-bugs mailing list