Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows abort() during fork #5

Open
jberger opened this issue Jul 8, 2014 · 3 comments
Open

Windows abort() during fork #5

jberger opened this issue Jul 8, 2014 · 3 comments

Comments

@jberger
Copy link
Owner

jberger commented Jul 8, 2014

new test mojolicious.t is failing under native windows perl (strawberry and AS). After conversation on #p5p it seems that it might be related to this bug reported on perl5 itself

https://rt.perl.org/Public/Bug/Display.html?id=120767

bulk88: jberger, doing any file I/O during a CLONE meth call during a Win32 psuedofork will call C abort(), its an open bug

@jberger
Copy link
Owner Author

jberger commented Jul 8, 2014

Note that the offending c level function is win32_checkTLS found in win32/perllib.c

https://github.com/Perl/perl5/blob/622abdef571eb35e5982acde3b3b85b2cac8eb40/win32/perllib.c#L52

@jberger
Copy link
Owner Author

jberger commented Jul 8, 2014

@jberger
Copy link
Owner Author

jberger commented Jan 7, 2015

Hmmmmmm, I'm seeing passes on recent Perls. This bug was seen as a failure of mojolicious.t which is now passing. I'm cautiously optimistic that this might be working, and yet bulk88 says that the abort() bug is yet unresolved.

Originally before I included that test, it looked like Windows worked, and yet any non-trivial application that attempted to use ForkCall blew up. The test was added to demontrate that problem, and it did previously abort(3). It is possible that the dragons still lie deeper, but now it seems to pass!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant