From: Gary Benson <gbenson@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Tom Tromey <tromey@redhat.com>,
Stan Shebs <stanshebs@earthlink.net>,
gdb-patches@sourceware.org,
Florian Weimer <fw@deneb.enyo.de>,
Mark Kettenis <mark.kettenis@xs4all.nl>,
Pedro Alves <palves@redhat.com>
Subject: Re: [PATCH 0/2] Demangler crash handler
Date: Thu, 22 May 2014 12:56:00 -0000 [thread overview]
Message-ID: <20140522125617.GB15598@blade.nx> (raw)
In-Reply-To: <20140520202311.GK22822@adacore.com>
Joel Brobecker wrote:
> Tom Tromey wrote:
> > I realize there is an attractive quality to the "suffering is
> > good for us" idea. It appeals to my inner spartan. However,
> > I disagree very strongly with this.
>
> Having been on the receiving end of this kind of logic, I agree
> with Tom - quite strongly too, in fact. As a user, I do not want
> to be held hostage, especially when there is no workaround. If
> the proposed solution brings no noticeable harm for our users
> in the situation where things are working as expected, I think
> we should consider it. And to help mitigating the fears that
> we would be hiding bugs, we can perhaps find a middle-ground;
> for instance, making sure that we print a really verbose error
> message.
I'm definitely not trying to hide bugs; if anything I'm trying to
make them more reportable. FWIW users would see this:
(gdb) set lang c++
(gdb) maint demangle _Z1-Av23*;cG~Wo2Vu
/home/gary/work/archer/demangle-crashcatcher/src/gdb/cp-support.c:1590:
internal-warning: unable to demangle '_Z1-Av23*;cG~Wo2Vu' (demangler
failed with signal 11)
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
A separate patch [1] I've posted augments this with the lines:
This is a bug, please report it. For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.
The point is to make it easier for users to file straightforward bug
reports *with reproducers* rather than the opaque "GDB crashed at
startup" bugs we've been getting at the moment that people (by which
I mean Keith) have had to spend time triaging. And, at the same time,
for the user to have the option to attempt to continue using GDB to
debug their program. I realise that people may feel that the user
*should* then fix GDB, but not everyone has the time or the ability
or the inclination. I don't want the workaround for this to become
"try LLDB".
Cheers,
Gary
--
[1] https://sourceware.org/ml/gdb-patches/2014-05/msg00198.html
next prev parent reply other threads:[~2014-05-22 12:56 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-09 10:07 Gary Benson
2014-05-09 10:09 ` [PATCH 1/2] " Gary Benson
2014-05-09 10:10 ` [PATCH 2/2] " Gary Benson
2014-05-09 11:20 ` [PATCH 0/2] " Mark Kettenis
2014-05-09 15:33 ` Gary Benson
2014-05-11 5:17 ` Doug Evans
2014-05-13 10:20 ` Gary Benson
2014-05-13 19:29 ` Tom Tromey
2014-05-14 13:07 ` Gary Benson
2014-05-13 19:39 ` Tom Tromey
2014-05-14 9:15 ` Gary Benson
2014-05-11 20:23 ` Mark Kettenis
2014-05-13 10:21 ` Gary Benson
2014-05-13 16:05 ` Pedro Alves
2014-05-15 13:24 ` Gary Benson
2014-05-15 14:07 ` Pedro Alves
2014-05-15 14:28 ` Gary Benson
2014-05-15 15:25 ` Pedro Alves
2014-05-16 11:06 ` Pedro Alves
2014-05-10 20:55 ` Florian Weimer
2014-05-11 5:10 ` Doug Evans
2014-05-13 10:22 ` Gary Benson
2014-05-13 18:22 ` Florian Weimer
2014-05-13 18:42 ` Pedro Alves
2014-05-13 19:16 ` Gary Benson
2014-05-13 19:19 ` Pedro Alves
2014-05-14 9:11 ` Gary Benson
2014-05-13 19:20 ` Florian Weimer
2014-05-13 19:22 ` Pedro Alves
2014-05-13 19:22 ` Gary Benson
2014-05-13 19:36 ` Tom Tromey
2014-05-14 9:13 ` Gary Benson
2014-05-14 14:18 ` Pedro Alves
2014-05-14 16:08 ` Andrew Burgess
2014-05-14 18:32 ` Pedro Alves
2014-05-15 13:25 ` Gary Benson
2014-05-15 16:01 ` Pedro Alves
2014-05-15 13:27 ` Gary Benson
2014-05-20 17:05 ` Tom Tromey
2014-05-20 18:40 ` Stan Shebs
2014-05-20 19:36 ` Tom Tromey
2014-05-20 20:23 ` Joel Brobecker
2014-05-22 12:56 ` Gary Benson [this message]
2014-05-22 13:09 ` Joel Brobecker
2014-05-22 14:13 ` Pedro Alves
2014-05-22 15:57 ` Gary Benson
2014-05-22 13:18 ` Gary Benson
2014-05-22 14:09 ` Gary Benson
2014-05-22 14:40 ` Mark Kettenis
2014-05-22 20:42 ` Gary Benson
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=20140522125617.GB15598@blade.nx \
--to=gbenson@redhat.com \
--cc=brobecker@adacore.com \
--cc=fw@deneb.enyo.de \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
--cc=palves@redhat.com \
--cc=stanshebs@earthlink.net \
--cc=tromey@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).