all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#4437: 23.1.50; Quitting gdb leaves a process behind
@ 2009-09-14 20:54 Hannu Koivisto
  2009-09-16  2:00 ` Nick Roberts
  2012-04-20  6:40 ` Chong Yidong
  0 siblings, 2 replies; 5+ messages in thread
From: Hannu Koivisto @ 2009-09-14 20:54 UTC (permalink / raw)
  To: emacs-pretest-bug

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Start emacs with -q option, start gdb to debug any program
(M-x gdb RET C-a gdb -i=mi ./some-program), quit immediately by typing
quit RET to gdb command line (and answer "yes" to the question
whether to kill the process associated to the buffer) and finally list
processes with M-x list-processes RET.

Expected result: no processes.
Actual result:

Proc	     Status   Buffer   Tty	   Command
----	     ------   ------   ---	   -------
gdb-inferior run      (Killed) /dev/pts/15 

If I start gdb again after this, I get a new gdb-inferior<1>
process which again is left running when I quit gdb.

I've also seen cases where "quit" command to gdb does absolutely
nothing.  In at least some sub-cases, if I then say M-x list-processes
RET, _then_ I get the question whether to kill the process associated to
the buffer and if I say "yes", the debugger quits and I get "Debugger
finished" in the gdb buffer.

In GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2009-09-13 on deliverance
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure  '--prefix=/usr/local' '--with-x-toolkit=athena''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: fi_FI@euro
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: POSIX
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-9-unix
  default enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x g d b <return> <return> q u i t <return> y e s 
<return> M-x l i s t - p r <tab> <return> C-x 5 2 <switch-frame> 
M-x r e p o r t - e m <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
This version of GDB doesn't support non-stop mode.  Turning it off.

Load-path shadows:
None found.

-- 
Hannu





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

end of thread, other threads:[~2012-04-20  6:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-14 20:54 bug#4437: 23.1.50; Quitting gdb leaves a process behind Hannu Koivisto
2009-09-16  2:00 ` Nick Roberts
2009-09-18 12:44   ` Hannu Koivisto
2009-09-22  5:36     ` Nick Roberts
2012-04-20  6:40 ` Chong Yidong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.