On 8 May 2004 at 18:21, Ed Wildgoose wrote:
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 "Crashhhh\n"; ## fails to exit cleanly after this...
It ends clean for me on 5.8.3. build 809. Are you still on 5.8.2? Threads seems to be still very much a work in progress. The change log mentions it on every Perl release.
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 "Crashhhh" 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.
Anyone else repro this?
Thanks
Ed W