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
26fork.t frequently hangs on WIndows #21
Comments
Haven't struck that "hangs with no output" issue on any of my Win32 perls. |
Hangs every time on different versions of Strawberry Perl (5.18.2, 5.18.1, 5.16.0, 5.12.2). Windows XP Russian and English.
|
Turns out I have the exact same build of Strawberry Perl ('Win32 strawberry-perl 5.18.2.1 #1 Tue Jan 7 16:30:36 2014 i386') on Windows 7 (English). Amazingly, when I use this version of Strawberry Perl, 26fork.t actually passes for 0.62, as well as 0.62_03. Even the TODO tests pass with 0.62_03. |
The obvious difference between your installations is the OS: XP vs 7. @chorny, do you have access to the XP box and could you run the test with BUILD_NOISY=1 to see at what stage it hangs? |
BUILD_NOISY=1 in environment? Same result. |
Sorry, not as an env var, as a "use Inline" option, eg "use Inline C => 'whatever', BUILD_NOISY => 1". |
Different results before hanging:
|
yes |
@chorny, Ok. Do you feel like hacking up your Inline::C module (in the methods Separate, could you help me check your perl on XP's locking capability, using the check in #8 (comment)? |
Same result for locking - second program prints 'lock' only after first exits. |
That's reassuring. Any luck with making debugging output? |
Remember MS localizes C:/Program Files and DOcuments & settings per language. http://en.wikipedia.org/wiki/Program_Files but russian isn't in that list. |
@bulk88, how does that affect the matters here? |
It hangs in system($cmd) in sub system_call
Does not return from system(...) Inline-C 0.67 |
@chorny, good work! That looks to me like a Perl bug, what do you think? |
From: Alexandr Ciornii
I don't get the hang on any of my mingw-built perls (including 32-bit 5.14.0 Is there something that allows us to know in advance whether the hang is Cheers, |
@mohawk2 I think it is, but I was not able to replicate it with a standalone program. |
@chorny, could you give us a |
Tested portable 5.20.1, does not hang on Windows 7, only on XP. Did not test other perl versions on Windows 7 yet. |
From: Alexandr Ciornii
I was going to test that particular strawberry version on my Windows 7 Are there any other builds available from that page that exhibit the hang ? I think "osvers" relates to the Windows version (ancient NT4, IINM) upon perl -MWin32 -le "print Win32::GetOSName();" I don't know whether the fact that your binaries were built on such an old Maybe we could just skip that troublesome 26fork.t script entirely if: $^O =~ /mswin32/i && $Config{osvers} <= 4.0 but it would be nice to know that doing so isn't being overly restrictive. Cheers, |
It does not depend on which version of Windows Strawberry was compiled, only on which it is run. I'll write a patch that skips this test depending on Windows version. |
I'm also seeing this - system hangs 100% of the time on the my system. Using the newest (5.20.1) version of Strawberry on WinXP. I've included a Perl -V below, but I think it's the same bug. Let me know if you need another tester. GitHub (dot) 9 (dot) OkianWarrior (at) SpamGourmet (dot) com. Summary of my perl5 (revision 5 version 20 subversion 1) configuration: Platform: Characteristics of this binary (from libperl): |
Hi, I've got the same problem on Windows XP with portable strawberry perl 5.20.1 and Inline-C-0.67, reproduction rate 100% Summary of my perl5 (revision 5 version 20 subversion 1) configuration: Platform: Characteristics of this binary (from libperl): |
|
Fixed |
with no output
Inline-C-0.62_03 and Inline-C-0.62
The text was updated successfully, but these errors were encountered: