Bug#679343: cannot reproduce
Peter Marschall
peter at adpm.de
Sat May 11 17:27:55 UTC 2013
Hi,
I tried to reproduce the issue in perl-ldap 0.55 on Perl v5.14.2 using the
even simpler script below, but failed to stumble upon the error you reported.
------- BEGIN EXAMPLE -------
#!/usr/bin/perl -w -T
use Net::LDAP;
use Net::LDAP::Entry;
die("Usage $0 <carLicense>\n") unless @ARGV;
my $ldap = Net::LDAP->new('ldap://localhost') or die($@);
my $mesg = $ldap->bind('cn=MANAGER,DC=ADPM,DC=DE', password => 'SECRET');
die $mesg->error if $mesg->code;
my $entry = Net::LDAP::Entry->new('cn=TEST-USER,DC=ADPM,DC=DE');
$entry->changetype('modify');
$entry->add(carLicense => $ARGV[0]);
$mesg = $entry->update($ldap);
print "Sorry, bug cannot be reproduced\n";
die $mesg->error if $mesg->code;
------- END EXAMPLE -------
Can you try this simple script (with the constants adapted to your
environment) to check whether you can reproduce the error.
In addition to that, as perl-ldap is a pure Perl module, I am convinced, that
perl-ldap cannot really be the cause of a segfault. In my opinion the segfault
is either caused by a "non-pure-Perl" module used by perl-ldap or a bug in the
Perl interpreter.
If you still can reproduce the bug, can you try to dig a bit deeper in order
to find out where the bug really happens [e.g. with print statements in the
code path].
Not being able to reproduce the bug, we need your help to get more
information.
Best
Peter
--
Peter Marschall
peter at adpm.de
imaintainer of perl-ldap upstream
More information about the pkg-perl-maintainers
mailing list