On Wed, Mar 11, 2009 at 9:38 AM, Tom Hughes <[email protected]> wrote:
> --20423-- Reading syms from /lib32/libc-2.8.90.so (0x4817000)
> --20423-- Reading debug info from /lib32/libc-2.8.90.so...
> --20423-- ... CRC mismatch (computed 6d0128e6 wanted c7a7bfa4)
> --20423-- Reading debug info from /usr/lib/debug/lib32/libc-2.8.90.so...
>
> all of which means your 32 bit debuginfo packages are not the right ones.
Are you sure? V seems to like the debug symbols read from /usr/lib/debug/lib32,
else there would have been a "CRC mismatch" after each "Reading debug
info", right?
My problem building earlier was because I forgot to rerun autogen.sh.
Builds fine from source now.
I wrote a little test for the problem.
On Ubuntu 8.04, neither 32 nor 64 bit works.
On Ubuntu 8.10, 64 bit works, but 32 bit doesn't.
It's possible I've borked all my own systems somehow.
If you have an Ubuntu 8.10 64 bit x86_64 system with valgrind installed,
could you run this script and let me know what it says?
Thanks...
- Dan
--- snip ---
#!/bin/sh
set -e
set -x
case `uname -m` in
x86_64) ;;
*) echo "This test is for x86_64 machines"; exit 1;;
esac
cat > leak.c <<_EOF_
#include <stdio.h>
#include <malloc.h>
int main(int argc, char **argv)
{
struct addrinfo *ai;
int err = getaddrinfo(NULL, "http", NULL, &ai);
printf("err %d, ai %p\n", err, ai);
}
_EOF_
for size in 64 32
do
gcc -g -m$size leak.c -o leak$size
valgrind --leak-check=full ./leak$size > leak$size.log 2>&1 || true
if ! grep -q "getaddrinfo.c:" leak$size.log
then
echo "No symbolic backtrace in $size bits; do you need to
install libc6-dbg?"
exit 1
fi
done
echo "Worked! No bug found."
--- snip ---
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users