Bug 2843

Summary: Doesn't detect termination of the debugged process, becomes stuck
Product: Sisyphus Reporter: Mikhail Zabaluev <mhz>
Component: gdbAssignee: Gleb F-Malinovskiy <glebfm>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P5 CC: glebfm, ldv, sbolshakov
Version: unstable   
Hardware: all   
OS: Linux   

Description Mikhail Zabaluev 2003-08-16 12:51:52 MSD
When debugging jabberd, a daemon that setuids to user jabber, a peculiar situation was created. I stop the debugged jabberd with its init script. gdb detects SIGTERM, then SIGPIPE to the jabberd process. Then, when I try to quit, the following dialog occurs:

(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/sbin/jabberd, process 26851
ptrace: No such process.

Only killing gdb would help after this.



Comment 1 Dmitry V. Levin 2004-04-06 17:32:11 MSD
Should be fixed in new gdb, please reopen if not.