PP generates some duff code with multithreading enabled
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. #!/usr/bin/perl use threads; use threads::shared; print Cras\n; ## fails to exit cleanly after this... Thanks for any help. Ed W P.S. Autrijus, I will try to check it out myself, but in the latest pre-release did you check in Alan Stewarts changes to fix the --icon problem where it increases the file size? I have just been retesting his version and it does seem to work fine for me? Thanks
Re: PP generates some duff code with multithreading enabled
On Sat, May 08, 2004 at 06:21:07PM +0100, Ed Wildgoose wrote: P.S. Autrijus, I will try to check it out myself, but in the latest pre-release did you check in Alan Stewarts changes to fix the --icon problem where it increases the file size? I have just been retesting his version and it does seem to work fine for me? Have you tested for both 5.6.x and 5.8.x? I have only tested 5.8.x and it breaks here. :-/ Thanks, /Autrijus/ pgp0.pgp Description: PGP signature
Re: PP generates some duff code with multithreading enabled
On 9 May 2004 at 3:35, Autrijus Tang wrote: On Sat, May 08, 2004 at 06:21:07PM +0100, Ed Wildgoose wrote: P.S. Autrijus, I will try to check it out myself, but in the latest pre-release did you check in Alan Stewarts changes to fix the --icon problem where it increases the file size? I have just been retesting his version and it does seem to work fine for me? Have you tested for both 5.6.x and 5.8.x? I have only tested 5.8.x and it breaks here. :-/ Thanks, /Autrijus/ I tested on 5.6.1 (ActivePerl build 635) and 5.8.3 (ActivePerl build 509). In what way does it break for you? Alan Stewart
Re: PP generates some duff code with multithreading enabled
On 9 May 2004 at 0:16, Ed Wildgoose wrote: Nope, just downloaded 5.8.3 (809) and its the same. Can I check what you did: - save the above snippet as crashtest.pl. Run pp crashtest.pl, then run a.exe It prints Cras and then there is a windows protection fault thingy box. This is on WinXP, but my limited testing suggests that it appears on other versions as well. 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? Alan Stewart
Re: PP generates some duff code with multithreading enabled
Three more, only this time more relevant C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa.exe Cras C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa.exe Cras C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa.exe Cras - Original Message - From: the.noonings [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 08, 2004 10:27 PM Subject: Re: PP generates some duff code with multithreading enabled Works fine for me on windows XP Pro, using perl v5.8.3 built for MSWin32-x86-multi-thread C:\Documents and Settings\malcolm\My Documents\proj_pp_testingtype aa.pl #!/usr/bin/perl use threads; use threads::shared; C:\Documents and Settings\malcolm\My Documents\proj_pp_testingpp -o aa.exe aa.pl C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa.pl Cras C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa.pl Cras C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa.pl Cras - Original Message - From: Ed Wildgoose [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 08, 2004 1:21 PM Subject: PP generates some duff code with multithreading enabled 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. #!/usr/bin/perl use threads; use threads::shared; print Cras\n; ## fails to exit cleanly after this... Thanks for any help. Ed W P.S. Autrijus, I will try to check it out myself, but in the latest pre-release did you check in Alan Stewarts changes to fix the --icon problem where it increases the file size? I have just been retesting his version and it does seem to work fine for me? Thanks
Re: PP generates some duff code with multithreading enabled
Another test, where I use a simple pl file to execute the exe made from your requested code. C:\Documents and Settings\malcolm\My Documents\proj_pp_testingtype aa_test_app.pl #!/usr/bin/perl if (system(aa.exe)) { print (Could not system aa.exe\n); } else { print (Success with system aa.exe\n); } C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa_test_app.pl Cras Success with system aa.exe - Original Message - From: the.noonings [EMAIL PROTECTED] To: the.noonings [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, May 08, 2004 10:28 PM Subject: Re: PP generates some duff code with multithreading enabled Three more, only this time more relevant C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa.exe Cras C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa.exe Cras C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa.exe Cras - Original Message - From: the.noonings [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 08, 2004 10:27 PM Subject: Re: PP generates some duff code with multithreading enabled Works fine for me on windows XP Pro, using perl v5.8.3 built for MSWin32-x86-multi-thread C:\Documents and Settings\malcolm\My Documents\proj_pp_testingtype aa.pl #!/usr/bin/perl use threads; use threads::shared; C:\Documents and Settings\malcolm\My Documents\proj_pp_testingpp -o aa.exe aa.pl C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa.pl Cras C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa.pl Cras C:\Documents and Settings\malcolm\My Documents\proj_pp_testingaa.pl Cras - Original Message - From: Ed Wildgoose [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 08, 2004 1:21 PM Subject: PP generates some duff code with multithreading enabled 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. #!/usr/bin/perl use threads; use threads::shared; print Cras\n; ## fails to exit cleanly after this... Thanks for any help. Ed W P.S. Autrijus, I will try to check it out myself, but in the latest pre-release did you check in Alan Stewarts changes to fix the --icon problem where it increases the file size? I have just been retesting his version and it does seem to work fine for me? Thanks