M
MikeJohnson
Hi,
I have written a Perl application of around 4000 lines.
It parses through a log file, builds up a large hash, then writes to a
SQL Server database using DBI.
For efficiency, I have broken up the processing into two ithreads.
The main thread parses the log file and writes scalars to a
Thread::Queue.
A database writing thread reads the scalars from the Thread::Queue,
and writes records to a local SQL Server database using DBI.
The program uses a second DBI connection to a SQLite database,
and Win32::Mutexes to coordinate multiple instances.
It also writes to the Windows Event Log with Win32::EventLog.
We are running ActiveState Perl version 820 on Windows XP.
THE PROBLEM IS THAT PERL ITSELF KEEPS CRASHING!
"Application Error Application Failure perl.exe 5.8.8.819 in
perl58.dll 5.8.8.819 at offset 00085af7 perl.exe 5.8.8.819 perl58.dll
5.8.8.819 00085af7"
These crashes are intermittent. Sometimes the program will crash on
one log file, and sometimes it won't.
My questions are-
1. Is Perl more stable on other platforms?
2. Or should we drop the money and purchase ActiveState Enterprise
Edition Perl, with hopefully good support?
3. If the program has bugs could this be the cause of the the Perl
interpreter crashing?
Or does Perl try to insulate application programmers from errors
akin to a Java or .NET runtime?
Thank you very much for any advice or recommendations,
Mike
I have written a Perl application of around 4000 lines.
It parses through a log file, builds up a large hash, then writes to a
SQL Server database using DBI.
For efficiency, I have broken up the processing into two ithreads.
The main thread parses the log file and writes scalars to a
Thread::Queue.
A database writing thread reads the scalars from the Thread::Queue,
and writes records to a local SQL Server database using DBI.
The program uses a second DBI connection to a SQLite database,
and Win32::Mutexes to coordinate multiple instances.
It also writes to the Windows Event Log with Win32::EventLog.
We are running ActiveState Perl version 820 on Windows XP.
THE PROBLEM IS THAT PERL ITSELF KEEPS CRASHING!
"Application Error Application Failure perl.exe 5.8.8.819 in
perl58.dll 5.8.8.819 at offset 00085af7 perl.exe 5.8.8.819 perl58.dll
5.8.8.819 00085af7"
These crashes are intermittent. Sometimes the program will crash on
one log file, and sometimes it won't.
My questions are-
1. Is Perl more stable on other platforms?
2. Or should we drop the money and purchase ActiveState Enterprise
Edition Perl, with hopefully good support?
3. If the program has bugs could this be the cause of the the Perl
interpreter crashing?
Or does Perl try to insulate application programmers from errors
akin to a Java or .NET runtime?
Thank you very much for any advice or recommendations,
Mike