This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix for GetModuleFileName() hang when address is in ntdll.dll (NT4 SP5)


On Wed, Apr 02, 2003 at 10:17:38AM -0500, Joe Buehler wrote:
>2003-04-02  Joe Buehler  <jhpb at hekimian dot com>
>
>	* exceptions.cc (interruptible): avoid calling GetModuleFileName() 
>	on system DLL

There are two possible more, IMO, correct fixes for this.  1) Find out why GetModuleFileName
is hanging or 2) protect the function in cygwin which is blocking in a system DLL
with a 'sigframe thisframe (mainthread);'

This code used to have a test just like this.  It was changed to *use* GetModuleFileName.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]