From: Paul Pluzhnikov <ppluzhnikov@google.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb@sourceware.org
Subject: Re: Discussing the next GDB release (GDB 7.0?)
Date: Fri, 16 Jan 2009 05:48:00 -0000 [thread overview]
Message-ID: <8ac60eac0901152147o75f189bdm42053173bb29d5b9@mail.gmail.com> (raw)
In-Reply-To: <20090116034623.GJ31296@adacore.com>
On Thu, Jan 15, 2009 at 7:46 PM, Joel Brobecker <brobecker@adacore.com> wrote:
>> Anything else that you'd like to be put on the list for
>> this release?
>
> Tom suggested PR/9711: Quadratic slowdown in backtrace command.
> I added to the list because it is a regression compared to 6.8,
> but the example given shows the heavy slowdown only with a very
> large number of frames. I wonder if this can happen with a more
> typical number of frames - I suspect that Paul (the submitter)
> probably hit the problem in a real situation before coming up
> with this reduced example...
Correct.
It happened while debugging gdb+python on archer branch,
which I accidentally put into an infinite recursion.
This had quite a large number of frames, *and* there were more
parameters in each frame, so it took longer. IIRC, it took
about 15 minutes to get to the top of the stack, where the
"interesting" frames were.
I don't believe putting a program into infinite recursion is
very unusual; I've done it many times in the past :-(
And when that does happen, waiting minutes for GDB to unwind
stack is the last thing you want to do.
--
Paul Pluzhnikov
next prev parent reply other threads:[~2009-01-16 5:48 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-15 3:46 Joel Brobecker
2009-01-15 4:18 ` Eli Zaretskii
2009-01-15 10:43 ` Vladimir Prus
2009-01-15 17:12 ` Joel Brobecker
2009-01-15 17:17 ` Tom Tromey
2009-01-15 17:24 ` Daniel Jacobowitz
2009-01-15 17:31 ` Joel Brobecker
2009-01-28 3:49 ` Thiago Jung Bauermann
2009-01-30 0:43 ` Joel Brobecker
2009-02-02 13:48 ` Thiago Jung Bauermann
2009-02-04 19:17 ` Tom Tromey
2009-02-06 0:48 ` Joel Brobecker
2009-01-15 17:24 ` David Daney
2009-01-15 17:37 ` Joel Brobecker
2009-01-15 23:54 ` teawater
2009-01-16 2:29 ` teawater
2009-01-16 3:40 ` Joel Brobecker
2009-01-16 6:32 ` teawater
2009-01-16 16:24 ` Tom Tromey
2009-01-16 14:30 ` Marc Khouzam
2009-01-20 18:25 ` Jakob Engblom
2009-01-21 0:18 ` teawater
2009-01-21 3:16 ` teawater
2009-01-27 5:09 ` Michael Snyder
2009-01-27 5:01 ` Michael Snyder
2009-01-30 0:48 ` Joel Brobecker
2009-01-16 3:47 ` Joel Brobecker
2009-01-16 5:48 ` Paul Pluzhnikov [this message]
2009-01-16 8:46 ` Eli Zaretskii
2009-01-16 14:55 ` Daniel Jacobowitz
2009-01-16 14:30 ` Joel Sherrill
2009-01-17 3:09 ` Joel Brobecker
2009-01-20 8:09 ` Nathan Sidwell
2009-01-20 10:41 ` Joel Brobecker
2009-01-20 11:25 ` Nathan Sidwell
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=8ac60eac0901152147o75f189bdm42053173bb29d5b9@mail.gmail.com \
--to=ppluzhnikov@google.com \
--cc=brobecker@adacore.com \
--cc=gdb@sourceware.org \
/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