From owner-freebsd-hackers Wed Mar 18 07:12:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA25062 for freebsd-hackers-outgoing; Wed, 18 Mar 1998 07:12:41 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from itsdsv1.enc.edu (fw1.enc.edu [207.95.42.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA25057 for ; Wed, 18 Mar 1998 07:12:37 -0800 (PST) (envelope-from owensc@enc.edu) Received: from itsdsv2.enc.edu (itsdsv2.enc.edu [10.1.1.9]) by itsdsv1.enc.edu (8.7.5/8.7.3) with SMTP id KAA13406 for ; Wed, 18 Mar 1998 10:08:51 -0500 (EST) Date: Wed, 18 Mar 1998 10:08:51 -0500 (EST) From: Charles Owens Reply-To: Charles Owens To: hackers list FreeBSD Subject: P5 Net::LDAPapi - p5 mem problem? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Howdy, C. Donly's Perl5 Net::LDAPapi module (see http://miso.wwa.com/~donley/) compiles and installs fine but the example scripts seem to exhibit memory problems. The script ldapwalk.pl (which walks through LDAP entries matching a given filter) prints this message once for each matching that it finds: perl in free(): warning: chunk is already free. Another script ldapwalk2.pl (which does the same thing but uses async LDAP methods) also does this. With 2.2.2-STABLE, it would also bomb with a nasty message something like, "perl: OUT OF MEMORY!". On a -CURRENT system this bombing doesn't happen. Anyone else play with this? Any ideas as to what the problem is? The fact that the behavior is different between -STABLE and -CURRENT would seem to indicate something OS-specific is going on. [ BTW, just in case it matters, P5 is at 5.004_04 and was built 2/28 (from the current p5 port at that time). It was built on a July97 vintage RELENG_2_2 system. The system was upgraded to -CURRENT this past Friday. I just now rebuilt and reinstalled P5 and this module and the behavior is still as described above ] Thanks, --- ------------------------------------------------------------------------- Charles N. Owens Email: owensc@enc.edu http://www.enc.edu/~owensc Network & Systems Administrator Information Technology Services "Outside of a dog, a book is a man's Eastern Nazarene College best friend. Inside of a dog it's too dark to read." - Groucho Marx ------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message