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
win32_open/win32_popen deadlock #11221
Comments
From avstuser@gmail.comHi, minimal example - min.pl (it opens itself), it might take some time to hit use threads; It probably affects all the windows perl versions. Additional analysis: 0:004> ~*k 0:004> !cs 00000000003d9730 Critical section = 0x00000000003d9730 (+0x3D9730) 0:004> ~~[1ff8]kv 0:004> !cs 003d4ec8 Critical section = 0x00000000003d4ec8 (+0x3D4EC8) 0:004> ~~[21f0]kv 3 threads waiting on a critical section (3d9730) held by thread 2 (TID Looks like a bug in msvcrt itself. See this link: Regards, |
From @janduboisOn Thu, 31 Mar 2011, Frank Hruza (via RT) wrote:
[...]
Hi Frank! Thank you for spending the time to narrow down the problem to a small I did not have time to look into your report beyond browsing the related It is not clear to me how we could work around the issue without either: a) finishing the :win32 I/O layer and not use stdio on Windows at all, or Both would be rather big efforts. So I was intrigued to read on #p5p on IRC: | wuser: If I would make a patch, who would be reviewing it? Did you have a specific idea how we could work around the problem in a more Cheers, PS: You said you have found more problems with win32_popen(). Do you intend |
The RT System itself - Status changed from 'new' to 'open' |
From @LeontOn Mon, Apr 4, 2011 at 7:27 PM, Jan Dubois <jand@activestate.com> wrote:
I'm not harmed by much knowledge of the win32 api, but what exactly Leon |
From @janduboisOn Mon, 04 Apr 2011, Leon Timmermans wrote:
Sorry, I don't remember the details, but N-IS was working on the layer I haven't tried the code lately, but I think it doesn't pass Perl regression But yes, I may very well be wrong and just have some irrational fear of that Cheers, |
From @LeontOn Mon, Apr 4, 2011 at 8:49 PM, Jan Dubois <jand@activestate.com> wrote:
Almost all of the code is from the original commit a8c08e ("Work in
It hasn't had significant maintenance in many years, I wouldn't expect
AFAIK they don't necessarily require special code, but I'm not sure of that. Leon |
From @bulk88This list discussion is another report of this bug I got the following idea on howto fix this. The fix is for perl to All info below is from 32 bit dlls. msvcrt.dll 7.0.2600.5512 (xpsp.080413-2111) exports _lock, disassembly Reactos/Wine does the Dos Windows way _OSFHND_LOCK VC 6 msvcrt.dll which I dont have a copy of, is probably 18 see _lock was made public api by MS in VS 2010. VC 2003's msvcrt.lib exports _lock but it is never declared in the VS Since WinCE and Win2K are supported platforms. How to figure out what |
From @bulk88On Sat Sep 08 12:56:23 2012, bulk88 wrote:
I tried the lock 11 hack on a VC 2008 X64 5.17 perl on Server 2003 x64 8 DllExport int |
From Mike.B.Huang@emc.comThe patch works for some of my test programs, but it failed on the following, sub f threads->create(\&f, 0); -----Original Message----- On Sat Sep 08 12:56:23 2012, bulk88 wrote:
I tried the lock 11 hack on a VC 2008 X64 5.17 perl on Server 2003 x64 8 DllExport int via perlbug: queue: perl5 status: open |
From @bulk88On Thu Sep 20 05:52:11 2012, Mike.B.Huang@emc.com wrote:
|
From @bulk88On Thu Sep 20 19:37:10 2012, bulk88 wrote:
fh 1's kernel handle is an anonymous win32 named pipe, I dont think it |
Migrated from rt.perl.org#87410 (status was 'open')
Searchable as RT87410$
The text was updated successfully, but these errors were encountered: