Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <044e01c1a72b$8f8eb050$0200a8c0@lifelesswks>
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Markus Hoenicka" <Markus.Hoenicka@uth.tmc.edu>, <cygwin@cygwin.com>
References: <15437.57169.404000.997498@gargle.gargle.HOWL>
Subject: Re: C++ dll segfault problem
Date: Sun, 27 Jan 2002 23:10:06 +1100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 27 Jan 2002 12:10:02.0443 (UTC) FILETIME=[8C6C61B0:01C1A72B]


===
----- Original Message -----
From: "Markus Hoenicka" <Markus.Hoenicka@uth.tmc.edu>

> Hi,
>
> I'm stuck with a problem building dynamically linked versions of
> OpenJade, onsgmls etc. (http://sourceforge.net/projects/openjade). The

...

> I've also tried to get some insight from strace. strace in this case
> has the unique ability to *prevent* the segfault, so the stack traces
> of the statically and dynamically linked binaries are pretty much
> identical.

Try this:
strace -ofoo.log -f -n <cygwinroot>\bin\sh.exe <command to run>

That should reproduce the fault, if it doesn't, try bash instead sh.

Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

