1.7.5: Occasional failure of CreatePipe or signal handing due to thread-unsafe code in cwdstuff::set

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu Aug 12 16:44:00 GMT 2010


On Thu, Aug 12, 2010 at 06:26:21PM +0200, Corinna Vinschen wrote:
>On Aug 12 12:14, Christopher Faylor wrote:
>> Btw, I found this by stepping through the //?/Global??/ namespace
>> as shown by the sysinternals Winobj utility.
>
>Yeah, Winobj is one of my favorite tools.  Nevertheless, I would
>never have expected... etc.
>
>Btw:
>
>  SetCurrentDirectory ("//?/PIPE/");
>  CreateFile ("../C:/foo", ...);
>
>works.  Go figure!

I meant to mention that //?/NUL/ "works" too except that CreateFile
always succeeds.  I was close to retracting my previous position and go
with that just because it really deliciously highlights the WJM
principle.

Cygwin user:

"Where did my file go?  CreateFile succeeded!"

Response:

"Mwahahaha!"

Btw, I can now run my VirtualBox stuff again.  Just had to rebuild
linux, reboot, download the latest nvidia drivers, and rebuild
virtualbox.

Simple.

cgf



More information about the Cygwin-developers mailing list