This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/9949] New: Ctrl-C reboots host


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]