[distcc] distcc 2.14 bugs in lzo code(?)

Martin Pool mbp at samba.org
Mon Jun 14 23:03:25 GMT 2004


On 13 Jun 2004, Arkadiusz Miskiewicz <arekm at pld-linux.org> wrote:
> On Friday 11 of June 2004 11:36, Arkadiusz Miskiewicz wrote:
> > On Friday 11 of June 2004 04:50, Martin Pool wrote:
> > > By the way, what kernel are you using?
> >
> > 2.6.7rc2 now (and 2.6.6 before)
> >
> > > What happens if you set
> > > DISTCC_MMAP=0?
> >
> > With it set  - no segfault, works fine.
> 
> ==25454== Invalid read of size 1
> ==25454==    at 0x3C114B16: _dl_close (in /lib/libc-2.3.3.so)
> ==25454==    by 0x3C11583A: (within /lib/libc-2.3.3.so)
> ==25454==    by 0x3C00AA35: _dl_catch_error (in /lib/ld-2.3.3.so)
> ==25454==    by 0x3C115764: (within /lib/libc-2.3.3.so)
> ==25454==  Address 0x1EB is not stack'd, malloc'd or (recently) free'd
> ==25454==
> ==25454== Process terminating with default action of signal 11 (SIGSEGV)
> ==25454==  Access not within mapped region at address 0x1EB
> ==25454==    at 0x3C114B16: _dl_close (in /lib/libc-2.3.3.so)
> ==25454==    by 0x3C11583A: (within /lib/libc-2.3.3.so)
> ==25454==    by 0x3C00AA35: _dl_catch_error (in /lib/ld-2.3.3.so)
> ==25454==    by 0x3C115764: (within /lib/libc-2.3.3.so)
> ==25454==
> ==25454== ERROR SUMMARY: 165 errors from 45 contexts (suppressed: 13 from 1)
> ==25454== malloc/free: in use at exit: 3818 bytes in 107 blocks.
> ==25454== malloc/free: 263 allocs, 156 frees, 412103 bytes allocated.
> ==25454== For counts of detected errors, rerun with: -v
> ==25454== searching for pointers to 107 not-freed blocks.
> ==25454== checked 1708080 bytes.

Are these the only two errors it prints out?

> off-by-one somewhere?

Possibly.  Either I'm just being blind or there is some kind of
platform error (compiler, kernel, ...)

-- 
Martin 



More information about the distcc mailing list