[asterisk-bugs] [JIRA] (ASTERISK-29210) res_pjsip: Crash when examining transport

N GM (JIRA) noreply at issues.asterisk.org
Fri Dec 11 09:42:16 CST 2020


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

N GM  commented on ASTERISK-29210:
----------------------------------

Yes. I too was surprised by how short it was. Since it crashes almost immediately after start in background, I assumed that may the reason for it.

Here are the steps I followed. Please let me know if I made any errors.

1. Update logger.conf in /etc/asterisk with the line "debug_log_12_11_20 => notice,warning,error,debug,verbose,dtmf" in [logger] section.

2. Start asterisk in foreground and enter the following 4 commands.

core set verbose 5
core set debug 5
module reload logger
pjsip set logger on

3. Exit CLI with "core stop now"

4. Start asterisk in background with "asterisk -g", check if it crashes with ps. Repeat 3 times.

5. Copy /var/log/asterisk/debug_log_12_11_20 to send to you.

> res_pjsip: Crash when examining transport
> -----------------------------------------
>
>                 Key: ASTERISK-29210
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29210
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 18.1.0
>         Environment: Debian 10( buster) on armv7l, dual core, 1400Mhz CPU, single SIP line.
>            Reporter: N GM 
>            Assignee: N GM 
>         Attachments: backtrace.txt, debug_log_12_11_20, gdb.txt
>
>
> When starting Asterisk in daemon mode, using /usr/sbin/asterisk or /etc/init.d/asterisk start, daemon starts with no errors, but within a few second, ps shows that the daemon has crashed and that the process /usr/sbin/asterisk is no longer present. When started with -g option, produces a core dump. When started with /usr/sbin/safe_asterisk, produces continuous core dumps in /tmp.
> Interestingly, when started in CLI mode in foreground with /usr/sbin/asterisk -cvvvv, so far it has remained stable with no auto-shutdown or no core dump. SIP connection to SIP provider is established and voice calls work. More testing is perhaps needed to see if core dumps can be replicated in foreground.
> /var/log/asterisk/messages does not show any errors/warnings at the point of daemon crash/core dump.
> All testing is currently at halt and rollout to production status is on hold, due to these continuous core dumps.



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



More information about the asterisk-bugs mailing list