public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/9949] New: Ctrl-C reboots host
@ 2009-03-13 11:27 barry dot c dot davis at gmail dot com
  2009-03-13 11:47 ` [Bug gdb/9949] " barry dot c dot davis at gmail dot com
  2009-03-13 16:26 ` tromey at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: barry dot c dot davis at gmail dot com @ 2009-03-13 11:27 UTC (permalink / raw)
  To: gdb-prs

At a root bash prompt run gdb.
gdb runs up.
Press Ctrl-C at gdb prompt.
System reboots.
Repeatable every time.

Compiled by GNU CC version 3.4.3
GNU C Library stable release version 2.3.4

This is the output from logging in, dumping vars incasse you're interested 
whats set, running gdb, then pressing Ctrl-C.

login as: root
/root# set
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="00" [2]="16" [3]="1" [4]="release" [5]="i686-pc-
linux-gnu")
BASH_VERSION='3.00.16(1)-release'
BUILD_TARGET=i686
COLUMNS=80
DIRSTACK=()
EUID=0
GROUPS=()
HISTCONTROL=erasedups
HISTFILESIZE=500
HISTSIZE=500
HOSTNAME=barry2
HOSTTYPE=i686
IFS=$' \t\n'
INPUTRC=/etc/inputrc
LANG=
LD_LIBRARY_PATH=/tmp
LINES=24
LOGNAME=root
MACHTYPE=i686-pc-linux-gnu
MAIL=/var/mail/root
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/tmp:/opt/exsequi/bin:/usr/bin:/bin:/usr/sbin:/sbin
PIPESTATUS=([0]="0")
PPID=2454
PROMPT_COMMAND=_pc
PS1='\w\$ '
PS2='> '
PS4='+ '
PWD=/root
PYTHONPATH=/opt/exsequi/xmlrpc
PYTHONSTARTUP=/etc/pythonrc
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-
comments:monitor
SHLVL=1
SSH_CLIENT='192.168.1.158 1806 22'
SSH_CONNECTION='192.168.1.158 1806 192.168.1.45 22'
SSH_TTY=/dev/pts/0
TERM=linux
UID=0
USER=root
_=TERM

/root# gdb


dlopen failed on 'libthread_db.so.1' - libthread_db.so.1: cannot open shared 
object file: No such file or directory
GDB will not be able to debug pthreads.

GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
(gdb)
Broadcast message from root (tty10) (Fri Mar 13 11:17:55 2009):

The system is going down for reboot NOW!

-- 
           Summary: Ctrl-C reboots host
           Product: gdb
           Version: 6.8
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: barry dot c dot davis at gmail dot com
                CC: gdb-prs at sourceware dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug gdb/9949] Ctrl-C reboots host
  2009-03-13 11:27 [Bug gdb/9949] New: Ctrl-C reboots host barry dot c dot davis at gmail dot com
@ 2009-03-13 11:47 ` barry dot c dot davis at gmail dot com
  2009-03-13 16:26 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: barry dot c dot davis at gmail dot com @ 2009-03-13 11:47 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From barry dot c dot davis at gmail dot com  2009-03-13 11:47 -------
/root# cat /proc/version
Linux version 2.6.27.10 (root@bob) (gcc version 3.4.3) #1 SMP Tue Jan 6 
14:57:01 GMT 2009

Its now been narrowed down to a developer running a different toolchain, 
although all the packages in the toolchain are the same versions as the one 
that works fine. Its still strange that it manages to reboot the system though.


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug gdb/9949] Ctrl-C reboots host
  2009-03-13 11:27 [Bug gdb/9949] New: Ctrl-C reboots host barry dot c dot davis at gmail dot com
  2009-03-13 11:47 ` [Bug gdb/9949] " barry dot c dot davis at gmail dot com
@ 2009-03-13 16:26 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2009-03-13 16:26 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2009-03-13 16:26 -------
It seems to me that this must be a kernel problem.
Can you try other versions of the kernel?
Do you see anything in your system logs?

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


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2009-03-13 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-13 11:27 [Bug gdb/9949] New: Ctrl-C reboots host barry dot c dot davis at gmail dot com
2009-03-13 11:47 ` [Bug gdb/9949] " barry dot c dot davis at gmail dot com
2009-03-13 16:26 ` 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).