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

Bug#38978: oops: strcpy() fails on i386



2.1.2-0pre7 fails the same way, at apparently the same code in strcpy().

All I've tested so far is /sbin/route; I'll experiment some more
later today and post again if I find any others; if that would be
a waste of my time, please tell me.  Thanks.

toe Thu Aug 12 15:27:42 ~$ /sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
Illegal instruction (core dumped)
toe Thu Aug 12 15:27:47 ~$ gdb /sbin/route core
GNU gdb 4.18
...
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...
Core was generated by `/sbin/route'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  0x804a659 in strcpy ()
(gdb) disass
Dump of assembler code for function strcpy:
0x804914c <strcpy>:     jmp    *0x8051fe8
0x8049152 <strcpy+6>:   push   $0x1e0
0x8049157 <strcpy+11>:  jmp    0x8048d7c
0x804915c:      Cannot access memory at address 0x804915c.
(gdb) disass 0x804a659 0x804a65F
Dump of assembler code from 0x804a659 to 0x804a65f:
0x804a659 <strcpy+5389>:        bswap  %ebx
0x804a65b <strcpy+5391>:        mov    0xc(%ebp),%edi
0x804a65e <strcpy+5394>:        mov    %ebx,0x4(%edi)
End of assembler dump.
(gdb) quit

||/ Name            Version        Description
+++-===============-==============-============================================
ii  libc6           2.1.2-0pre7    GNU C Library: Shared libraries and timezone

Linux toe 2.0.36 #1 Tue Jan 12 02:53:45 UTC 1999 i386 unknown


Reply to: