delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: Hanging at GetModuleFileName in inside_kernel function |
Date: | Thu, 23 Feb 2006 18:13:40 -0000 |
Message-ID: | <000301c638a4$dfc6fd70$a501a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
In-Reply-To: | <4BFEBADC-51DD-40CD-9595-9337ABCBDD8E@rehley.net> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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. 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? We may be able to come up with a substitute for GMFN that would solve the problem. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |