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

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-1429469 ] debug_handler crashes printing 'Modes: ...'
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2006-07-25 10:09:04
Message-ID: E1G5Jqa-0004xJ-FR () sc8-sf-web1 ! sourceforge ! net
[Download RAW message or body]

Bugs item #1429469, was opened at 2006-02-10 23:43
Message generated for change (Settings changed) made by dts12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1429469&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: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Kris (tinker105)
Assigned to: Nobody/Anonymous (nobody)
Summary: debug_handler crashes printing 'Modes: ...'

Initial Comment:
I turned on various debugs for my mib module, 
including adding -Dhelper:debug when running the agent 
and adding 'injectHandler debug rdbmsDbTable' so that 
the debug handler would precede all my tables (built 
with table_iterator).  When trying to print 
the 'Modes: ...' line, it crashed.  I don't still have 
the bad output, but I think it looked something like 
this (i.e. it choked on the 0x20):

helper:debug: Entering Debugging Helper:
helper:debug:   Handler Registration Info:
helper:debug:     Name:        rdbmsDbTable
helper:debug:     Context:     NULL
helper:debug:     Base OID:    RDBMS-MIB::rdbmsDbTable
helper:debug:     Modes:       0x23 = GET/GETNEXT(0) | 
SET(1) | Segmentation violation

I hacked line 112 to substitue "ERROR" when lbl (i.e. 
se_find_label_in_slist(0x20)) was NULL so I could get 
past it.


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

Comment By: Dave Shield (dts12)
Date: 2006-07-25 11:09

Message:
Logged In: YES 
user_id=88893

Thanks for the bug report!  We've fixed the problem in the
5.2.x and 5.3.x code branches and the main development tree,
so it should be fixed in future releases of the net-snmp package.

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

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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