LPM: My first Panic!

David Hempy hempy at ket.org
Wed Dec 22 13:30:16 CST 1999


Got my first panic error today, which _Programming_Perl_ describes as "An
internal error (panic) that you should never see..."  Got it during
sth->execute():


D:\src>testdbd.pl images.txt
 199911/images/blank.gif: 1x1 - 43 || 1x1 - 695 ...
update_database 199911/images/blank.gif... 1x1  (43) -- th: 1x1  (695)...
New record (update failed)...try insert:
$dbh->prepare("select max(imageid) from image")
$id_sth->execute()...
panic: DBI active kids (1) > kids (0) at D:\src\testdbd.pl line 44, <> chunk 1.

D:\src>


Cool, huh?  ;-)


I've stripped down my program to nothing but my update_database() which is
straight out of the DBI sample programs...still getting any of four or five
serious runtime errors, depending on which way the wind is blowing. 

Today I'm going to replace the DBI code with Win32:ODBC.  I'll let you know
if it behaves any differently.  At this point, I have a hunch it is the VFP
ODBC driver...but I'll hold off any judgement.

-dave


--
David Hempy
Internet Database Administrator
Kentucky Educational Television




More information about the Lexington-pm mailing list