Hi, I have discovered two bits of source which cause pp to generate an executable which crashes with the usual "windows protection" error when the app exits.

The first and easy way (ie, that I can work around) is to generate a module.pm file, and start it with "#!/bin/perl", then include it in a main .pl file. There doesn't seem to need to be anything in the module file, just the simple fact of starting it with the shebang line causes the resultant pp exe to crash when it exits. Obviously module files shouldn't really start with a shebang so this is easy to work around

The second one is giving me real grief though, and this is to add a "use threads;" line to the main app. Everything works fine, but the app crashes when it exits.. I really need to use perl threads in this app, so does anyone have any suggestions on how to work around this...?

Versions:
Perl 5.8.2 build 808 (also didn't work on perl 5.8.0)
Win XP sp1
par 0.80 (I think?), however, this has been a problem for quite a while back now (just haven't had time to debug it)


Any suggestions on how to make threads work with par...? Is this actually reproducable for anyone else...? (I don't actually need to use any code to cause the problem, simply include the threads modules)

Thanks

Ed W

Reply via email to