abdul.basitijaz at gmail dot com
2017-12-18 14:22:58 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=22629
Bug ID: 22629
Summary: GDB on MacOS is leaving an orphaned debuggee process
running
Product: gdb
Version: 8.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: abdul.basitijaz at gmail dot com
Target Milestone: ---
GDB on MacOS(10.12.3) is leaving an orphaned debuggee process running on the
system after gdb exits.
Issue can be verified with any cpp executable out file.
To reproduce, compile any cpp program then run it under gdb, then quit gdb
during debugging :
For compilation :
g++ -g -c <ANY_TEST>.cpp
g++ -g <ANY_TEST>.o -o <ANY_TEST>.exe
<ANY_TEST>.exe will be shown that it is still running . So as many times you
perform above steps process will keep adding here
Test Environment info :
macOS 10.12.3
Kernel Version: Darwin 16.4.0
GNU gdb (GDB) 8.0.1
Bug ID: 22629
Summary: GDB on MacOS is leaving an orphaned debuggee process
running
Product: gdb
Version: 8.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: abdul.basitijaz at gmail dot com
Target Milestone: ---
GDB on MacOS(10.12.3) is leaving an orphaned debuggee process running on the
system after gdb exits.
Issue can be verified with any cpp executable out file.
To reproduce, compile any cpp program then run it under gdb, then quit gdb
during debugging :
For compilation :
g++ -g -c <ANY_TEST>.cpp
g++ -g <ANY_TEST>.o -o <ANY_TEST>.exe
gdb
After break point is hit quit the GDB and verify the process listfile <ANY_TEST>.exe
b main
r
b main
r
r or q (for both f these commands GDB shows that inferior process will be killed but it is not getting killed )
ps ax |grep <ANY_TEST>.exeperform above steps process will keep adding here
Test Environment info :
macOS 10.12.3
Kernel Version: Darwin 16.4.0
GNU gdb (GDB) 8.0.1
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.