[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-2567613 ] AIX 5.3 snmpd crashes on host with print
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2009-02-05 9:40:23
Message-ID: E1LV0id-0005mL-JC () 3bkjzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Bugs item #2567613, was opened at 2009-02-05 12:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2567613&group_id=12694

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: agent
Group: aix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alexander Dubrovsky (alex_dubrovsky)
Assigned to: Nobody/Anonymous (nobody)
Summary: AIX 5.3 snmpd crashes on host with print spooling configured

Initial Comment:
Net-SNMP 5.4.2.1 compiled from sources 30.01.2009
Config options --enable-as-needed --without-kmem-usage --with-defaults
# oslevel -s
5300-08-01-0819
Agent hangs on hosts with network printers unavailable and when printers are ok, then snmpd crashes.
On another different hosts without print queues configured agent works fine.


Example:
# /usr/local/sbin/snmpd -DALL
# snmpwalk -v 2c -c public localhost HOST-RESOURCES-MIB::hrStorageType.35
HOST-RESOURCES-MIB::hrStorageType.35 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
# snmpwalk -v 2c -c public localhost HOST-RESOURCES-MIB::hrStorageType.36
Timeout: No Response from localhost
# tail -20 /var/log/snmpd.log
handler:calling: main handler bulk_to_next
trace: netsnmp_call_handler(): agent_handler.c, 430:
handler:calling: calling handler bulk_to_next for mode GETNEXT
trace: netsnmp_call_handler(): agent_handler.c, 438:
handler:returned: handler bulk_to_next returned 0
trace: netsnmp_call_handler(): agent_handler.c, 430:
handler:calling: calling handler old_api for mode GETNEXT
trace: header_hrstoreEntry(): host/hr_storage.c, 373:
host/hr_storage: var_hrstoreEntry: request HOST-RESOURCES-MIB::hrStorageType.36 exact=0
trace: header_hrstoreEntry(): host/hr_storage.c, 381:
host/hr_storage: var_hrstoreEntry: compare HOST-RESOURCES-MIB::hrStorageType => 1
(index 31 ....HOST-RESOURCES-MIB::hrStorageType.31
(index 32 ....HOST-RESOURCES-MIB::hrStorageType.32
(index 33 ....HOST-RESOURCES-MIB::hrStorageType.33
(index 34 ....HOST-RESOURCES-MIB::hrStorageType.34
(index 35 ....HOST-RESOURCES-MIB::hrStorageType.35
(index 36 ....HOST-RESOURCES-MIB::hrStorageType.36
(index 37 ....HOST-RESOURCES-MIB::hrStorageType.37
trace: header_hrstoreEntry(): host/hr_storage.c, 476:
host/hr_storage: var_hrstoreEntry: process HOST-RESOURCES-MIB::hrStorageType.37 (ffffffff)

core file was generated:
# gdb /usr/local/sbin/snmpd /core
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.1.0.0"...
Core was generated by `snmpd'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000d410 in ?? ()
(gdb) where
#0  0x0000d410 in ?? ()
(gdb) list
411     snmpd.c: A file or directory in the path name does not exist..
        in snmpd.c
(gdb)

# gdb /usr/local/sbin/snmpd
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.1.0.0"...
(gdb) run -f
Starting program: /usr/local/sbin/snmpd -f

Program received signal SIGSEGV, Segmentation fault.
0x0000d410 in ?? ()
(gdb) where
#0  0x0000d410 in ?? ()
(gdb) list
411     snmpd.c: A file or directory in the path name does not exist..
        in snmpd.c
(gdb)





----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2567613&group_id=12694

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic