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

Bug#165358: CADP tool crash



On Wed, Oct 23, 2002 at 12:03:42PM -0400, Daniel Jacobowitz wrote:
> On Wed, Oct 23, 2002 at 04:35:55PM +0200, Lukas Hejtmanek wrote:
> > 
> > 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.
> 
> What version was it built with?
> 
> If it was 2.2.5, then 2.3.1-3 should have fixed this; not sure why it
> didn't.

I'm using 2.3.1-3. I do not know against which library it was build but with
2.2.5 it is working.

-- 
Lukáš Hejtmánek



Reply to: