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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Oct 19 23:58:48 CDT 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=13741 
====================================================================== 
Reported By:                Laureano
Assigned To:                bweschke
====================================================================== 
Project:                    Asterisk
Issue ID:                   13741
Category:                   Core/FileFormatInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
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:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-10-19 21:14 CDT
Last Modified:              2008-10-19 23:58 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 23:58 bweschke       Status                   confirmed => closed 
======================================================================




More information about the asterisk-bugs mailing list