I apologize for posting to this list if it is not the correct place to post. I 
have submitted a bug report here

http://sourceforge.net/tracker/?func=detail&aid=3377943&group_id=12694&atid=112694

regarding the same issue:

perl 5.8.4
net-snmp 5.7
SunOS xxxxxx 5.10 Generic_144488-09 sun4u sparc SUNW,SPARC-Enterprise

As reported a few years ago, the perl SNMP::Session bulkwalk() method is not 
returning the results it should be. I've read several posts regarding this bug 
in 2006-2007, it seemed to be identified and patched so I'm wondering how this 
could be cropping back up in 5.7. 'make test' in the perl/ directory of the 
source fails:

make[1]: Entering directory `/users/naadm/npe/src/net-snmp-5.7/perl/SNMP'
PERL_DL_NONLAZY=1 /usr/perl5/5.8.4/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/async.t ..... All 20 subtests passed
t/bulkwalk.t .. 1/62 Not an ARRAY reference at t/bulkwalk.t line 59.
t/bulkwalk.t .. Dubious, test returned 255 (wstat 65280, 0xff00)


this seems to be the exact same error reported in 
http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2007-April/117873.html. 
When I run the sample code posted there, i get the same Not an ARRAY reference 
error as above. Dumping a reference to the array returned by bulkwalk() yields 
the parameters I passed to it:

$VAR1 = [
bless( {
'UseLongNames' => 2,
'UseEnums' => 0,
'NonIncreasing' => 0,
'UseNumeric' => 1,
'BestGuess' => 0,
'SessPtr' => bless( do{\(my $o = 2413192)}, 'SnmpSessionPtr' ),
'LocalPort' => 0,
'ErrorStr' => '',
'UseSprintValue' => 0,
'Community' => 'public',
'ErrorNum' => 0,
'RetryNoSuch' => 0,
'UseEnum' => 0,
'Retries' => -1,
'Version' => '2c',
'ErrorInd' => 0,
'DestHost' => '10.250.1.66',
'Timeout' => -1
}, 'SNMP::Session' ),
2,
16,
bless( [
bless( [
'sysUpTime'
], 'SNMP::Varbind' ),
bless( [
'ifNumber'
], 'SNMP::Varbind' ),
bless( [
'ifSpeed'
], 'SNMP::Varbind' ),
bless( [
'ifDescr'
], 'SNMP::Varbind' )
], 'SNMP::VarList' )
];


Any help getting addressing this is very much appreciated.

--
Shawn


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to