public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/12271] New: GDB segfaults when running strace
@ 2010-11-28  1:33 calimeroteknik at free dot fr
  2010-12-18  9:39 ` [Bug gdb/12271] " degeneracypressure at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: calimeroteknik at free dot fr @ 2010-11-28  1:33 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12271

           Summary: GDB segfaults when running strace
           Product: gdb
           Version: 7.2
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: calimeroteknik@free.fr


The problem is simple : whatever the way, gdb segfaults when running strace in
it.

Here are examples of gdb debugging itself when producing the bug :
http://pastebin.archlinux.fr/427135 : very simple cases
http://pastebin.archlinux.fr/427133 : gdb debugging gdb with backtrace

Real debuggings failing (in gdb so we can have a backtrace, it's the same) :
http://pastebin.archlinux.fr/427127 (a program with debug symbols)
http://pastebin.archlinux.fr/427130 (just bash)

I use Arch Linux with GCC 4.5.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/12271] GDB segfaults when running strace
  2010-11-28  1:33 [Bug gdb/12271] New: GDB segfaults when running strace calimeroteknik at free dot fr
@ 2010-12-18  9:39 ` degeneracypressure at gmail dot com
  2010-12-18 11:14 ` calimeroteknik at free dot fr
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: degeneracypressure at gmail dot com @ 2010-12-18  9:39 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12271

Eliah Kagan <degeneracypressure at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |degeneracypressure at gmail
                   |                            |dot com

--- Comment #1 from Eliah Kagan <degeneracypressure at gmail dot com> 2010-12-18 08:05:03 UTC ---
Does this occur when you use the strace command with arguments? gdb crashes on
my system when I run strace with no arguments, but gdb's strace command seems
to work correctly otherwise.

Since you said the strace command always produces a segfault, I figured my bug
was different from this one, and I reported it at:

https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/691814

(I haven't reported it here yet.)

But then I examined your examples in detail and saw that you're running strace
with no arguments. If strace works for you when invoked with arguments, then my
bug is probably a reproduction of yours.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/12271] GDB segfaults when running strace
  2010-11-28  1:33 [Bug gdb/12271] New: GDB segfaults when running strace calimeroteknik at free dot fr
  2010-12-18  9:39 ` [Bug gdb/12271] " degeneracypressure at gmail dot com
@ 2010-12-18 11:14 ` calimeroteknik at free dot fr
  2010-12-18 15:40 ` degeneracypressure at gmail dot com
  2010-12-18 15:40 ` pedro at codesourcery dot com
  3 siblings, 0 replies; 5+ messages in thread
From: calimeroteknik at free dot fr @ 2010-12-18 11:14 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12271

--- Comment #2 from calimeroteknik at free dot fr 2010-12-18 09:39:10 UTC ---
Yes, it indeed is the same bug !
Confirmed then.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/12271] GDB segfaults when running strace
  2010-11-28  1:33 [Bug gdb/12271] New: GDB segfaults when running strace calimeroteknik at free dot fr
  2010-12-18  9:39 ` [Bug gdb/12271] " degeneracypressure at gmail dot com
  2010-12-18 11:14 ` calimeroteknik at free dot fr
@ 2010-12-18 15:40 ` degeneracypressure at gmail dot com
  2010-12-18 15:40 ` pedro at codesourcery dot com
  3 siblings, 0 replies; 5+ messages in thread
From: degeneracypressure at gmail dot com @ 2010-12-18 15:40 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12271

--- Comment #3 from Eliah Kagan <degeneracypressure at gmail dot com> 2010-12-18 11:14:29 UTC ---
Excellent. I have annotated my Launchpad bug report to indicate that it is a
duplicate of this.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/12271] GDB segfaults when running strace
  2010-11-28  1:33 [Bug gdb/12271] New: GDB segfaults when running strace calimeroteknik at free dot fr
                   ` (2 preceding siblings ...)
  2010-12-18 15:40 ` degeneracypressure at gmail dot com
@ 2010-12-18 15:40 ` pedro at codesourcery dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pedro at codesourcery dot com @ 2010-12-18 15:40 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12271

Pedro Alves <pedro at codesourcery dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pedro at codesourcery dot
                   |                            |com
         Resolution|                            |DUPLICATE

--- Comment #4 from Pedro Alves <pedro at codesourcery dot com> 2010-12-18 15:39:47 UTC ---
Already fixed.  See PR12217.

*** This bug has been marked as a duplicate of bug 12217 ***

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-18 15:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-28  1:33 [Bug gdb/12271] New: GDB segfaults when running strace calimeroteknik at free dot fr
2010-12-18  9:39 ` [Bug gdb/12271] " degeneracypressure at gmail dot com
2010-12-18 11:14 ` calimeroteknik at free dot fr
2010-12-18 15:40 ` degeneracypressure at gmail dot com
2010-12-18 15:40 ` pedro at codesourcery dot com

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).