I have not tried this, not sure it will work depending how your script is laid 
out
You can try putting the offending thread code, inside an eval...though you may 
have some memory or performance issues.

hope this helps.

-Jeremy

From: jeremy...@hotmail.com
To: j...@logicalpoetry.com
Subject: RE: perl script just dies - what to do?
Date: Sun, 29 Mar 2009 23:38:26 -0700









be sure you are not using threads. Tk is not thread safe.

-Jeremy


> From: j...@logicalpoetry.com
> To: perl-win32-users@listserv.ActiveState.com
> Subject: perl script just dies - what to do?
> Date: Sun, 29 Mar 2009 23:01:55 -0700
> 
> All,
> 
> I have a large long-running Perl/Tk app.
> 
> It occasionally and somewhat randomly just simply
> dies - and puts up a window that says that perl.exe
> has encountered an error.
> 
> I'm running Perl 5.10 but this has happened on 5.8 as well.
> 
> When this happens I am at a loss.   I'm out of the
> comfortable known Perl world
> and into the low-level operating system world.
> 
> Any advice for tracking down the source of the problem?
> 
> One difficulty is that I have not yet been able to
> determine a reproducible sequence to make it happen consistently.
> Without that it's hard to how to proceed.
> 
> Any and all advice appreciated.
> 
> Jon
> 
> _______________________________________________
> Perl-Win32-Users mailing list
> Perl-Win32-Users@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Windows Live Messenger makes it easier to stay in touch -  learn how!
_________________________________________________________________
Experience all of the new features, and Reconnect with your life.
http://go.microsoft.com/?linkid=9650730
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to