[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#180619: Illegal instruction in /lib/libpthread-0.10.so on linux/mipsel



Package: libc6
Version: 2.3.1-11
Severity: critical
Justification: breaks the whole system

# cat /proc/cpuinfo 
system type             : Digital DECstation 5000/1xx
processor               : 0
cpu model               : R3000A V3.0  FPU V4.0
BogoMIPS                : 19.82
byteorder               : little endian
wait instruction        : no
microsecond timers      : no
tlb_entries             : 64
extra interrupt vector  : no
hardware watchpoint     : no
VCED exceptions         : not available
VCEI exceptions         : not available
ll emulations           : 0
sc emulations           : 0

# /bin/ls     
Illegal instruction

# gdb /bin/ls 
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "mipsel-linux"...(no debugging symbols found)...
(gdb) run
Starting program: /bin/ls 
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGILL, Illegal instruction.
0x2ad2513c in __pthread_alt_lock () from /lib/libpthread.so.0
(gdb) disassemble 
Dump of assembler code for function __pthread_alt_lock:
0x2ad250e4 <__pthread_alt_lock>:        lui     gp,0x5
0x2ad250e8 <__pthread_alt_lock+4>:      addiu   gp,gp,-5620
0x2ad250ec <__pthread_alt_lock+8>:      addu    gp,gp,t9
0x2ad250f0 <__pthread_alt_lock+12>:     addiu   sp,sp,-56
0x2ad250f4 <__pthread_alt_lock+16>:     sw      gp,16(sp)
0x2ad250f8 <__pthread_alt_lock+20>:     sw      s1,44(sp)
0x2ad250fc <__pthread_alt_lock+24>:     sw      ra,52(sp)
0x2ad25100 <__pthread_alt_lock+28>:     move    s1,a0
0x2ad25104 <__pthread_alt_lock+32>:     sw      gp,48(sp)
0x2ad25108 <__pthread_alt_lock+36>:     sw      s0,40(sp)
0x2ad2510c <__pthread_alt_lock+40>:     move    a0,a1
0x2ad25110 <__pthread_alt_lock+44>:     lw      s0,0(s1)
0x2ad25114 <__pthread_alt_lock+48>:     nop
0x2ad25118 <__pthread_alt_lock+52>:     beqz        s0,0x2ad25130 <__pthread_alt_lock+76>
0x2ad2511c <__pthread_alt_lock+56>:     li      v0,1
0x2ad25120 <__pthread_alt_lock+60>:     beqz        a0,0x2ad25194 <__pthread_alt_lock+176>
0x2ad25124 <__pthread_alt_lock+64>:     nop
0x2ad25128 <__pthread_alt_lock+68>:     sw      a0,28(sp)
0x2ad2512c <__pthread_alt_lock+72>:     addiu   v0,sp,24
0x2ad25130 <__pthread_alt_lock+76>:     sw      zero,32(sp)
0x2ad25134 <__pthread_alt_lock+80>:     sw      s0,24(sp)
0x2ad25138 <__pthread_alt_lock+84>:     ll      v1,0(s1)
0x2ad2513c <__pthread_alt_lock+88>:     bne v1,s0,0x2ad25154 <__pthread_alt_lock+112>
0x2ad25140 <__pthread_alt_lock+92>:     move    a1,zero
0x2ad25144 <__pthread_alt_lock+96>:     move    a1,v0
0x2ad25148 <__pthread_alt_lock+100>:    sc      a1,0(s1)
0x2ad2514c <__pthread_alt_lock+104>:    beqz        a1,0x2ad25138 <__pthread_alt_lock+84>
0x2ad25150 <__pthread_alt_lock+108>:    nop
0x2ad25154 <__pthread_alt_lock+112>:    beqz        a1,0x2ad25110 <__pthread_alt_lock+44>
0x2ad25158 <__pthread_alt_lock+116>:    nop
0x2ad2515c <__pthread_alt_lock+120>:    bnez        s0,0x2ad25178 <__pthread_alt_lock+148>
0x2ad25160 <__pthread_alt_lock+124>:    nop
0x2ad25164 <__pthread_alt_lock+128>:    lw      ra,52(sp)
0x2ad25168 <__pthread_alt_lock+132>:    lw      s1,44(sp)
0x2ad2516c <__pthread_alt_lock+136>:    lw      s0,40(sp)
0x2ad25170 <__pthread_alt_lock+140>:    jr      ra
0x2ad25174 <__pthread_alt_lock+144>:    addiu   sp,sp,56
0x2ad25178 <__pthread_alt_lock+148>:    lw      t9,-32668(gp)
0x2ad2517c <__pthread_alt_lock+152>:    nop
0x2ad25180 <__pthread_alt_lock+156>:    jalr    t9
0x2ad25184 <__pthread_alt_lock+160>:    nop
0x2ad25188 <__pthread_alt_lock+164>:    lw      gp,16(sp)
0x2ad2518c <__pthread_alt_lock+168>:    b   0x2ad25164 <__pthread_alt_lock+128>
0x2ad25190 <__pthread_alt_lock+172>:    nop
0x2ad25194 <__pthread_alt_lock+176>:    lw      t9,-32728(gp)
0x2ad25198 <__pthread_alt_lock+180>:    nop
0x2ad2519c <__pthread_alt_lock+184>:    addiu   t9,t9,-10712
0x2ad251a0 <__pthread_alt_lock+188>:    nop
0x2ad251a4 <__pthread_alt_lock+192>:    jalr    t9
0x2ad251a8 <__pthread_alt_lock+196>:    nop
0x2ad251ac <__pthread_alt_lock+200>:    lw      gp,16(sp)
0x2ad251b0 <__pthread_alt_lock+204>:    b   0x2ad25128 <__pthread_alt_lock+68>
0x2ad251b4 <__pthread_alt_lock+208>:    move    a0,v0
End of assembler dump.
(gdb) quit                                                                                     


-- System Information:
Debian Release: testing/unstable
Architecture: mipsel
Kernel: Linux jalr 2.4.17-r3k-kn02 #1 Wed May 1 11:32:22 UTC 2002 mips
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl
-- 
Herbert Valerio Riedel <hvr@se-linux.ifs.tuwien.ac.at>
SE/Linux LU




Reply to: