| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.1 required=5.0 tests=AWL,BAYES_00 |
| X-Spam-Check-By: | sourceware.org |
| X-VirusChecked: | Checked |
| X-Env-Sender: | hkehoe AT budcat DOT com |
| X-Msg-Ref: | server-15.tower-143.messagelabs.com!1285352630!39429570!1 |
| X-StarScan-Version: | 6.2.4; banners=budcat.com,-,- |
| Message-ID: | <4C9CECB4.1040607@budcat.com> |
| Date: | Fri, 24 Sep 2010 13:23:48 -0500 |
| From: | Heath Kehoe <hkehoe AT budcat DOT com> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: strange crashes on invocation |
| References: | <4C9B8AC6 DOT 9080808 AT budcat DOT com> <4C9BB392 DOT 9070802 AT budcat DOT com> <4C9BE120 DOT 1080701 AT budcat DOT com> <20100924091712 DOT GA18898 AT calimero DOT vinschen DOT de> <4C9CD24C DOT 1000606 AT budcat DOT com> <20100924165747 DOT GB5793 AT calimero DOT vinschen DOT de> |
| In-Reply-To: | <20100924165747.GB5793@calimero.vinschen.de> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 9/24/2010 11:57 AM, Corinna Vinschen wrote: > On Sep 24 11:31, Heath Kehoe wrote: >> The path is correct. I have no explanation why changing from a >> filename to a pathname (and LoadLibrary to LoadLibraryW) would make >> any difference, unless there's a race condition, say if >> LoadLibrary[W] is a bit faster when you give it a full path. > That doesn't make sense. It's the LoadLibraryW call itself which is > failing with error 998, "Invalid access to memory location". > > Hmm. Puzzeling. > Well, another difference is the addition of PATH_MAX*2 bytes on the stack. Those functions do some stack manipulations that I'm having trouble grokking. Does 'ret' need to be topmost on the stack? As a test, I moved the 'ret' definition after that of 'dll_path' (in std_dll_init). So far with that change, I have not seen the LoadLibrary fatal error, though I need to test it more to be sure. -h ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -- 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |