Asterisk constantly crashing

ticket open #997542

How about checking if the package was recently updated?
rpm -qa --last | less
looking for asterisk16-res_digium_phone (assuming using 16)

asterisk18-res_digium_phone-3.6.5-1.sng7.x86_64 Tue 14 Sep 2021 05:54:41 PM UTC

but I just upgraded to 18 so that makes sense…

Hmm, does the switch version command leave the old version around? If so, try it for the asterisk16 one.

Does ‘dmesg’ output show anything other than the digium module segfault?
Hmm, and does ‘yum list updates’ show anything needing updating?

Try updating AND rebooting the PBX.

fwconsole ma upgradeall
fwconsole chown
fwconsole reload
yum update -y
reboot

already been done but I’ll give it another try

watch those fwconsole commands for any weird errors (perhaps append: | tee -a /tmp/fwconsole.log)

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-Backtraces(Segfaults/CoreDumps/AsteriskCrashing)

only error was:

Reload Started

In Process.php line 239:

  The command "/sbin/asterisk -rx 'core show version'" failed.

  Exit Code: 1(General error)

  Working directory: /var/spool/asterisk

  Output:
  ================


  Error Output:
  ================
  Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)


reload [--json] [--dry-run] [--skip-registry-checks] [--dont-reload-asterisk]

but I suspect that’s because asterisk was crashed at that moment.

rebooted… error still happening

Then try first:

fwconsole stop
yum update -y
reboot

Start asterisk after boot (give it two three minutes to start on it’s own):

fwconsoel start

They provide: https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-Backtraces(Segfaults/CoreDumps/AsteriskCrashing)

installed the sangoma-devel and debug packages but not sure what to do after that… instructions are kinda all over the place on that pages…

sorry… a bit confused on how to upload the info

I think @lgaetz is correct it may be best to open a ticket. I may even passively poke @mdavenport to see if he pokes his head in…

Ultimately one of your libraries is mismatched. You have jumped through the hoops so I will assume you are using distro builds of all of the asterisk packages. Perhaps you built a library or installed a 3rd party RPM for something like libssl or one of the other dependent libraries. Something is not “binary compatible” with the asterisk build.

Do you have any 3ed party repos?
Have you (or anyone) compiled any libraries?

ldd /usr/lib64/asterisk/modules/res_digium_phone.so

You can see the linked libraries with ^^^

nothing 3rd party… this is a vanilla distro system

Is it possible you have a hardware specific (often memory related) problem ? ( the coredump always seem to happen after accessing similar mapped address space)

https://linuxconfig.org/installation-of-memtest-ram-memory-test-tool-on-redhat-7-linux

boot into it and wait a few hours . . .

1 Like

unfortunately… ERROR: memtest86+ does not support EFI platforms.

Coincidence ?

Digium Phone App Totally Broke

I think not… asterisk crashes when the phones try to connect…

Then obviously unrelated .