[Bug 550457] Re: valgrind confused by gcc?
Matthias Klose
doko at ubuntu.com
Wed Jul 15 08:01:45 UTC 2015
closing this old issue, please re-open if it is still there in new
releases
** Changed in: valgrind (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to valgrind in Ubuntu.
https://bugs.launchpad.net/bugs/550457
Title:
valgrind confused by gcc?
Status in valgrind package in Ubuntu:
Fix Released
Bug description:
Binary package hint: valgrind
1. cd to a directory you can write to
2. make sure git-core and kdbg is installed
3. $ git clone git://v3c.git.sourceforge.net/gitroot/v3c/v3c
4. $ cd v3c
5. $ make release check
6. $ ( cd build/v3c/tests && LD_LIBRARY_PATH=$(cd .. && pwd)/.libs valgrind -v --leak-check=full --show-reachable=yes \
--db-attach=yes --db-command="kdbg -p %p %f" --freelist-vol=10000000 .libs/bit-vector-test; )
7. In the valgrind output, you will see "Conditional jump or move depends on uninitialised value(s)"
8. Type "y<return>" to start the debugger.
Expanding the statements into assembler doesn't help wither.
test %edx,%edx
I can see that edx is being set by the caller.
Plus, valgrind takes about 20 seconds to exit after the program ends.
ProblemType: Bug
Architecture: amd64
Date: Sun Mar 28 20:20:21 2010
DistroRelease: Ubuntu 9.10
Package: valgrind 1:3.5.0-2ubuntu2
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
LANG=en_IE.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
SourcePackage: valgrind
Uname: Linux 2.6.31-20-generic x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/valgrind/+bug/550457/+subscriptions
More information about the foundations-bugs
mailing list