I wrote some stupid program like below and got similar back trace..
main() { char *src = 0; char *dst = malloc(1024);
memcpy(dst, src, 1024); }
Program received signal SIGSEGV, Segmentation fault. memcpy () at ../sysdeps/i386/i686/memcpy.S:75 75 ../sysdeps/i386/i686/memcpy.S: No such file or directory. in ../sysdeps/i386/i686/memcpy.S Current language: auto; currently asm (gdb) bt full #0 memcpy () at ../sysdeps/i386/i686/memcpy.S:75 No locals. #1 0x08048340 in ?? () No locals. #2 0xb7df2775 in __libc_start_main (main=0x80483f4 <main>, argc=1, ubp_av=0xbfe6c6f4, init=0x8048450 <__libc_csu_init>, fini=0x8048440 <__libc_csu_fini>, rtld_fini=0xb7f5d870 <_dl_fini>, stack_end=0xbfe6c6ec) at libc-start.c:220 result = <value optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1208766476, 134513744, 134513472, -1075394872, 2126369752, 226445256}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0xb7f629b0, 0xb7df269d}, data = {prev = 0x0, cleanup = 0x0, canceltype = -1208604240}}} not_first_call = <value optimized out> #3 0x08048361 in _start () at ../sysdeps/i386/elf/start.S:119 No locals. (gdb) (gdb) info all-registers eax 0x0 0 ecx 0x100 256 edx 0x8048450 134513744 ebx 0xb7f3aff4 -1208766476 esp 0xbfe6c628 0xbfe6c628 ebp 0xbfe6c658 0xbfe6c658 esi 0x0 0 edi 0x84fa008 139436040 eip 0xb7e55896 0xb7e55896 <memcpy+70> eflags 0x210246 [ PF ZF IF RF ID ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 0 (raw 0x00000000000000000000) st5 0 (raw 0x00000000000000000000) st6 0 (raw 0x00000000000000000000) ---Type <return> to continue, or q <return> to quit---
I wrote some stupid program like below and got similar back trace..
main()
{
char *src = 0;
char *dst = malloc(1024);
memcpy(dst, src, 1024);
}
Program received signal SIGSEGV, Segmentation fault. i386/i686/ memcpy. S:75 i386/i686/ memcpy. S: No such file or directory. i386/i686/ memcpy. S i386/i686/ memcpy. S:75 av=0xbfe6c6f4, init=0x8048450 <__libc_csu_init>, 0xb7f5d870 <_dl_fini>, end=0xbfe6c6ec) at libc-start.c:220 i386/elf/ start.S: 119 0000000) 0000000) 0000000) 0000000) 0000000) 0000000) 0000000)
memcpy () at ../sysdeps/
75 ../sysdeps/
in ../sysdeps/
Current language: auto; currently asm
(gdb) bt full
#0 memcpy () at ../sysdeps/
No locals.
#1 0x08048340 in ?? ()
No locals.
#2 0xb7df2775 in __libc_start_main (main=0x80483f4 <main>, argc=1,
ubp_
fini=0x8048440 <__libc_csu_fini>, rtld_fini=
stack_
result = <value optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1208766476, 134513744,
134513472, -1075394872, 2126369752, 226445256}, mask_was_saved = 0}},
priv = {pad = {0x0, 0x0, 0xb7f629b0, 0xb7df269d}, data = {prev = 0x0,
cleanup = 0x0, canceltype = -1208604240}}}
not_first_call = <value optimized out>
#3 0x08048361 in _start () at ../sysdeps/
No locals.
(gdb)
(gdb) info all-registers
eax 0x0 0
ecx 0x100 256
edx 0x8048450 134513744
ebx 0xb7f3aff4 -1208766476
esp 0xbfe6c628 0xbfe6c628
ebp 0xbfe6c658 0xbfe6c658
esi 0x0 0
edi 0x84fa008 139436040
eip 0xb7e55896 0xb7e55896 <memcpy+70>
eflags 0x210246 [ PF ZF IF RF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 0 (raw 0x0000000000000
st1 0 (raw 0x0000000000000
st2 0 (raw 0x0000000000000
st3 0 (raw 0x0000000000000
st4 0 (raw 0x0000000000000
st5 0 (raw 0x0000000000000
st6 0 (raw 0x0000000000000
---Type <return> to continue, or q <return> to quit---