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

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Nov 18 15:51:43 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-18-2007 15:51 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-18-07 15:51  
---------------------------------------------------------------------- 
Thanks tfitch, found  the core files.
Using the instructions in doc/backtrace.txt : 

1. gdb asterisk core.63650
-> a lot of outputs
2. bt command
->
...............................................................................................
warning: Could not find object file
"/asterisk/asterisk-addons-1.4.4/app_saycountpl.o" - no debug information
available for "app_saycountpl.c".

.......................................................................................
done
http://bugs.digium.com/view.php?id=0  0x010eac52 in build_user (name=0x239590
"guest", v=0x239600, alt=0x0,
temponly=0) at chan_iax2.c:9197
9197				ast_string_field_free_pools(user);
(gdb) bt
http://bugs.digium.com/view.php?id=0  0x010eac52 in build_user (name=0x239590
"guest", v=0x239600, alt=0x0,
temponly=0) at chan_iax2.c:9197
http://bugs.digium.com/view.php?id=1  0x010f8685 in set_config
(config_file=0x110d3fd "iax.conf",
reload=<value temporarily unavailable, due to optimizations>) at
chan_iax2.c:9788
http://bugs.digium.com/view.php?id=2  0x010f9f3f in reload_config () at
chan_iax2.c:9842
http://bugs.digium.com/view.php?id=3  0x00051c95 in ast_module_reload (name=0x0)
at loader.c:590
http://bugs.digium.com/view.php?id=4  0x000313e6 in handle_reload_deprecated
(fd=1, argc=1, argv=0xbffff698)
at cli.c:182
http://bugs.digium.com/view.php?id=5  0x0003519a in ast_cli_command (fd=1,
s=0xc0000003 <Address 0xc0000003
out of bounds>) at cli.c:1979
http://bugs.digium.com/view.php?id=6  0x0001868c in main (argc=3,
argv=0xbffffbf8) at asterisk.c:1395

See attachments 
bt.txt
bt_full.txt
thread_apply_all_bt.txt 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-18-07 15:51  jackykeung     Note Added: 0073879                          
======================================================================




More information about the asterisk-bugs mailing list