delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <20001026150101.359.qmail@web118.yahoomail.com> |
Date: | Thu, 26 Oct 2000 08:01:01 -0700 (PDT) |
From: | Earnie Boyd <earnie_boyd AT yahoo DOT com> |
Subject: | Re: Cygwin gcc/ld doesn't like some DLL filenames... |
To: | Jason Tishler <Jason DOT Tishler AT dothill DOT com>, |
Cygwin <cygwin AT sources DOT redhat DOT com> | |
MIME-Version: | 1.0 |
--- Jason Tishler <Jason DOT Tishler AT dothill DOT com> wrote: > On Wed, Oct 25, 2000 at 04:24:28PM -0400, Jason Tishler wrote: > > Can anyone explain this strange behavior? > > The plot thickens -- main.exe runs normally when invoked via strace and > gdb. For example: > > $ ./main > 0 [main] main 1186 handle_exceptions: Exception: > STATUS_ACCESS_VIOLATION > 4756 [main] main 1186 stackdump: Dumping stack trace to > main.exe.stackdump > $ strace -o main.log ./main > hello > > Any ideas on how to further debug this problem? > This has all the sounds of a memory location reference that is being used that is sometimes a location owned by main.exe and sometimes it's not owned by main.exe. Either way it is an illegal reference to the memory location. Using gdb and strace will cause the memory reference to change so it works. Changing the name of the dll is obviously doing the same thing. The only solution I can think of is to search for all references to pointers, check to see if there are any conditions that would cause the pointers to be pointed to the incorrect memory location. Tedious work. You can use gdb to help with this but it'll be a step look at pointers to check the addresses, step look at pointers to check the addresses ... you get the picture. You may want to check out other tools for this. Cheers, ===== Earnie Boyd mailto:earnie_boyd AT yahoo DOT com --- <http://earniesystems.safeshopper.com> --- --- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> --- --- Minimalist GNU for Windows <http://www.mingw.org/> --- __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |