[asterisk-bugs] [JIRA] (ASTERISK-29385) Asterisk sometimes freezes

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Fri Apr 9 15:16:57 CDT 2021


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

Kevin Harwell commented on ASTERISK-29385:
------------------------------------------

Also if the core file being written out is written out using the same name every time then I'd also recommend removing (delete, move, or rename) the previously written core file once you're done with it. For some unknown reason (to me) I have found occasionally corrupted core files after one was overwritten.

> Asterisk sometimes freezes 
> ---------------------------
>
>                 Key: ASTERISK-29385
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29385
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Platform
>    Affects Versions: 18.1.0
>         Environment: It is installed on a Linux (Redhat) server.
> Asterisk is interacting with our CallCenter software using AGI-scripts.
> There are 5000–10000 calls/day.
> Asterisk restarts unexpectedly about once á month, last time 2021-04-08
> Our asterisk is installed under /opt/asterisk181/
>            Reporter: Dan Erik Ollas
>            Assignee: Unassigned
>            Severity: Major
>         Attachments: core-brief.txt, core-full.txt, core-info.txt, core-locks.txt, core-thread1.txt
>
>
> Asterisk core freezes, drops all ongoing calls and restarts.
> No useful info in log-files, only this:
> ----------------------------------------------------------------------------------------
> {noformat}
> /var/log/messages 
> Apr  8 16:02:06 xxx asterisk18: /opt/asterisk181/sbin/safe_asterisk: line 171: 25097 Segmentation fault      (core dumped) nice -n $PRIORITY "${ASTSBINDIR}/asterisk" 
>  -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY} 
> Apr  8 16:02:06 xxx asterisk18: cat: /opt/asterisk181/var/run/asterisk/asterisk.pid: No such file or directory
> Asterisk log-file messages:
> .....
> [2021-04-08 16:02:02.567] VERBOSE[28378][C-0000eb6d] res_musiconhold.c: Started music on hold, class 'dialtone', on channel 'PJSIP/tdc-0001c27f' 
> [2021-04-08 16:02:11.292] Asterisk 18.1.0 built by root @ xxx on a x86_64 running Linux on 2021-03-21 18:36:21 UTC
> {noformat}
> (Just a restart after 9 seconds of no logging)
> ----------------------------------------------------------------------------------------
> But I managed to get the "core" from last crash and I have done "ast_coredumper" so I can provide these files:
> core-thread1.txt
> core-brief.txt
> core-full.txt
> core-locks.txt
> core-info.txt
> Really hope you can help. And we are willing to contribute with a significant donation if you can solve.
> Regards,
> /Dan Erik



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



More information about the asterisk-bugs mailing list