From: Daniel Jacobowitz <drow@false.org>
To: Paul Pluzhnikov <ppluzhnikov@google.com>
Cc: Nick Savoiu <savoiu@yahoo.com>, gdb@sourceware.org
Subject: Re: GDB using a lot of CPU time and writing a lot to disk on startup
Date: Mon, 20 Apr 2009 23:55:00 -0000 [thread overview]
Message-ID: <20090420234805.GA28850@caradoc.them.org> (raw)
In-Reply-To: <8ac60eac0904201639r19f7d539v2b301fcb24e82317@mail.gmail.com>
On Mon, Apr 20, 2009 at 04:39:56PM -0700, Paul Pluzhnikov wrote:
> > I used pstack every second until the debugging actually starts and here
> > are all the unique #0 locations in the pstack output.
> >
> > #0 Â 0x0000000000446d16 in msymbol_hash_iw ()
> > #0 Â 0x0000000000446f97 in lookup_minimal_symbol ()
> > #0 Â 0x00000000004bfda0 in symbol_natural_name ()
> > #0 Â 0x00000000004bffe4 in find_pc_sect_psymtab ()
> > #0 Â 0x00000000004c0118 in find_pc_sect_psymbol ()
> > #0 Â 0x00000000004fd755 in bcache_data ()
> > #0 Â 0x000000000050d11a in dwarf2_lookup_abbrev ()
> > #0 Â 0x0000000000610c67 in d_print_comp ()
> > #0 Â 0x00000035aae28250 in __ctype_b_loc () from /lib64/tls/libc.so.6
> > #0 Â 0x00000035aae68ced in _int_free () from /lib64/tls/libc.so.6
> > #0 Â 0x00000035aaeb94a5 in _xstat () from /lib64/tls/libc.so.6
> > #0 Â 0x00000035aaeb9545 in _lxstat () from /lib64/tls/libc.so.6
> > #0 Â 0x00000035aaeb9832 in __open_nocancel () from /lib64/tls/libc.so.6
> > #0 Â 0x00000035aaebe18f in poll () from /lib64/tls/libc.so.6
>
> This output is bogus.
I thought that too the first time I read it - but see his description
of the output (above) again :-)
Nick, it sounds to me like you're debugging something that you haven't
got enough RAM for - is the disk I/O your swap space?
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2009-04-20 23:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 23:40 Nick Savoiu
2009-04-20 23:48 ` Paul Pluzhnikov
2009-04-20 23:55 ` Daniel Jacobowitz [this message]
2009-04-21 0:17 ` Paul Pluzhnikov
2009-04-21 5:22 ` Nick Savoiu
2009-04-21 15:52 ` Mark Kettenis
2009-04-21 19:04 ` Nick Savoiu
2009-04-21 19:52 ` Eli Zaretskii
2009-04-22 6:42 ` Jonas Maebe
2009-04-22 17:23 ` Nick Savoiu
2009-04-22 17:35 ` Nick Savoiu
2009-04-22 17:39 ` Michael Snyder
2009-04-22 17:57 ` Jonas Maebe
2009-04-22 19:18 ` Toby Haynes
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=20090420234805.GA28850@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=ppluzhnikov@google.com \
--cc=savoiu@yahoo.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