After upgrade to 10.13.66-21 asterisk is crashing

Additional information…

Asterisk service fails. A restart attempt creates core dumps.

[[email protected] asterisk]# service asterisk restart
Stopping safe_asterisk: [ OK ]
Shutting down asterisk: [FAILED]
Starting asterisk: [ OK ]
[[email protected] asterisk]# /usr/sbin/safe_asterisk: line 171: 12193 Segmentation fault (core dumped) nice -n $PRIORITY “${ASTSBINDIR}/asterisk” -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
/usr/sbin/safe_asterisk: line 171: 12975 Segmentation fault (core dumped) nice -n $PRIORITY “${ASTSBINDIR}/asterisk” -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
/usr/sbin/safe_asterisk: line 171: 13722 Segmentation fault (core dumped) nice -n $PRIORITY “${ASTSBINDIR}/asterisk” -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
/usr/sbin/safe_asterisk: line 171: 14659 Segmentation fault (core dumped) nice -n $PRIORITY “${ASTSBINDIR}/asterisk” -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
/usr/sbin/safe_asterisk: line 171: 15402 Segmentation fault (core dumped) nice -n $PRIORITY “${ASTSBINDIR}/asterisk” -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}

Just had the same issue this morning. Rolled back to asterisk 13.16.01 from 13.17 and all is well now

command:
yum downgrade asterisk13*-13.16.0-1.shmz65.1.173

touch /etc/asterisk/ari.conf

