public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/13422] New: Segmentation fault due to lack of tui setup
@ 2011-11-21 19:25 sphink at gmail dot com
  2015-07-02 14:21 ` [Bug tui/13422] " palves at redhat dot com
  2015-07-08 23:44 ` sphink at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: sphink at gmail dot com @ 2011-11-21 19:25 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 13422
           Summary: Segmentation fault due to lack of tui setup
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tui
        AssignedTo: unassigned@sourceware.org
        ReportedBy: sphink@gmail.com
    Classification: Unclassified


I have a script that starts up gdb inside of emacs from the command line, and
it began seg faulting on startup after updating gdb.

I can't remember how I managed to catch this in the debugger (it involved a
weird timing hack), but I can reproduce this with just the command line

  emacs --eval '(gdb "/home/sfink/src/archer/gdb/gdb --annotate=3
/usr/bin/flac")'

where /usr/bin/flac can be any binary for which debug info is available.
Switching to a binary with no debug info will eliminate the crash, as will
removing the --annotate=3. The crash is a NULL pointer dereference on some tui
data structure.

Reverting commit edde6978a5c3ee8a2eeafa99a13a6ecb95bf1aff fixes the problem for
me.

-- 
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] 3+ messages in thread

end of thread, other threads:[~2015-07-08 23:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-21 19:25 [Bug tui/13422] New: Segmentation fault due to lack of tui setup sphink at gmail dot com
2015-07-02 14:21 ` [Bug tui/13422] " palves at redhat dot com
2015-07-08 23:44 ` sphink at gmail 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).