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


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

--- Comment #1 from martin <ranjan.winner at gmail dot com> ---
Core Dump analysis:

root@dhcp0:~# gdb 
...... 
...... 
(gdb) file /root/try1 
Reading symbols from /root/try1...done. 
(gdb) core-file /root/core.394 
[New LWP 394] 
warning: Could not load shared library symbols for linux-vdso32.so.1. 
Do you need "set solib-search-path" or "set sysroot"? 
Core was generated by `/root/try1'. 
Program terminated with signal SIGILL, Illegal instruction. 
#0 0xf7fcefd0 in _dl_debug_state () from /lib/ld.so.1 
(gdb) bt 
#0 0xf7fcefd0 in _dl_debug_state () from /lib/ld.so.1 
#1 0xf7fc21e4 in ?? () from /lib/ld.so.1 
Backtrace stopped: Cannot access memory at address 0xffffea04 
(gdb) info sharedlibrary 
>From To Syms Read Shared Object Library 
0xf7fc0100 0xf7fdc030 Yes (*) /lib/ld.so.1 
                        No linux-vdso32.so.1 
(*): Shared library is missing debugging information. 

(gdb) disas 0xf7fcefd0, 0xf7fcf01a 
Dump of assembler code from 0xf7fcefd0 to 0xf7fcf01a: 
=> 0xf7fcefd0 <_dl_debug_state+0>:      .long 0x0 
   0xf7fcefd4:  twge r2,r2 
   0xf7fcefd8:  nop 
   0xf7fcefdc:  nop 
   0xf7fcefe0:  stwu r1,-32(r1) 
   0xf7fcefe4:  cmpwi r4,0 
   0xf7fcefe8:  mflr r12 
   0xf7fcefec:  bcl 20,4*cr7+so,0xf7fceff0 
   0xf7fceff0:  stw r30,24(r1) 
   0xf7fceff4:  mflr r30 
   0xf7fceff8:  addis r30,r30,3 
   0xf7fceffc:  mtlr r12 
   0xf7fcf000:  addi r30,r30,-4096 
   0xf7fcf004:  beq- 0xf7fcf060 
   0xf7fcf008:  mulli r9,r4,76 
   0xf7fcf00c:  lwz r10,-72(r30) 
   0xf7fcf010:  add r9,r10,r9 
   0xf7fcf014:  addi r9,r9,56 
   0xf7fcf018:  lwz r10,4(r9) 
End of assembler dump. 

If we take disassemble in below range 

(gdb) disas 0xf7fcefd0, 0xf7fcf21e4 
=> ......................... 
   ......................... 
    0xf7fe04dc: .long 0x47c 
   0xf7fe04e0:  .long 0xffffbab0 
   0xf7fe04e4:  .long 0xa0 
   0xf7fe04e8:  .long 0x5a0941 
   0xf7fe04ec:  .long 0x440641 
   0xf7fe04f0:  .long 0x0 
   ..................... 
   ..................... 
   0xf7fe0fdc:  .long 0x0 
   0xf7fe0fe0:  .long 0x0 
   0xf7fe0fe4:  .long 0x0 
   0xf7fe0fe8:  .long 0x0 
   0xf7fe0fec:  .long 0x0 
   0xf7fe0ff0:  .long 0x0 
   0xf7fe0ff4:  .long 0x0 
   0xf7fe0ff8:  .long 0x0 
   0xf7fe0ffc:  .long 0x0 
   0xf7fe1000:  Cannot access memory at address 0xf7fe1000 
(gdb)

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