[Home]

Summary:ASTERISK-17064: Segmentation Fault with flag LOW_MEMORY
Reporter:lgfsantos (lgfsantos)Labels:
Date Opened:2010-12-03 11:57:40.000-0600Date Closed:2011-06-07 14:00:45
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) backtrace-segfault.txt
Description:Using the flag LOW_MEMORY, cross-compiling to power-pc, I have a segmentation fault.
Comments:By: Paul Belanger (pabelanger) 2010-12-04 20:37:15.000-0600

Thank you for your bug report. In order to move your issue forward, we require a backtrace from the core file produced after the crash. Please see the doc/backtrace.txt file in your Asterisk source directory.

Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

after enabling, reproduce the crash, and then execute the instructions in doc/backtrace.txt.

When complete, attach that file to this issue report. Thanks!

By: lgfsantos (lgfsantos) 2010-12-08 05:42:55.000-0600

Sorry for the text file. It was the wrong. Actually the asterisk don't create the core files in /tmp.
What happens is:

/etc/asterisk # asterisk -vvvvvcg
Asterisk 1.6.2.10, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
 == Parsing '/etc/asterisk/asterisk.conf':   == Found
'alwaysfork' is not compatible with console or remote console mode; ignored
 == Parsing '/etc/asterisk/extconfig.conf': Parsing /etc/asterisk/extconfig.conf
 == Found
Cannot read termcap database;
using dumb terminal settings.
pthread_attr_setstacksize: Invalid argument
Parsing /etc/asterisk/logger.conf
 == Parsing '/etc/asterisk/logger.conf':   == Found
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk Dynamic Loader Starting:
 == Parsing '/etc/asterisk/modules.conf':   == Found
 == Parsing '/etc/asterisk/dnsmgr.conf':   == Found
 == Parsing '/etc/asterisk/http.conf':   == Found
 == Parsing '/etc/asterisk/codecs.conf':   == Found
 == Manager registered action Ping
 == Manager registered action Events
 == Manager registered action Logoff
 == Manager registered action Login
 == Manager registered action Challenge
 == Manager registered action Hangup
 == Manager registered action Status
 == Manager registered action Setvar
 == Manager registered action Getvar
 == Manager registered action GetConfig
 == Manager registered action GetConfigJSON
 == Manager registered action UpdateConfig
 == Manager registered action CreateConfig
 == Manager registered action ListCategories
 == Manager registered action Redirect
 == Manager registered action Atxfer
 == Manager registered action Originate
 == Manager registered action Command
 == Manager registered action ExtensionState
 == Manager registered action AbsoluteTimeout
 == Manager registered action MailboxStatus
 == Manager registered action MailboxCount
 == Manager registered action ListCommands
 == Manager registered action SendText
 == Manager registered action UserEvent
 == Manager registered action WaitEvent
 == Manager registered action CoreSettings
 == Manager registered action CoreStatus
 == Manager registered action Reload
 == Manager registered action CoreShowChannels
 == Manager registered action ModuleLoad
 == Manager registered action ModuleCheck
 == Parsing '/etc/asterisk/manager.conf':   == Found
 == Parsing '/etc/asterisk/users.conf':   == Found
Segmentation fault (core dumped)

By: Leif Madsen (lmadsen) 2011-01-18 10:15:34.000-0600

Insufficient information.