[asterisk-bugs] [Asterisk 0019033]: Asterisk crashes with LOW_MEMORY defined

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 5 15:18:47 CDT 2011


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19033 
====================================================================== 
Reported By:                captainjez
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19033
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.8.3.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-03-28 22:46 CDT
Last Modified:              2011-04-05 15:18 CDT
====================================================================== 
Summary:                    Asterisk crashes with LOW_MEMORY defined
Description: 
I've seen this issue for some time now. When I build Asterisk (its
reproducible in 1.4, 1.6 and 1.8) and choose the LOW MEMORY compile time
flag (with and without DONT OPTIMIZE enabled) , Asterisk will build fine,
however once I have Asterisk running, issuing a "dialplan reload" or
"module reload" will always cause Asterisk to die completely. It won't core
dump either, however it does die on a Signal 11.

pid 177 (asterisk), uid 0: exited on signal 11
pid 184 (asterisk), uid 0: exited on signal 11
pid 188 (asterisk), uid 0: exited on signal 11

Its unlikely a hardware issue as this is reproducible on various hardware
running the same OS.

I'm using FreeBSD, and i've had this issue with FreeBSD 6 and 8.2 (which
i'm currently building with).

# asterisk -r
*CLI> module reload
*CLI> 
Disconnected from Asterisk server

# asterisk -r
vtalk*CLI> dialplan reload
vtalk*CLI> 
Disconnected from Asterisk server

I have the following modules enabled:

-rwxr-xr-x  1 root  wheel    6174 Mar 29 14:40 app_cdr.so
-rwxr-xr-x  1 root  wheel    9682 Mar 29 14:40 app_chanisavail.so
-rwxr-xr-x  1 root  wheel    7913 Mar 29 14:40 app_channelredirect.so
-rwxr-xr-x  1 root  wheel    9560 Mar 29 14:40 app_db.so
-rwxr-xr-x  1 root  wheel   85859 Mar 29 14:40 app_dial.so
-rwxr-xr-x  1 root  wheel   23902 Mar 29 14:40 app_macro.so
-rwxr-xr-x  1 root  wheel  165523 Mar 29 14:40 app_meetme.so
-rwxr-xr-x  1 root  wheel   27785 Mar 29 14:40 app_mixmonitor.so
-rwxr-xr-x  1 root  wheel   10333 Mar 29 14:40 app_originate.so
-rwxr-xr-x  1 root  wheel   12547 Mar 29 14:40 app_parkandannounce.so
-rwxr-xr-x  1 root  wheel   18373 Mar 29 14:40 app_playback.so
-rwxr-xr-x  1 root  wheel  204085 Mar 29 14:40 app_queue.so
-rwxr-xr-x  1 root  wheel   17301 Mar 29 14:40 app_record.so
-rwxr-xr-x  1 root  wheel    6954 Mar 29 14:40 app_setcallerid.so
-rwxr-xr-x  1 root  wheel   10709 Mar 29 14:40 app_softhangup.so
-rwxr-xr-x  1 root  wheel    8821 Mar 29 14:40 app_verbose.so
-rwxr-xr-x  1 root  wheel  236459 Mar 29 14:40 app_voicemail.so
-rwxr-xr-x  1 root  wheel   17322 Mar 29 14:40 cdr_sqlite3_custom.so
-rwxr-xr-x  1 root  wheel  447795 Mar 29 14:40 chan_iax2.so
-rwxr-xr-x  1 root  wheel   37181 Mar 29 14:40 chan_local.so
-rwxr-xr-x  1 root  wheel    9407 Mar 29 14:40 chan_multicast_rtp.so
-rwxr-xr-x  1 root  wheel  831283 Mar 29 14:40 chan_sip.so
-rwxr-xr-x  1 root  wheel    8780 Mar 29 14:40 codec_a_mu.so
-rwxr-xr-x  1 root  wheel  279026 Mar 29 14:40 codec_g729.so
-rwxr-xr-x  1 root  wheel    9986 Mar 29 14:40 format_g729.so
-rwxr-xr-x  1 root  wheel   62302 Mar 29 14:40 format_mp3.so
-rwxr-xr-x  1 root  wheel   14210 Mar 29 14:40 format_pcm.so
-rwxr-xr-x  1 root  wheel   16304 Mar 29 14:40 format_wav.so
-rwxr-xr-x  1 root  wheel   32785 Mar 29 14:40 format_wav_gsm.so
-rwxr-xr-x  1 root  wheel    7332 Mar 29 14:40 func_callcompletion.so
-rwxr-xr-x  1 root  wheel   31359 Mar 29 14:40 func_callerid.so
-rwxr-xr-x  1 root  wheel   11026 Mar 29 14:40 func_cdr.so
-rwxr-xr-x  1 root  wheel   24173 Mar 29 14:40 func_channel.so
-rwxr-xr-x  1 root  wheel   10184 Mar 29 14:40 func_db.so
-rwxr-xr-x  1 root  wheel   14902 Mar 29 14:40 func_devstate.so
-rwxr-xr-x  1 root  wheel    8345 Mar 29 14:40 func_dialplan.so
-rwxr-xr-x  1 root  wheel   35611 Mar 29 14:40 func_env.so
-rwxr-xr-x  1 root  wheel    7595 Mar 29 14:40 func_extstate.so
-rwxr-xr-x  1 root  wheel   12327 Mar 29 14:40 func_global.so
-rwxr-xr-x  1 root  wheel    6463 Mar 29 14:40 func_module.so
-rwxr-xr-x  1 root  wheel   10524 Mar 29 14:40 func_timeout.so
-rwxr-xr-x  1 root  wheel    7002 Mar 29 14:40 func_vmcount.so
-rwxr-xr-x  1 root  wheel   52088 Mar 29 14:40 pbx_config.so
-rwxr-xr-x  1 root  wheel  149677 Mar 29 14:40 pbx_dundi.so
-rwxr-xr-x  1 root  wheel   10254 Mar 29 14:40 pbx_loopback.so
-rwxr-xr-x  1 root  wheel   27207 Mar 29 14:40 pbx_spool.so
-rwxr-xr-x  1 root  wheel   11589 Mar 29 14:40 res_clioriginate.so
-rwxr-xr-x  1 root  wheel    9619 Mar 29 14:40 res_convert.so
-rwxr-xr-x  1 root  wheel   23709 Mar 29 14:40 res_crypto.so
-rwxr-xr-x  1 root  wheel   10832 Mar 29 14:40 res_limit.so
-rwxr-xr-x  1 root  wheel   52969 Mar 29 14:40 res_musiconhold.so
-rwxr-xr-x  1 root  wheel   72325 Mar 29 14:40 res_rtp_asterisk.so
-rwxr-xr-x  1 root  wheel   11196 Mar 29 14:40 res_rtp_multicast.so
-rwxr-xr-x  1 root  wheel    9719 Mar 29 14:40 res_timing_dahdi.so

I've even tried with an empty config just to rule out a configuration
issue.
====================================================================== 

---------------------------------------------------------------------- 
 (0133390) lmadsen (administrator) - 2011-04-05 15:18
 https://issues.asterisk.org/view.php?id=19033#c133390 
---------------------------------------------------------------------- 
What hardware is this on? Do you really need LOW_MEMORY? It's likely that
whatever you're building requires more memory than LOW_MEMORY will allow. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-05 15:18 lmadsen        Note Added: 0133390                          
2011-04-05 15:18 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list