Mail Archives: cygwin/2010/09/24/05:17:38
On Sep 23 18:22, Heath Kehoe wrote:
>
> On 9/23/2010 3:07 PM, Heath Kehoe wrote:
> >On 9/23/2010 12:13 PM, Heath Kehoe wrote:
> >> I have a build system that uses rake under cygwin, and every so often
> >>a build tool will crash on invocation:
> >>
> >> 1 [main] bclanc 1576! C:\budcat\tools\bin\bclanc.exe: *** fatal
> >>error - could not load w, Win32 error 998
> >>Stack trace:
> >>Frame Function Args
> >>00289F44 6102740B (00289F44, 00000000, 00000000, 00000000)
> >>0028A234 6102740B (61179C20, 00008000, 00000000, 6117B997)
> >>0028B264 61004B2B (6117B084, 61163DD0, 00000000, 00000000)
> >>0028B4C4 6100137A (61053A9A, 00000168, 00000002, 00000002)
> >[snip]
> >>My OS is Win7 x64. Cygwin is built from CVS as of 2010-09-21 12:11
> >>(though I'm pretty sure I've seen this on 1.7.7 as well)
> >I've confirmed that this crash is happening on 1.7.7; it does not appear
> >to happen on 1.7.6.
> >
> >Could it be related to the DLL loading change relating to the security
> >advisory? I'll probably try to revert the revision 1.171 changes to
> >autoload.cc to see if that makes any difference.
>
> I'm currently testing the latest CVS, but with these changes rolled back:
> http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/autoload.cc.diff?r1=1.170&r2=1.171&cvsroot=src&f=h
>
> Thus far, I have not yet seen the crash. I'll hammer on it more to
> make sure.
Can you revert to the latest from CVS and try again with this patch applied:
Index: autoload.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/autoload.cc,v
retrieving revision 1.174
diff -u -p -r1.174 autoload.cc
--- autoload.cc 23 Sep 2010 20:18:16 -0000 1.174
+++ autoload.cc 24 Sep 2010 09:15:40 -0000
@@ -233,7 +233,7 @@ std_dll_init ()
dll->handle = h;
}
else if (!(func->decoration & 1))
- api_fatal ("could not load %W, %E", dll->name);
+ api_fatal ("could not load %W, %E", dll_path);
else
dll->handle = INVALID_HANDLE_VALUE;
}
If the error occurs again, what is the path printed in the error
message? Is it sane? Does the directory correspond to your local
X:\Windows\System32 directory?
Thanks in advance,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -