[Home]

Summary:ASTERISK-23221: Asterisk Crash on 32bit Linux with MALLOC_DEBUG enabled
Reporter:Wolfgang Liegel (wliegel)Labels:
Date Opened:2014-01-30 03:37:48.000-0600Date Closed:2014-02-05 10:18:32.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/Configuration Core/General Core/PBX
Versions:1.8.20.0 1.8.25.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Fedora Core 10 Kernel 2.6.27.41-170.2.117.fc10.i686 #1 SMP i686 i686 i386 GNU/Linux asterisk 1.8.25.0 Attachments:( 0) asterisk.conf
( 1) core.txt
Description:On a 32bit Fedora 10 I see an Segmentation Fault during startup process.
This crash is reproducible by enabling MALLOC_DEBUG.

This issue was first introduced with Version 1.8.20.0 and is still reproducible in version 1.8.25.0.

Maybe this is due to changes from https://reviewboard.asterisk.org/r/2182/

According to the core dump the crash occours right after reading asterisk.conf.
The crash occurs before any output is written to log or stdout.
Comments:By: Wolfgang Liegel (wliegel) 2014-01-30 03:39:09.296-0600

Attached a core dump trace based on Asterisk Version 1.8.25.0

By: Matt Jordan (mjordan) 2014-01-30 15:36:03.468-0600

I'm not able to reproduce this on Ubuntu, Debian, CentOS 5, CentOS 6, or Fedora 15.

Can you attach your {{asterisk.conf}}?

What version of gcc are you using? Note that Fedora 10 is rather old (2008) and is unsupported by RedHat.

If we are unable to reproduce this, this issue will be closed.

By: Wolfgang Liegel (wliegel) 2014-01-30 23:42:04.710-0600

Attached my asterisk.conf.
But I can also reproduce the crash even without any asterisk.conf on my system at all.

I'm building with
gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)

By: Rusty Newton (rnewton) 2014-02-04 09:12:10.174-0600

I can't reproduce this either. Wolfgang have you been able to try on a newer Fedora version? Perhaps there is something you are enabling other than just MALLOC_DEBUG ?

By: Wolfgang Liegel (wliegel) 2014-02-04 10:08:39.009-0600

I tried to reproduce this on newer CentOS machines.
This issue seems to occur just on Fedora 10.

I'm quite sure it's all about the MALLOC_DEBUG Option, because when I disable MALLOC_DEBUG with
$ menuselect/menuselect --disable MALLOC_DEBUG menuselect.makeopts
there hasn't been a crash for a week, now.

By: Rusty Newton (rnewton) 2014-02-05 10:17:30.083-0600

We can't reproduce this in a recent distro version that is currently supported by their maintainers. I'm going to close this out as Cannot Reproduce. If you can provide a patch that doesn't affect newer versions we might consider it for inclusion. You can always bring up the issue in #asterisk-bugs channel on IRC with a bug marshal. Thanks!