delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/02/11:12:49

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
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A9FC5DD.DFAB25C1@yahoo.com>
Date: Fri, 02 Mar 2001 11:10:05 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Markus Hoenicka <Markus DOT Hoenicka AT uth DOT tmc DOT edu>
CC: cygwin AT cygwin DOT com
Subject: Re: strace question
References: <15007 DOT 50216 DOT 75000 DOT 569222 AT gargle DOT gargle DOT HOWL>

Markus Hoenicka wrote:
> 
> I tried to get a hint from strace as to where the program dies. I ran
> both the statically linked and the dynamically linked version and get
> exactly the same strace output. There is no such error popup in this
> case for the dynamically linked version and no hint in the strace
> output that the prog receives a SIGSEV signal.
> 
> Does strace magically protect applications from crashing? Is this
> expected behaviour? If not, does that tell me anything about what is
> wrong with the dynamic linking?
> 

This is an indication that you're accessing an uninitialized pointer or
a NULL pointer.

> BTW debugging this directly with gdb fails as any attempt to gain
> information at the crash point (bt and the like) just show "Cannot
> access memory at address 0x2000000".
> 

Don't know exactly how to help you here.  Perhaps displaying both source
and assembler and setting breakpoints at the assembler level could
help.  I've had some success at finding the source point of error when
doing this.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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