Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@gnu.org>
To: David Lecomber <david@streamline-computing.com>
Cc: drow@false.org, gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Seg fault whilst stepping when watch set [ping!] [in  breakpoint.c]
Date: Sun, 21 Nov 2004 05:19:00 -0000	[thread overview]
Message-ID: <01c4cf89$Blat.v2.2.2$616cb580@zahav.net.il> (raw)
In-Reply-To: <1100996751.22991.39.camel@cpc2-oxfd5-5-0-cust91.oxfd.cable.ntl.com> (message from David Lecomber on Sun, 21 Nov 2004 00:25:51 +0000)

> From: David Lecomber <david@streamline-computing.com>
> Cc: Daniel Jacobowitz <drow@false.org>, patches <gdb-patches@sources.redhat.com>
> Date: Sun, 21 Nov 2004 00:25:51 +0000
> 
> > Also, last time we talked, I asked whether this could be due to the
> > Fedora exec-shield feature, but didn't see any response to that.
> > Could you please check that?
> 
> I'm not sure how to verify that one

There should be a way to switch exec-shield off, but I don't know how.
I meant to ask you to see if switching it off makes the problem go
away.

> Thanks for looking at this bug, here's the latest stack trace and
> session log for current CVS:

Thanks, there seems to be a different problem (or maybe several
problems):

> (gdb) b f90demo.f90 : 41
> During symbol reading, unsupported tag: 'DW_TAG_module'.
> During symbol reading, Attribute value is not a constant
> (DW_FORM_block1).
> [...]
> (gdb) watch i
> During symbol reading, incomplete CFI data; unspecified registers (e.g.,
> eax) at 0x804bc35.

Can someone please explain what do these messages mean, in the context
of the problem at hand, and why didn't David report them in a previous
GDB version?  Did the same problems happen in the older GDB as well,
but were just silently ignored, or are we looking at a completely
different cause for a segfault?

Also, David, I asked you to check why doesn't GDB segfault when it
evaluates the same expression on line 1142, before calling
insert_bp_location.

> I know the patch I originally suggested could be a cure of the symptom,
> rather than the cause - but as it's harmless, if we can't figure out why
> it happens, it could be worth just committing anyway: all the patch does
> is check a value is non-null, and if so takes action - without the patch
> such a scenario will always segfault!

Sorry, I'm reluctant to approve a patch that fixes a problem that we
are unable to understand.  It's not clean.


  parent reply	other threads:[~2004-11-21  5:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <01c4cef8$Blat.v2.2.2$3fd12960@zahav.net.il>
2004-11-21  0:24 ` David Lecomber
2004-11-21  0:42   ` Daniel Jacobowitz
2004-11-21  5:29     ` Eli Zaretskii
2004-11-21  6:48       ` Daniel Jacobowitz
2004-11-21  5:19   ` Eli Zaretskii [this message]
2004-11-21  6:49     ` Daniel Jacobowitz
2004-11-21 10:36       ` David Lecomber
2004-11-21 19:40       ` Eli Zaretskii
2004-10-17  0:09 [PATCH] Seg fault whilst stepping when watch set David Lecomber
2004-10-25 16:10 ` [PATCH] Seg fault whilst stepping when watch set [ping!] David Lecomber
2004-11-01 22:05   ` [PATCH] Seg fault whilst stepping when watch set [ping!] [in breakpoint.c] David Lecomber
2004-11-02  4:38   ` Eli Zaretskii
     [not found]     ` <1099385491.31287.19.camel@cpc1-oxfd5-5-0-cust86.oxfd.cable.ntl.com>
2004-11-02 21:40       ` Eli Zaretskii
2004-11-03 12:08         ` David Lecomber
2004-11-17 21:38           ` David Lecomber
2004-11-03 18:09         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='01c4cf89$Blat.v2.2.2$616cb580@zahav.net.il' \
    --to=eliz@gnu.org \
    --cc=david@streamline-computing.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox