ActiveState Community

Perl gets exception at exit using Win32::ODBC

Posted by talborough on 2008-03-20 07:21

I'm using 5.10 with the Win32::ODBC package. I can open the DB and work with it (see tables, select data), but when Perl exits I get a system popup "The exception unknown software exception 0xc0000005 occurred in the application at location 0x7d6210c8."

I call (ODBC) Close() before exiting. I then call "exit" to exit. A "printf" just before the exit prints out on the screen so I'm pretty sure the exception takes place after I exit.

I'm using the 32-bit Perl on W2K3 Enterprise on a 64-bit machine. I'm using a 32-bit Oracle 10g data source.

Any thoughts?

Thanks,
Tom

sang33ta | Sun, 2008-04-13 15:48

I also get problems with Perl 64 5.10 and exit

When my script ends i randomly get an exception. Sometimes only once in a couple of hours but it's annoying because Vista 64 Premium pops up a message saying it's failed (no error number or description) and it stops my batch file running the next script until a human presses cancel on report to microsoft screen. :/ I'm runing on a q9300 CPU