This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/20843] New: GDB consumes 100% cpu after 'attach/inferior call/kill'
- From: "philippe.waroquiers at skynet dot be" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 19 Nov 2016 11:23:52 +0000
- Subject: [Bug cli/20843] New: GDB consumes 100% cpu after 'attach/inferior call/kill'
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20843
Bug ID: 20843
Summary: GDB consumes 100% cpu after 'attach/inferior
call/kill'
Product: gdb
Version: 7.12
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: philippe.waroquiers at skynet dot be
Target Milestone: ---
gdb 7.12 self-compiled on debian 8/amd64.
To reproduce:
* in a window:
sleep 1000
* In another window:
gdb
attach <sleep pid>
p printf("hello world from sleep\n")
kill
After the kill, gdb consumes 100% of cpu.
It still works normally, e.g. typing help
shows the help.
CPU usage goes back to normal if e.g. you do:
run 1
--
You are receiving this mail because:
You are on the CC list for the bug.