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

Bug#165358: CADP tool crash



I have cadp tool, that is also statically linked. It crashes on sig segv.
Strace shows that it crashes after it open and mmap /lib/ld_linux.so

open("/lib/ld-linux.so.2", O_RDONLY)    = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=83504, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\v\0\000"..., 4096) = 4
096
brk(0x80f0000)                          = 0x80f0000
old_mmap(NULL, 71424, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4012b000
mprotect(0x4013c000, 1792, PROT_NONE)   = 0
old_mmap(0x4013c000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED, 5, 0x11000)
= 0x4013c000
close(5)                                = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

when it does not crash (with libc 2.2.5) it do munmap after close(5).
I do not have source codes.

Program is statically linked but after start it open its binary then open
libnss_files, libc and ld-linux.so.

-- 
Lukáš Hejtmánek



Reply to: