|
From: Mark P. <pro...@ac...> - 2005-02-15 19:23:20
|
Hi .. Under FreeBSD, valgrind works fine, though it is not exiting at program termination. It doesn't take signals, like ^C ^D ^Z, to say stop. I end up killing it. Is there a better way? TIA, -- -mark. (probertm at acm dot org) |
|
From: Dan N. <dn...@al...> - 2005-02-15 22:33:03
|
Mark Probert wrote: > Under FreeBSD, valgrind works fine, though it is not exiting at program > termination. It doesn't take signals, like ^C ^D ^Z, to say stop. I end up > killing it. > > Is there a better way? You didn't mention which version of FreeBSD, or valgrind :) If you hit ^T, do you see [umtx] ? This was due to a #defined constant mismatch between the kernel and valgrind. The value of UMTX_DEFINED changed, but valgrind didn't realize it. If you're using the valgrind-352_3 port (or valgrind-snapshot-352_3), you should be okay. -- Dan Nelson dn...@al... |
|
From: Nicholas N. <nj...@cs...> - 2005-02-15 23:31:46
|
On Tue, 15 Feb 2005, Dan Nelson wrote: > This was due to a #defined constant mismatch between the kernel and valgrind. > The value of UMTX_DEFINED changed, but valgrind didn't realize it. If you're > using the valgrind-352_3 port (or valgrind-snapshot-352_3), you should be > okay. Which versions are these -- FreeBSD ports? Where are they from? The Valgrind site points to www.rabson.org as the place to go for the Valgrind FreeBSD port, but that address has not worked for some time now. N |
|
From: Dan N. <dn...@al...> - 2005-02-15 23:50:33
|
In the last episode (Feb 15), Nicholas Nethercote said: > On Tue, 15 Feb 2005, Dan Nelson wrote: > >This was due to a #defined constant mismatch between the kernel and > >valgrind. The value of UMTX_DEFINED changed, but valgrind didn't > >realize it. If you're using the valgrind-352_3 port (or > >valgrind-snapshot-352_3), you should be okay. > > Which versions are these -- FreeBSD ports? Where are they from? Yes; http://www.freebsd.org/cgi/ports.cgi?query=valgrind . They're snapshots from Doug Rabson's svn tree (the 352 in the port version is the changeset number). > The Valgrind site points to www.rabson.org as the place to go for the > Valgrind FreeBSD port, but that address has not worked for some time > now. The tarballs are still available from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ ; I don't know what's up with Doug's webserver. -- Dan Nelson dn...@al... |
|
From: Mark P. <pro...@ac...> - 2005-02-16 00:04:14
|
Hi .. On Tuesday 15 February 2005 14:14, Dan Nelson wrote: > > This was due to a #defined constant mismatch between the kernel and > valgrind. The value of UMTX_DEFINED changed, but valgrind didn't > realize it. If you're using the valgrind-352_3 port (or > valgrind-snapshot-352_3), you should be okay. As a follow-up, it looks like I am using the 352_1 port / snapshot. This appears to be the latest that I can get from the ports collection. Would you recommend down-loading the tarball and building from scratch? Thanks, -- -mark. (probertm at acm dot org) |
|
From: Mark P. <pro...@ac...> - 2005-02-16 00:56:46
|
Hi .. On Tuesday 15 February 2005 14:14, Dan Nelson wrote: > > You didn't mention which version of FreeBSD, or valgrind :) > Oops. 15:51 (kant)$ uname -a FreeBSD kant 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Mon Jan 24 15:27:25 PST 2005 mark@kant:/usr/src/sys/i386/compile/UCOM i386 15:52 (kant)$ vgm ==37883== Memcheck, a memory error detector for x86-linux. ==37883== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward. ==37883== Using valgrind-2.1.2.CVS, a program supervision framework for x86-linux. ==37883== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward. > If you hit ^T, do you see [umtx] ? > load: 0.00 cmd: valgrind 37883 [umtx] 0.59u 0.18s 1% 8488k > This was due to a #defined constant mismatch between the kernel and > valgrind. The value of UMTX_DEFINED changed, but valgrind didn't > realize it. If you're using the valgrind-352_3 port (or > valgrind-snapshot-352_3), you should be okay. Hmmm .. looks like my snapshot is out of date. I'll rebuild and try again. Thanks, -- -mark. (probertm at acm dot org) |