Same issue, after a reboot the update screen has the error:
fopen(http://upgrades.schmoozecom.net/updates.php): failed to open stream: Connection refused

@jfinstrom Could you elaborate a little more?

There was a version of asterisk that would crash on a missing ari.conf the latest asterisk version should correct this. Short of seeing a core dump there is no way to know if this is the issue

There is some server stuff happening right now. I don’t work on that stuff so I am unsure if it is related. I have poked the people in charge of it.

All the logs show a successful update, so I don’t think it was your server. Also, I have an ari.conf. I can share dump file. Where is asterisk dropping the file?

url is back online

Where do you want core file?

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

Hi everyone. We have applied fixes to all Asterisk versions to avoid this crash. Upgrade to any of the versions below

Sangoma 6 Distro

asterisk14.x86_64 0:14.6.0-2
asterisk14.i386 0:14.6.0-2
asterisk13.x86_64 0:13.17.0-2
asterisk13.i386 0:13.17.0-2

Sangoma 7 Distro

asterisk14.x86_64:14.6.0-3.sng7
asterisk13.x86_64:13.17.0-3.sng7

I have a PBXact unit doing this. What do I need to do?

Okay I only ask because we are told never to manually run updates on PBXact modules from you guys. It’s frowned upon. Thank you.

I just upgraded to 10.13.66-21 and all our phones went offline. I rebooted the server and the phones are working online again but BLF’s all all greyed out/not lit depending on phone type. You can press the button and call them but ext monitoring quit working.

4 posts were split to a new topic: Asterisk 13.18 is crashing

hi i’m having kind o the same problem can you tell me how to bring back up the server

hi having the same problem here how to upgrade when i try to it show segfault at

this is all i see when i try to do some thing in the pbx

[[email protected] ~]# [ 109.152074] random: crng init done
[ 142.885154] php[1761]: segfault at 7ff03fe6a770 ip 000056479e814a31 sp 00007ffcfcba5c30 error 4 in php[56479e5b2000+401000]
[ 147.574351] yum[1766]: segfault at 8 ip 00007eff4e5d48c0 sp 00007ffe3e4c9910 error 4 in libpython2.7.so.1.0[7eff4e553000+17d000]
[ 203.110158] php[1770]: segfault at 7fbe807b4740 ip 0000564930ca6d98 sp 00007ffee2e005a0 error 4 in php[564930a0d000+401000]
[ 226.144419] yum[1775]: segfault at 7ff68d48fef8 ip 00007ff28d0040f1 sp 00007ffc8118ebc0 error 4 in libpython2.7.so.1.0[7ff28cef0000+17d000]
[ 263.496512] php[1778]: segfault at 400000000 ip 000055b0d86984f9 sp 00007fffcf80c520 error 4 in php[55b0d83e9000+401000]
[ 275.875133] yum[1783]: segfault at 7fd5c915e780 ip 00007fd1c8d04480 sp 00007ffc8750f600 error 4 in libpython2.7.so.1.0[7fd1c8bf0000+17d000]
[ 285.980143] php[1784]: segfault at 7f447a679f18 ip 00007f407db36870 sp 00007ffe37ce4360 error 4 in ld-2.17.so[7f407db28000+21000]
[ 295.590751] php[1785]: segfault at 559f8bdb3550 ip 0000559f8bdb3550 sp 00007ffdc7676c28 error 14 in locale-archive[7f4e3202e000+6529000]
[ 302.110967] yum[1786]: segfault at 4016810d8 ip 00007fcdeaa460f1 sp 00007fff013b5040 error 4 in libpython2.7.so.1.0[7fcdea932000+17d000]
[ 315.386958] asterisk[1795]: segfault at 400000010 ip 000000000043620a sp 00007ffea8300bd0 error 4 in bash[400000+dd000]
[ 323.724192] php[1800]: segfault at 400000040 ip 00005576ca3f84a3 sp 00007fff6280e390 error 4 in php[5576ca15e000+401000]
[ 347.919386] yum[1806]: segfault at 400000000 ip 00007feffc66edfd sp 00007ffc3373bb80 error 6 in libpython2.7.so.1.0[7feffc5e7000+17d000]
[ 361.193768] yum[1808]: segfault at 400000000 ip 00007f5efa1df899 sp 00007ffce47d9420 error 4 in libpython2.7.so.1.0[7f5efa15e000+17d000]
[ 366.193990] asterisk[1834]: segfault at 7f1e31b381e8 ip 00007f1a31dd8979 sp 00007ffe0f9cf500 error 6 in ld-2.17.so[7f1a31dcd000+21000]
[ 366.240063] asterisk[1844]: segfault at 7fcdc98b81e8 ip 00007fc9c9b58979 sp 00007ffc03f504a0 error 6 in ld-2.17.so[7fc9c9b4d000+21000]
[ 366.293709] asterisk[1860]: segfault at 7f5c1a7cf1e8 ip 00007f581aa6f979 sp 00007fff70bdab20 error 6 in ld-2.17.so[7f581aa64000+21000]
[ 370.364941] asterisk[1866]: segfault at 7fae2a75e1e8 ip 00007faa2a9fe979 sp 00007ffccfb287e0 error 6 in ld-2.17.so[7faa2a9f3000+21000]
[ 374.433823] asterisk[1872]: segfault at 7fb57a5e21e8 ip 00007fb17a882979 sp 00007ffe35966420 error 6 in ld-2.17.so[7fb17a877000+21000]
[ 378.503169] asterisk[1878]: segfault at 7f28d04cf1e8 ip 00007f24d076f979 sp 00007ffd32008b60 error 6 in ld-2.17.so[7f24d0764000+21000]
[ 382.571181] asterisk[1884]: segfault at 7f4f8cc831e8 ip 00007f4b8cf23979 sp 00007fff360408d0 error 6 in ld-2.17.so[7f4b8cf18000+21000]
[ 383.908569] pkttyagent[1824]: segfault at 400000000 ip 00007f08695f74a5 sp 00007ffd0745e5d8 error 4 in libgobject-2.0.so.0.5000.3[7f08695c5000+4e000]
[ 384.031346] php[1890]: segfault at 7f6a0a346730 ip 0000555e38586a31 sp 00007ffc92aa7110 error 4 in php[555e38324000+401000]
[ 386.638643] asterisk[1897]: segfault at 7facea7411e8 ip 00007fa8ea9e1979 sp 00007ffe832e03a0 error 6 in ld-2.17.so[7fa8ea9d6000+21000]
[ 390.707283] asterisk[1903]: segfault at 7f11678a51e8 ip 00007f0d67b45979 sp 00007ffe3b8b1cb0 error 6 in ld-2.17.so[7f0d67b3a000+21000]
[ 394.775183] asterisk[1909]: segfault at 7fb05b08f1e8 ip 00007fac5b32f979 sp 00007ffd7d912e90 error 6 in ld-2.17.so[7fac5b324000+21000]
[ 398.843246] asterisk[1915]: segfault at 7f353706f1e8 ip 00007f313730f979 sp 00007fff25d6f1a0 error 6 in ld-2.17.so[7f3137304000+21000]
[ 402.911729] asterisk[1921]: segfault at 7fe4864b01e8 ip 00007fe086750979 sp 00007ffc9bc1e870 error 6 in ld-2.17.so[7fe086745000+21000]
[ 406.979375] asterisk[1927]: segfault at 7fbbedfc11e8 ip 00007fb7ee261979 sp 00007ffca5234980 error 6 in ld-2.17.so[7fb7ee256000+21000]
[ 411.048028] asterisk[1933]: segfault at 7f6b4bf031e8 ip 00007f674c1a3979 sp 00007ffc6cba4c70 error 6 in ld-2.17.so[7f674c198000+21000]
[ 415.117813] asterisk[1939]: segfault at 7faf1724e1e8 ip 00007fab174ee979 sp 00007fffe6630cd0 error 6 in ld-2.17.so[7fab174e3000+21000]
[ 419.186136] asterisk[1945]: segfault at 7fcd83bac1e8 ip 00007fc983e4c979 sp 00007ffcd75e0df0 error 6 in ld-2.17.so[7fc983e41000+21000]
[ 423.255484] asterisk[1951]: segfault at 7f9b2075b1e8 ip 00007f97209fb979 sp 00007fffe65b73b0 error 6 in ld-2.17.so[7f97209f0000+21000]
[ 427.324313] asterisk[1957]: segfault at 7fe12fabb1e8 ip 00007fdd2fd5b979 sp 00007ffcd917a820 error 6 in ld-2.17.so[7fdd2fd50000+21000]
[ 431.393680] asterisk[1963]: segfault at 7fa2221611e8 ip 00007f9e22401979 sp 00007ffe999bc9a0 error 6 in ld-2.17.so[7f9e223f6000+21000]
[ 435.463507] asterisk[1969]: segfault at 7f2f8dcd11e8 ip 00007f2b8df71979 sp 00007fffb80a6e10 error 6 in ld-2.17.so[7f2b8df66000+21000]
[ 439.532523] asterisk[1975]: segfault at 7f90fd9ba1e8 ip 00007f8cfdc5a979 sp 00007ffe0b17ccb0 error 6 in ld-2.17.so[7f8cfdc4f000+21000]
[ 443.189817] crond[1071]: segfault at 55667c91f850 ip 000055627b536344 sp 00007ffeb797ef70 error 4 in crond[55627b52d000+f000]
[ 443.601911] asterisk[1982]: segfault at 7f9a3ee011e8 ip 00007f963f0a1979 sp 00007ffe44c06010 error 6 in ld-2.17.so[7f963f096000+21000]
[ 447.670434] asterisk[1988]: segfault at 7f20536151e8 ip 00007f1c538b5979 sp 00007fffc17ddb60 error 6 in ld-2.17.so[7f1c538aa000+21000]
[ 451.738367] asterisk[1994]: segfault at 7fa6357d41e8 ip 00007fa235a74979 sp 00007ffc91b2e6b0 error 6 in ld-2.17.so[7fa235a69000+21000]
[ 455.806700] asterisk[2000]: segfault at 7f21978761e8 ip 00007f1d97b16979 sp 00007ffc1f8d61d0 error 6 in ld-2.17.so[7f1d97b0b000+21000]
[ 459.875760] asterisk[2006]: segfault at 7f7f6ba041e8 ip 00007f7b6bca4979 sp 00007ffe2bc4e160 error 6 in ld-2.17.so[7f7b6bc99000+21000]
[ 463.944625] asterisk[2012]: segfault at 7f67475bd1e8 ip 00007f634785d979 sp 00007ffe91af1750 error 6 in ld-2.17.so[7f6347852000+21000]
[ 468.013212] asterisk[2018]: segfault at 7f5e3b0941e8 ip 00007f5a3b334979 sp 00007ffcbec09c40 error 6 in ld-2.17.so[7f5a3b329000+21000]
[ 472.081761] asterisk[2024]: segfault at 7fc8b3c6b1e8 ip 00007fc4b3f0b979 sp 00007ffe8c239d90 error 6 in ld-2.17.so[7fc4b3f00000+21000]
[ 476.150206] asterisk[2030]: segfault at 7f2c21baf1e8 ip 00007f2821e4f979 sp 00007ffce7efe880 error 6 in ld-2.17.so[7f2821e44000+21000]
[ 480.217771] asterisk[2036]: segfault at 7fbb8624e1e8 ip 00007fb7864ee979 sp 00007fff04cca190 error 6 in ld-2.17.so[7fb7864e3000+21000]
[ 484.285883] asterisk[2042]: segfault at 7f84edefd1e8 ip 00007f80ee19d979 sp 00007ffdf0af97e0 error 6 in ld-2.17.so[7f80ee192000+21000]
[ 488.354231] asterisk[2048]: segfault at 7fe85e2991e8 ip 00007fe45e539979 sp 00007ffe49c562a0 error 6 in ld-2.17.so[7fe45e52e000+21000]
[ 492.423018] asterisk[2054]: segfault at 7f77701b01e8 ip 00007f7370450979 sp 00007ffc6c276010 error 6 in ld-2.17.so[7f7370445000+21000]
[ 496.491670] asterisk[2060]: segfault at 7f2ca02621e8 ip 00007f28a0502979 sp 00007ffebd9e73c0 error 6 in ld-2.17.so[7f28a04f7000+21000]
[ 500.560810] asterisk[2066]: segfault at 7ff6f63c21e8 ip 00007ff2f6662979 sp 00007ffdb6d839d0 error 6 in ld-2.17.so[7ff2f6657000+21000]
[ 504.629308] asterisk[2072]: segfault at 7fe4281251e8 ip 00007fe0283c5979 sp 00007ffeee583650 error 6 in ld-2.17.so[7fe0283ba000+21000]
[ 508.698163] asterisk[2078]: segfault at 7f2eca7621e8 ip 00007f2acaa02979 sp 00007fff00f0bd70 error 6 in ld-2.17.so[7f2aca9f7000+21000]
[ 512.766575] asterisk[2084]: segfault at 7fbb816071e8 ip 00007fb7818a7979 sp 00007fff931285e0 error 6 in ld-2.17.so[7fb78189c000+21000]
[ 516.835046] asterisk[2090]: segfault at 7ff4a84181e8 ip 00007ff0a86b8979 sp 00007ffeb5439c30 error 6 in ld-2.17.so[7ff0a86ad000+21000]
[ 520.902364] asterisk[2096]: segfault at 7f6a164df1e8 ip 00007f661677f979 sp 00007ffe4f395460 error 6 in ld-2.17.so[7f6616774000+21000]
[ 524.969778] asterisk[2102]: segfault at 7f64db4e41e8 ip 00007f60db784979 sp 00007ffe6577bb30 error 6 in ld-2.17.so[7f60db779000+21000]
[ 526.411099] yum[2106]: segfault at 7f05f19020a0 ip 00007f01f13f8840 sp 00007ffc526d78c8 error 4 in libpython2.7.so.1.0[7f01f1366000+17d000]
[ 529.037066] asterisk[2109]: segfault at 7f01059d81e8 ip 00007efd05c78979 sp 00007fff71475b40 error 6 in ld-2.17.so[7efd05c6d000+21000]
[ 533.104019] asterisk[2115]: segfault at 7f6c58d451e8 ip 00007f6858fe5979 sp 00007ffc005f4600 error 6 in ld-2.17.so[7f6858fda000+21000]
[ 533.121608] safe_asterisk[1855]: segfault at 4011d79f0 ip 00007f3b9b6c128c sp 00007fff713551e0 error 4 in libc-2.17.so[7f3b9b644000+1b8000]
[ 544.133198] yum[2117]: segfault at 8 ip 00007f3f4abda8c0 sp 00007fff92e092c0 error 4 in libpython2.7.so.1.0[7f3f4ab59000+17d000]

Variations of this number keep popping up in your segfaults, but that’s about all I see that’s consistent.

I recommend a hardware memory scan and see if you have a bad RAM stick. This looks a lot like a hardware problem.