public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/14114] New: gdb crashes when stdin is not available
@ 2012-05-16 10:21 rguenth at gcc dot gnu.org
2012-05-16 18:07 ` [Bug gdb/14114] " tromey at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-05-16 10:21 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14114
Bug #: 14114
Summary: gdb crashes when stdin is not available
Product: gdb
Version: 7.4
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: rguenth@gcc.gnu.org
Classification: Unclassified
> cat x.cmd
quit
> gdb -batch -x x.cmd 0>&-
Segmentation fault
It seems to crash in
Program terminated with signal 11, Segmentation fault.
#0 _IO_feof (fp=0x0) at feof.c:37
37 feof.c: No such file or directory.
Missing separate debuginfos, use: zypper install
gdb-debuginfo-7.4.50.20120120-81.1.x86_64
(gdb) up
#1 0x0000000000521958 in ?? ()
(gdb)
#2 0x0000000000522677 in _initialize_charset ()
(gdb)
#3 0x0000000000657f8a in initialize_all_files ()
(gdb)
#4 0x000000000062b27f in gdb_init ()
the crash also appears with gdb 7.3 but appearantly not with gdb 7.0.
The situation occured with a daemon forking a gdb to record a backtrace
for it, thus no stdin is available.
--
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] 2+ messages in thread
* [Bug gdb/14114] gdb crashes when stdin is not available
2012-05-16 10:21 [Bug gdb/14114] New: gdb crashes when stdin is not available rguenth at gcc dot gnu.org
@ 2012-05-16 18:07 ` tromey at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: tromey at redhat dot com @ 2012-05-16 18:07 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14114
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |tromey at redhat dot com
Resolution| |FIXED
Target Milestone|--- |7.5
--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2012-05-16 18:06:44 UTC ---
Fixed on trunk.
See http://sourceware.org/ml/gdb-patches/2012-02/msg00073.html
--
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] 2+ messages in thread
end of thread, other threads:[~2012-05-16 18:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-16 10:21 [Bug gdb/14114] New: gdb crashes when stdin is not available rguenth at gcc dot gnu.org
2012-05-16 18:07 ` [Bug gdb/14114] " tromey at redhat 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).