Summary: | sys-libs/glibc-2.3.5 +valgrind: jump or move depends on uninitialised value(s) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo> |
Component: | [OLD] Library | Assignee: | Maurice van der Pot (RETIRED) <griffon26> |
Status: | RESOLVED INVALID | ||
Severity: | minor | CC: | ladanyi |
Priority: | High | ||
Version: | 2005.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
DEMAINE Benoît-Pierre, aka DoubleHP
2005-06-08 04:55:29 UTC
> -1- can you feedback upstream about that ? Upstream probably knows about those already. See below. > -2- is there a workaround to ask valgrind NOT show warnings for the particular library ld.so ? Yes, that's possible. Look into suppression files: http://valgrind.org/docs/manual/coregrind_core.html#suppress > -3- is there a workaround ? Here are 2 of them: 1) Do not strip glibc. Valgrind comes with several default suppression files for glibc likely to mask the issues you see. The only problem is that those suppression files need function names in backtraces in order to suppress something properly. Stripping debugging info from glibc gives you backtraces without function names. 2) Create your own suppression file and use that with valgrind. The documentation tells you how to do this. You may however be masking other problems if you go for a suppression as general as "anything in ld-2.3.5.so". I'll mark this report INVALID, since stripping glibc obviously makes it impossible for valgrind to suppress the right messages. If you disagree, please let me know. yes I desagree because the errors reported are about from memory: jump deponds on uninitialised variable. this means the glib can have unpredictable behaviour ... and valgrind shows up a potential bug due to bad-coding. valgrind only reveal 'problems' ... if code were clean, it would not complain. I think you should mail upstream. maybe those warnings are non fatal to me ... maybe they ll make crash other applications soon. |