Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 1999 07:50:14 -1000 (HST)
From:      "Kent K. Kuriyama" <kent@nosc.mil>
To:        freebsd-questions@FreeBSD.ORG
Cc:        kent@lono.nosc.mil (Kent K. Kuriyama)
Subject:   Problem with 3.2-RELEASE and Perl SNMP 1.8
Message-ID:  <199905221750.HAA23395@lono.nosc.mil>

next in thread | raw e-mail | index | archive | help
I have encountered a problem when using the Perl SNMP 1.8 package
under the newly release FreeBSD 3.2.

When I run the perl program:

	#!/usr/local/bin/perl
	#
	use SNMP;
	#
	# Initialize some variables.
	#
	$ENV{"MIBDIRS"} = "/dev/null";
	
	print "pt0\n";
	$obj = new SNMP::Session(DestHost => "u352-bcr-1", Community => "public");
	print "pt1\n";
	$obj = new SNMP::Session(DestHost => "u352-bcr-2", Community => "public");
	print "pt2\n";

I get the warning message:

	newhost: {135} ./x.pl
	pt0
	pt1
	perl in free(): warning: chunk is already free.
	pt2
	perl in free(): warning: chunk is already free.

This error message appears whenever you try to open another session.
I don't see this error message under FreeBSD 3.1.  The software versions
being run are:

  FreeBSD newhost.cpf.navy.mil 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Tue May 18 04:05:08 GMT 1999     jkh@cathair:/usr/src/sys/compile/GENERIC  i386

  This is perl, version 5.005_03 built for i386-freebsd

  Perl5 SNMP Extension Module v1.8

I suspect that the warning message is caused by a change in FreeBSD 3.2
but on the other hand it might just be catching an error that was always
present.  Any help would be greatly appreciated.  Thanks.

Kent Kuriyama
kent@spawar.navy.mil


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905221750.HAA23395>