DBD::Sybase causes panic

Beatnik on 2006-02-23T12:21:48

During the installation of one of our tools I got the following error:

panic: sv_setpvn called with negative strlen
The tool uses DBI and DBD::Sybase on a Solaris 9 with a pretty recent Perl version. The line that failed was a fetchrow_array call. Unfortunatly I can't disclose any other details. I tested the tool last night and it worked then. The error appeared this morning, when I was cleaning up some debugging information. The solution (that worked for me) was to add a DBI->trace(5); before the error line. Tracelevels lower than 5 don't seem to work. Google didn't help me on this one.. So I hope this will help Google :)