Re: PAR - WIN32 Client/Server application using fork() problem

2004-03-29 Thread Ed Wildgoose
Oh and PAR seem to work fine on other standard Perl scripts I've used. But must admit I've not tried compiling a script with fork() on a WIN32 system before. I've never found fork to work reliably at all on Win32. See the perlport notes. Perhaps things are better with 5.8 though? Consider

Interesting crash on Windows (at least..)

2004-04-20 Thread Ed Wildgoose
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

Re: PP generates some duff code with multithreading enabled

2004-05-09 Thread Ed Wildgoose
Did the same with no fault here, build 809, XP, and the latest snap of PAR compiled with VC 6. Are you self compiling PAR or using the binary download? Downloading the binaries of PAR. Has been like this for the last few versions though. I do have VC .Net here. I will try and compile PAR

Re: PP generates some duff code with multithreading enabled

2004-05-09 Thread Ed Wildgoose
Thanks Alan, You are right that something strange is going on here. I ran the aa.exe that the.noonings created, and it runs fine on my machine. Coupled with what you say below that my exe is crashing on your machine suggests something strange going on with my par install. The original

Re: PP generates some duff code with multithreading enabled

2004-05-09 Thread Ed Wildgoose
Hmm, OK, well I have rebuild PAR 0.80 from source, and re-installed wxperl and now everything is working fine... I'm fairly sure that if I re-installed the binary version of par then this would re-occur though. Any ideas why? Thanks all. This is a major improvement for me. I still have

PP generates some duff code with multithreading enabled

2004-05-08 Thread Ed Wildgoose
Please try the following snippet through pp. It executes fine, but crashes when the app exits (at least on win32, havent tried linux yet). I would be really grateful if someone could help debug this - it's the last major bug standing in the way of packaging my little email app with par.