[asterisk-bugs] [Asterisk 0015913]: auto-loading res_snmp causes Asterisk to Seg fault

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Dec 27 20:50:17 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15913 
====================================================================== 
Reported By:                jthurman
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15913
Category:                   Resources/res_snmp
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.1.6 
JIRA:                       SWP-218 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-17 17:43 CDT
Last Modified:              2009-12-27 20:50 CST
====================================================================== 
Summary:                    auto-loading res_snmp causes Asterisk to Seg fault
Description: 
If modules.conf has autoload=yes and res_snmp.so is compiled, then Asterisk
seg faults every time.  If autoload=no or noload=> res_snmp.so the issue
goes away.  You can manually load res_snmp after the initial startup of
Asterisk with no issue.
====================================================================== 

---------------------------------------------------------------------- 
 (0115769) xiaoyem (reporter) - 2009-12-27 20:50
 https://issues.asterisk.org/view.php?id=15913#c115769 
---------------------------------------------------------------------- 
Seems like rpm-libs has an embedded LUA interpreter, and for some unknown
reason, when pbx_lua gets loaded, it tries to use librpmio-4.4.so (from
rpm-libs) instead of liblua-5.1.so.

My current workaround is "preload => pbx_lua.so" in modules.conf, but
certainly it is not a perfect solution. Anyone had better idea? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-27 20:50 xiaoyem        Note Added: 0115769                          
======================================================================




More information about the asterisk-bugs mailing list