[asterisk-bugs] [Asterisk 0011953]: segfault on module reload chan_console.so

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Feb 15 11:46:25 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11953 
====================================================================== 
Reported By:                junky
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11953
Category:                   . I did not set the category correctly.
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0-beta1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-07-2008 22:17 CST
Last Modified:              02-15-2008 11:46 CST
====================================================================== 
Summary:                    segfault on module reload chan_console.so
Description: 
you need to not have the console.conf.

rabbit*CLI> load chan_console.so
The 'load' command is deprecated and will be removed in a future release.
Please use 'module load' instead.
[Feb  7 23:06:51] NOTICE[7802]: chan_console.c:1394 load_config: Unable to
open configuration file console.conf!
rabbit*CLI> 
rabbit*CLI> 
rabbit*CLI> 
rabbit*CLI> module reload chan_console.so

====================================================================== 

---------------------------------------------------------------------- 
 russell - 02-15-08 11:46  
---------------------------------------------------------------------- 
The issue here is actually that when the module was loaded, it returned
AST_MODULE_LOAD_DECLINE.  I wrote the code in such a way that if that was
the case, then I didn't expect the reload_module() callback to ever get
called.

However, it does get called, and it blows up. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-15-08 11:46  russell        Note Added: 0082321                          
======================================================================




More information about the asterisk-bugs mailing list