On 28 Sep 2004, at 22:05, Alexandre Jousset wrote:

        Hello,

I have a problem with some code I try to run. I have adapted code that run perfectly some time (=years) ago and now it freezes.

What changes did you make. Including changes to your environment and perl version?


        When I set the debug to 3 just before the update, an error occurs :

---------------------------
Net::LDAP=HASH(0x833fee8) sending:

*** unhandled exception in callback:
*** substr outside of string at /usr/lib/perl5/vendor_perl/5.8.1/Convert/ASN1/Debug.pm line 33, <DATA> line 422.
*** ignoring at ./oladm2.pl line 1079, <DATA> line 422.

This is not causing the bug, but it may be pointing the finger to it. The only reason I can think this may happen is if the pdu buffer still has the utf8 bit set. By this point all that should have been resolved.


What version of Convert::ASN1 are you running ? If it is not 0.18 please upgrade and let us know if it still happens.

and the update is not done. Next time I try to update the program hangs.

I have had some problems of the same kind when I tried to search in the directory with a base string encoded in utf8 (got by reading a value in an entry field of Gtk2 with Gtk2-Perl). Same symptoms, same output in the logs for openldap and same stack trace in perl debugger.

The fact you mention utf8 make me shudder. :-)

Graham.



Reply via email to