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/20668] New: Program received signal SIGILL, Illegal instruction.


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

            Bug ID: 20668
           Summary: Program received signal SIGILL, Illegal instruction.
           Product: gdb
           Version: 7.10.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: ranjan.winner at gmail dot com
  Target Milestone: ---

Created attachment 9553
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9553&action=edit
Test-Case

'Illegal Instruction' is observed with trivial "helloworld" multithreaded
test-case, when we try to debug the binary file with gdb, otherwise with normal
execution it works good only issue is while executing with gdb.

With default tune to ppc64e6500 it works fine. While when we default tune it to
ppce6500. It throws Illegal Instruction error with gdb.

root@dhcp0:~# gdb try1          
GNU gdb (GDB) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-wrsmllib32-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from try1...done.
(gdb) r
Starting program: /root/try1 
reading register r1 (#1): Input/output error.

Program received signal SIGILL, Illegal instruction.
0x00000000 in ?? ()
(gdb) bt
#-1 0x00000000 in ?? ()
(gdb) x/i $pc
/lib32-gdb/7.10.1-r0/gdb-7.10.1/gdb/findvar.c:290: internal-error:
value_of_register_lazy: Assertion `frame_id_p (get_frame_id (frame))' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

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