public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "keiths at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/18449] GDB crashes on OSX
Date: Fri, 22 May 2015 18:17:00 -0000	[thread overview]
Message-ID: <bug-18449-4717-PgZVRmKhTU@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-18449-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=18449

Keith Seitz <keiths at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |keiths at redhat dot com

--- Comment #1 from Keith Seitz <keiths at redhat dot com> ---
(In reply to Andy Somogyi from comment #0)
> When debugging any non-trivial program, such as the python interpreter, or
> virtually any other non-trivial program, gdb will hang on OSX with 100% cpu
> usage. 

If you could attach GDB to that hung (GDB) process and send in a backtrace,
that might prove really helpful. *Very* few of us active developers have
Mac-based systems. [gdb /path/to/gdb -p $pid_of_gdb -ex "thread apply all bt"
should do the trick]

> The problem started somewhere after 6.3, as the Apple provided GDB 6.3 works
> perfectly. I've verified this problem with GDB 7.9 and 7.7. Also verified
> this on 3 different machines, with 3 different OSX versions. 

For the record, 6.3 (Apple's version) is not really FSF GDB. It was heavily
modified (as was GCC) by Apple and its related community. Comparing Apple 6.3
vs FSF GDB therefore only tells me that it is likely some modification that was
never submitted/accepted/committed in upstream FSF GDB.

> On OSX 10.7, when using the built in GDB 6.3, no problems are found.
> The initial breakpoint in main is always found just fine, and the first 3-4
> breakpoints are also found, then after say 3-4 continues, gdb itself will
> hang with 100% cpu usage.

To even begin to help out, we're going to need you to run gdb independently of
Eclipse. That one step alone will help us isolate the problem all the quicker.

Other useful information: What compiler/version are you using? [I'm assuming
Apple's or MacPorts GCC.]

-- 
You are receiving this mail because:
You are on the CC list for the bug.


      reply	other threads:[~2015-05-22 18:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-22 15:39 [Bug gdb/18449] New: " andy.somogyi at gmail dot com
2015-05-22 18:17 ` keiths at redhat dot com [this message]

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=bug-18449-4717-PgZVRmKhTU@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).