GetModuleFileName() hang during signal processing

Christopher Faylor
Wed Apr 2 22:51:00 GMT 2003

On Tue, Apr 01, 2003 at 01:31:48PM -0500, Joe Buehler wrote:
>Checking the address range in interruptible() to prevent the call
>to GetModuleFileName() does indeed fix the ksh93 hang problem.

I'm sorry to say that this doesn't really "fix" the problem.  You
should be able to call GetModuleFileName without it hanging.  I
don't understand why it is hanging.  Is there anything on google
or in MSDN which would suggest that this is possible?

Also, if this is repeatedly happening, that would suggest that one of
cygwin's blocking calls is not being properly protected with a sigframe.
See "how-signals-work.txt" for more details.


More information about the Cygwin-developers mailing list