delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/10/01:30:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 9 Feb 2004 22:27:38 -0800 (PST)
From: "Peter A. Castro" <doctor AT fruitbat DOT org>
To: Jason Tishler <jason AT tishler DOT net>
cc: cygwin AT cygwin DOT com, peda AT sectra DOT se
Subject: Re: Segfault in _cygwin_dll_entry
In-Reply-To: <20040209122122.GA1548@tishler.net>
Message-ID: <Pine.LNX.4.53.0402092221430.18954@gremlin.fruitbat.org>
References: <OF255513CA DOT 129B14DE-ONC1256E32 DOT 006AD853 AT dbs DOT sectra DOT se> <20040209122122 DOT GA1548 AT tishler DOT net>
MIME-Version: 1.0
X-IsSubscribed: yes

On Mon, 9 Feb 2004, Jason Tishler wrote:

> Peter,
>
> On Mon, Feb 09, 2004 at 10:14:10AM +0100, peda AT sectra DOT se wrote:
> > You're talking about rebased dlls. I don't know if cygggi-2.dll is
> > rebased or not, how can I tell?
>
> Rebasing is a manual process.  So, if you didn't run rebaseall or rebase
> yourself, then cygggi-2.dll and the rest of your DLLs are not rebased.

That's part of the point to this little problem.  When libzsh-4.1.1.ddl
is rebased the problem shows up, but cygggi-2.dll isn't rebased and the
same problem shows up.  It appears that only very convoluted
configurations evoke this problem, making it a very tough bug to shoot.

What I really want to know is how to stop the loading of a DLL right when
Dllmain is called.  In other words, I want to be able to trace all cygwin
code to determine weither this is a Windows bug or a cygwin bug.  I don't
know if I can do this with gdb or weither I'll have to resort to some
other means.

> Jason

-- 
Peter A. Castro <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT com>
	"Cats are just autistic Dogs" -- Dr. Tony Attwood

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019