[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ITS#4976 test008 crash with -lmcheck



hyc@symas.com wrote:
> I suspect this is a bug in glibc mcheck's pthread support, since ElectricFence 
> with EF_PROTECT_BELOW set will detect 100% of all memory underruns, and no 
> such error occurs there.
> 
> Also this report (which it seems the original is no longer accessible) implies 
> the same problem with mcheck
> 
> http://www.google.com/search?q=cache:dAqJIBQSNRQJ:groups.google.com/group/gnu.glibc.bug/browse_thread/thread/75457e9a03170b6c/04788f5960166636+glibc+mcheck&hl=en&ct=clnk&cd=18&gl=us
> 
Eh...
Looking at glibc's mcheck code
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/malloc/?cvsroot=glibc
shows that it has no mutex protection at all. It is completely invalid here, 
this ITS will be closed.
-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/