This is the mail archive of the cygwin 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] |
On 23 February 2006 16:20, Peter Rehley wrote:
Yeah, I saw that change, and I tried yesterdays snapshot but it still hung. I also did some more googling and found that someone submitted a patch a few years ago. The patch checked to see if it was inside the ntdll.dll by looking at the handle. http://www.cygwin.com/ml/cygwin-patches/2003-q2/msg00004.html
I found this google too. http://blogs.msdn.com/oldnewthing/archive/2004/01/28/63880.aspx
I'm going to try that patch today and see what happens. Christopher didn't apply it because it was a bandage and didn't really fix the bigger problem.
Here is all of the bt's for all of the threads in the program. If you need more information let me know. But I probably won't be able to get it until next week. My company is moving and things have to be turned off for a bit.
That all fits right in with your diagnosis of the problem; a deadlock of
some kind I guess is the only thing that could make GetModuleFileName hang.
Have you got a stack backtrace showing the call chain when this problem
arises?
I used this command file to set things up. dll-symbols cygwin1.dbg add-symbol-file cygwin1.dbg
We may be able to come up with a substitute for GMFN that would solve theI'm now not 100% is a problem exclusive to GMFN. I did some more digging and it seems like any function that can acquire the "loader lock" can potentially deadlock. Here is an article that discusses the loader lock a little bit.
problem.
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |