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 cli/20843] New: GDB consumes 100% cpu after 'attach/inferior call/kill'


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.

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