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

Bug#580210: libc6: valgrind reports error in ld-2.10.2.so: use of uninitialised value



reassign 580210 valgrind
thanks

On Tue, May 04, 2010 at 11:33:29AM +0100, James Youngman wrote:
> Package: libc6
> Version: 2.10.2-6
> Severity: normal
> 
> 
> This bug is not a dupe of #456303, since it doesn't go away if we pass
> --run-libc-freeres=no to Valgrind.
> 
> The problem is that parts of the dynamic linker code are executing
> branch instructions which depend on the value of data (e.g. variables)
> which have not been initialised.  That's precisely the kind of problem
> that Valgrind detects.
> 
> We have a choice of (at least) two options:
> 1. Fix the bug in the dynamic linker
> 2. Shrug and configure valgrind to ignore the problem so that valgrind is 
>    still useful for people's programs.
> 
> Clearly (1) is better but (2) is available for the case where we can't
> fix the bug in the dynamic linker (or upstream refuses the patch,
> etc.)

Looking more in details, it doesn't seems to be any problem in the
dynamic linker. The errors reported are in string comparisons function,
which are optimized. They access data further than the size of the data,
in order to do parallel comparisons, however they always make sure not
to cross a page boundary. Valgrind is not clever enough to understand
this method, so it report the error.

I am therefore reassigning this bug to this package, so that this
problem can be ignored.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: