GetModuleFileName() hang during signal processing

Christopher Faylor
Thu Apr 10 05:34:00 GMT 2003

On Wed, Apr 02, 2003 at 05:51:20PM -0500, Christopher Faylor wrote:
>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.

Whatever happened with this problem?  Was this actually the thread
memory exhaustion problem mentioned in other messages?


More information about the Cygwin-developers mailing list