[asterisk-bugs] [Asterisk 0011176]: "reload" command causes crash in Mac OSX Leopard 10.5

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Nov 6 17:35:25 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11176 
====================================================================== 
Reported By:                jackykeung
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11176
Category:                   Addons/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-06-2007 17:10 CST
Last Modified:              11-06-2007 17:35 CST
====================================================================== 
Summary:                    "reload" command causes crash in Mac OSX Leopard
10.5
Description: 
Fresh New Mac OSX 10.5 (Leopard) installed. 

1. Asterisk 1.4.13 source was downloaded and compiled from scratch. 

2. Everything works great! Thank you! 

3. But.. when I use command "reload", the console would exit, and the
asterisk system would shutdown completely. I have to relaunch asterisk
manually. (see additional information)

4. Also since Mac OSX 10.4 , using the console command "asterisk restart
now" would also shutdown asterisk, and would not restart. Need to start
asterisk manually again.  
 
5. When I use "asterisk -cvvv" , I will get color syntax highlighted in
the console, very nice! But when I just use "asterisk" (daemon mode), and
reconnect it using "asterisk -rvvvv" then I don't see any color. This 
happiness to my other linux compiled asterisk systems, am I doing something
wrong, or is this a bug?
====================================================================== 

---------------------------------------------------------------------- 
 jackykeung - 11-06-07 17:35  
---------------------------------------------------------------------- 
Feedback (In response to russell's request):

1. launch command : asterisk -vvvg -c

2. asterisk loaded without any problem

3. "reload" command used, and the following produced and asterisk crashed.

........
  == Parsing '/etc/asterisk/users.conf': Found
asterisk(28972,0xa038cf60) malloc: *** error for object 0x227a40:
Non-aligned pointer being freed (2)
*** set a breakpoint in malloc_error_break to debug
Segmentation fault (core dumped)
----------

4. However,core dump not written in /tmp

root at Mac-Mini:/tmp #  ls -l /tmp/core.*
ls: /tmp/core.*: No such file or directory

5. Where can I find the core.dump? 

Thanks Russell 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-06-07 17:35  jackykeung     Note Added: 0073260                          
======================================================================




More information about the asterisk-bugs mailing list