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 gdb/16505] New: internal SIGFPE busy-CPU locks up GDB


https://sourceware.org/bugzilla/show_bug.cgi?id=16505

            Bug ID: 16505
           Summary: internal SIGFPE busy-CPU locks up GDB
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: jan.kratochvil at redhat dot com
              Host: x86_64-unknown-linux-gnu

Created attachment 7372
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7372&action=edit
trivial 1/0 reproducer

When SIGFPE happens in GDB (for example due to corrupted DWARF file):

Actual:
  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
22602 jkratoch  20   0  243188  90680  39960 R  97.3  1.5   0:12.50 gdb
+
GDB under GDB:
Program received signal SIGFPE, Arithmetic exception.
0x00000000007d076e in process_die (die=0x2531c40, cu=0x23d1b80) at
dwarf2read.c:8031
8031    volatile int i=a/b;
(gdb) _

Expected:
../../gdb/dwarf2read.c:8031: internal-error: 
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) _

-- 
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]