All pastes #342448 Raw Edit

Someone

public text v1 · immutable
·published 2007-02-06 09:24 UTC
rendered paste body
$ /usr/local/bin/file -v
file-4.19
magic file from /usr/local/share/file/magic
$ gdb -q /usr/local/bin/file 
(gdb) r new.file.1302009 
Starting program: /usr/local/bin/file new.file.1302009

Program received signal SIGSEGV, Segmentation fault.
0x2814a026 in memcpy () from /lib/libc.so.6
(gdb) bt
#0  0x2814a026 in memcpy () from /lib/libc.so.6
#1  0x28147e90 in __sfvwrite () from /lib/libc.so.6
#2  0x2813db42 in strchr () from /lib/libc.so.6
#3  0xbfbfe200 in ?? ()
#4  0x28153edc in sys_nerr () from /lib/libc.so.6
#5  0x2813db1b in strchr () from /lib/libc.so.6
#6  0xfffffff7 in ?? ()
#7  0xbfbfe238 in ?? ()
#8  0x281400e7 in __vfprintf () from /lib/libc.so.6
Previous frame identical to this frame (corrupt stack?)
(gdb) x/i $pc
0x2814a026 <memcpy+30>: repz movsl %ds:(%esi),%es:(%edi)
(gdb) i r
eax            0x8092ff0        134819824
ecx            0x3      3
edx            0x1e     30
ebx            0x28158508       672498952
esp            0xbfbfdb34       0xbfbfdb34
ebp            0xbfbfdb78       0xbfbfdb78
esi            0x28082fb0       671625136
edi            0x8093000        134819840
eip            0x2814a026       0x2814a026
eflags         0x10213  66067
cs             0x33     51
ss             0x3b     59
ds             0x3b     59
es             0x3b     59
fs             0x3b     59
gs             0x1b     27
(gdb)