[asterisk-bugs] [Asterisk 0011963]: res_snmp.so hangs asterisk at startup

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Feb 11 09:01:55 CST 2008


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=11963 
====================================================================== 
Reported By:                amessina
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11963
Category:                   Resources/res_snmp
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.18 
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-09-2008 10:53 CST
Last Modified:              02-11-2008 09:01 CST
====================================================================== 
Summary:                    res_snmp.so  hangs asterisk at startup
Description: 
Running Asterisk-1.4.18 (from ATrpms.net) on Fedora 8 x86_64, I see the
following issue:

At bootup or when I issue a "service asterisk restart" (init.d), Asterisk
hangs when loading res_snmp.so and Asterisk must be killed with -s 9

However, if i add a "noload => res_snmp.so" to modules.conf, let Asterisk
startup and then do "asterisk -rx"module load res_snmp.so"", it works just
fine, loads and connects to snmpd.

I have the agent configured as a sub agent and run asterisk as user and
group "asterisk".

[general]
subagent = yes
enabled = yes

I used to see this issue occur randomly on a separate, but identically
configured i386 machine.  Now, the i386 machine has no problem loading
res_snmp.so at startup, but the x86_64 does.

I do not get any useful info from debug: the last line before I must kill
asterisk is always:

DEBUG[5560] config.c: Parsing /etc/asterisk/res_snmp.conf
====================================================================== 

---------------------------------------------------------------------- 
 file - 02-11-08 09:01  
---------------------------------------------------------------------- 
We need an Asterisk compiled with DONT_OPTIMIZE and a backtrace so we can
see where it is hanging. You can grab it by doing gdb asterisk --pid=<pid
of the running Asterisk> and typing thread apply all bt and uploading it as
a separate attachment. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-11-08 09:01  file           Note Added: 0082005                          
02-11-08 09:01  file           Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list