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

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



Well, it looks like your change didn't catch them all, e.g.
it fails in strcpy() when I run /sbin/route with no arguments:

toe:~# /sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
Illegal instruction (core dumped)

toe:~# gdb /sbin/route core
GNU gdb 4.18
Copyright 1998 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 "i686-pc-linux-gnu"...(no debugging symbols found)...
Core was generated by `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...(no debugging symbols found)...done.
#0  0x804a669 in strcpy ()
(gdb) disassemble
Dump of assembler code for function strcpy:
0x8049154 <strcpy>:     jmp    *0x8052008
0x804915a <strcpy+6>:   push   $0x1e0
0x804915f <strcpy+11>:  jmp    0x8048d84
0x8049164:      Cannot access memory at address 0x8049164.
(gdb) disassemble 0x804a669 0x804a700
Dump of assembler code from 0x804a669 to 0x804a700:
0x804a669 <strcpy+5397>:        bswap  %ebx
0x804a66b <strcpy+5399>:        mov    0xc(%ebp),%edi
0x804a66e <strcpy+5402>:        mov    %ebx,0x4(%edi)
0x804a671 <strcpy+5405>:        sub    0x8(%ebp),%esi
0x804a674 <strcpy+5408>:        mov    %esi,%eax
...


Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name            Version        Description
+++-===============-==============-============================================
ii  libc6           2.1.1-13       GNU C Library: Shared libraries and timezone

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


Write if I can help in any way.


Reply to: