From owner-freebsd-questions Sat May 22 10:49:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from lono.nosc.mil (lono.nosc.mil [198.253.40.2]) by hub.freebsd.org (Postfix) with ESMTP id 7CB1C14D93 for ; Sat, 22 May 1999 10:49:30 -0700 (PDT) (envelope-from kent@lono.nosc.mil) Received: (from kent@localhost) by lono.nosc.mil (8.9.3/8.9.3) id HAA23395; Sat, 22 May 1999 07:50:15 -1000 (HST) From: "Kent K. Kuriyama" Message-Id: <199905221750.HAA23395@lono.nosc.mil> Subject: Problem with 3.2-RELEASE and Perl SNMP 1.8 To: freebsd-questions@FreeBSD.ORG Date: Sat, 22 May 1999 07:50:14 -1000 (HST) Cc: kent@lono.nosc.mil (Kent K. Kuriyama) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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