[asterisk-bugs] [Asterisk 0013741]: Seg. fault when including missing extensions file

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Oct 19 21:14:30 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13741 
====================================================================== 
Reported By:                Laureano
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13741
Category:                   Core/FileFormatInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 151018 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-19 21:14 CDT
Last Modified:              2008-10-19 21:14 CDT
====================================================================== 
Summary:                    Seg. fault when including missing extensions file
Description: 
If a missing file is defined to be included at extensions.conf, Asterisk
will segfault when starting or reloading the dialplan configuration.

Example:
[root at asterisk1 asterisk]# cd /etc/asterisk
[root at asterisk1 asterisk]# asterisk -g
[root at asterisk1 asterisk]# asterisk -r
Asterisk SVN-trunk-r142992, Copyright (C) 1999 - 2008 Digium, Inc. and
others.
Created by Mark Spencer <markster at 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.
=========================================================================
Connected to Asterisk SVN-trunk-r142992 currently running on asterisk1
(pid = 24961)
asterisk1*CLI> exit
[root at asterisk1 asterisk]# sed -i s/";#include
\"filename.conf\""/"#include \"filename.conf\""/ extensions.conf
[root at asterisk1 asterisk]# ls -l filename.conf
ls: filename.conf: No such file or directory
[root at asterisk1 asterisk]# asterisk -r
Asterisk SVN-trunk-r142992, Copyright (C) 1999 - 2008 Digium, Inc. and
others.
Created by Mark Spencer <markster at 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.
=========================================================================
Connected to Asterisk SVN-trunk-r142992 currently running on asterisk1
(pid = 24961)
asterisk1*CLI> dialplan reload 
asterisk1*CLI> 
Disconnected from Asterisk server
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-19 21:14 Laureano       Asterisk Version          => SVN             
2008-10-19 21:14 Laureano       SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2008-10-19 21:14 Laureano       SVN Revision (number only!) => 151018          
======================================================================




More information about the asterisk-bugs mailing list