Project

General

Profile

Asterisk issues new install

Added by Steve Turner 28 days ago

Ok, have had several servers working just fine. Built new server today, updated all, and asterisk keeps crashing when making test calls manually. Have reinstalled 4 times, and then updated a working server and that one now crashes also. The Backtrace is in the file.

  • Error in `asterisk': double free or corruption (out): 0x00007fd188004b50 ***
asterisk crashed.txt (85.1 KB) asterisk crashed.txt Backtrace Memory

Replies (9)

RE: Asterisk issues new install - Added by Levy Ryan Nolasco 27 days ago

Hi Steve,

What are the CPU Load, Memory and current resources and output when you encounter this error.

RE: Asterisk issues new install - Added by Steve Turner 27 days ago

12core CPU, 32gb RAM, CPU load 0.01 and less than 1gb memory in use.

Is only test calls on new server, only 1 agent logged in and manual calls.

RE: Asterisk issues new install - Added by Steve Turner 27 days ago

Sometimes also throws this error:

Error in `asterisk': malloc(): memory corruption:

RE: Asterisk issues new install - Added by Kristian Antiligando 26 days ago

Hi,

We did a gitpull test to our test server and found no issue in it. Meanwhile, could you answer the questions below so we can easily point out the issue?

1. How many calls can you make before the asterisk crash?

2. Provide us the gitpul output when you updated the server.

2. Temporarily change the audio codecs to ulaw. We will also do a test of different codecs.

RE: Asterisk issues new install - Added by Steve Turner 26 days ago

Sometimes is 1 call, another it can be 10 calls.

This was ONLY 1 call and now showing other error: corrupted size vs. prev_size
  • Error in `asterisk': corrupted size vs. prev_size: 0x00007f1bc0006ac0 ***
    ===== Backtrace: =========
    /lib64/libc.so.6(+0x7f7c4)[0x7f1bced987c4]
    /lib64/libc.so.6(+0x818bb)[0x7f1bced9a8bb]
    asterisk(ast_frame_free+0x37)[0x4ecc37]
    /usr/lib64/asterisk/modules/app_dial.so(+0x7631)[0x7f1b752de631]
    /usr/lib64/asterisk/modules/app_dial.so(+0xae1a)[0x7f1b752e1e1a]
    /usr/lib64/asterisk/modules/app_dial.so(+0xceb6)[0x7f1b752e3eb6]
    asterisk(pbx_exec+0xb9)[0x53c9d9]
    asterisk[0x535264]
    asterisk[0x53622e]
    asterisk(ast_pbx_run_args+0x2e)[0x5376ee]
    asterisk[0x53785e]
    asterisk[0x59a8ee]
    /lib64/libpthread.so.0(+0x7e65)[0x7f1bcf846e65]
    /lib64/libc.so.6(clone+0x6d)[0x7f1bcee1788d] ======= Memory map: ========
Manager 'sendcron' logged off from 127.0.0.1
-- Channel SIP/kamailio-00000001 joined 'simple_bridge' basic-bridge <40929ea9-249e-41b0-bcbd-5e659aa79614>
-- Channel Local/99999034171754@default-00000002;2 joined 'simple_bridge' basic-bridge <40929ea9-249e-41b0-bcbd-5e659aa79614>
> 0x7f1bc400ce70 -- Strict RTP learning after remote address set to: 162.212.218.138:51714
-- SIP/CommPeakOut-00000000 is making progress passing it to Local/8600051@default-00000001;1
> 0x7f1bc400ce70 -- Strict RTP switching to RTP target address 162.212.218.138:51714 as source

RE: Asterisk issues new install - Added by Steve Turner 26 days ago

And different one now
  • Error in `asterisk': free(): invalid next size (normal): 0x00007f2528004250 ***
    ===== Backtrace: =========
    /lib64/libc.so.6(+0x81679)[0x7f2566650679]
    asterisk(ast_frame_free+0x37)[0x4ecc37]
    /usr/lib64/asterisk/modules/app_dial.so(+0x7631)[0x7f250cd6d631]
    /usr/lib64/asterisk/modules/app_dial.so(+0xae1a)[0x7f250cd70e1a]
    /usr/lib64/asterisk/modules/app_dial.so(+0xceb6)[0x7f250cd72eb6]
    asterisk(pbx_exec+0xb9)[0x53c9d9]
    asterisk[0x535264]
    asterisk[0x53622e]
    asterisk(ast_pbx_run_args+0x2e)[0x5376ee]
    asterisk[0x53785e]
    asterisk[0x59a8ee]
    /lib64/libpthread.so.0(+0x7e65)[0x7f25670fce65]
    /lib64/libc.so.6(clone+0x6d)[0x7f25666cd88d] ======= Memory map: ========
Manager 'sendcron' logged off from 127.0.0.1
> 0x7f252c00bd10 -- Strict RTP learning after remote address set to: 162.212.218.136:33786
-- SIP/CommPeakOut-00000001 is making progress passing it to Local/8600051@default-00000001;1
> 0x7f252c00bd10 -- Strict RTP switching to RTP target address 162.212.218.136:33786 as source

RE: Asterisk issues new install - Added by Demian Lizandro Biscocho 24 days ago

Try switching back to app_meetme (instead of app_konference) and see if that helps. We've had some instances where Asterisk crashes when using app_konference but runs well on app_meetme. We haven't been able to do a full debug though.

To switch to app_meetme, just uncomment the entries that has "meetme" in /etc/asterisk/extensions.conf and comment the entries in /etc/asterisk/extensions-goautodial.conf that has "konference".

RE: Asterisk issues new install - Added by Steve Turner 21 days ago

Seems could be an issue with Dahdi. Dahdi starts, doesnt find modules to load, and then shuts down. I have seen on the forum issues with the kernel.

DKMS: add completed.
Error! echo
Your kernel headers for kernel 4.15.0-15-lowlatency cannot be found at
/lib/modules/4.15.0-15-lowlatency/build or /lib/modules/4.15.0-15-lowlatency/

This is a scratch install, I have kernel 3.10, and yes kernel-headers are installed. Do we need to change the kernel? I have only found 4.4 or 5 available in elrepo

RE: Asterisk issues new install - Added by Demian Lizandro Biscocho 18 days ago

We use the latest DAHDI from: https://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/. You would also need kernel (version 5) and kernel-devel packages in the Elrepo.

    (1-9/9)
    Go to top