Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 1998 10:08:51 -0500 (EST)
From:      Charles Owens <owensc@enc.edu>
To:        hackers list FreeBSD <freebsd-hackers@FreeBSD.ORG>
Subject:   P5 Net::LDAPapi - p5 mem problem?
Message-ID:  <Pine.BSF.3.95q.980318072534.20409G-100000@itsdsv2.enc.edu>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980318072534.20409G-100000>