[asterisk-bugs] [JIRA] (ASTERISK-29385) Asterisk sometimes freezes
Kevin Harwell (JIRA)
noreply at issues.asterisk.org
Fri Apr 9 15:12:57 CDT 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=254482#comment-254482 ]
Kevin Harwell edited comment on ASTERISK-29385 at 4/9/21 3:11 PM:
------------------------------------------------------------------
In all likelihood it's probably a core file then that was left over from when the previous version was installed/running.
But yeah anytime you rebuild Asterisk with a new version (well for sure a major version at least), then I'd recommend the following:
{noformat}
$ make uninstall
$ make distclean
$ ./configure <your options>
$ make
$ make menuselect # optional
$ make install
{noformat}
was (Author: kharwell):
In all likelihood it's probably a core file then that was left over from when the previous version was installed/running.
But yeah anytime you rebuild Asterisk with a new version (well for sure a major version at least), then I'd recommend the following:
{noformat}
$ make uninstall
$ make distclean
$ ./configure <your options>
$ make menuselect # optional
$ make install
{noformat}
> 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