|
From: Manish M. <mma...@sp...> - 2005-10-10 21:57:58
|
Hello, I built the Postgresql database and actually ran the tests for postgres under Valgrind. I am using Fedora Core 3 I am executing the tests like valgrind --tool=memcheck make check "check" is the test target they use to run tests. The output which I got, I think Valgrind was monitoring "make" and not postgresql server against which the tests were ran. Am I doing something wrong? thanks -Manish |
|
From: Nicholas N. <nj...@cs...> - 2005-10-10 22:03:47
|
On Mon, 10 Oct 2005, Manish Marathe wrote: > I built the Postgresql database and actually ran the tests for postgres > under Valgrind. I am using Fedora Core 3 > > I am executing the tests like > > valgrind --tool=memcheck make check > > "check" is the test target they use to run tests. The output which I > got, I think Valgrind was monitoring "make" and not postgresql server > against which the tests were ran. > > Am I doing something wrong? Not reading the FAQ... www.valgrind.org/docs/FAQ/ question 5.1. Nick |
|
From: Madhu M K. <mm...@ya...> - 2005-10-11 00:35:50
|
Hmm: On Mon, 2005-10-10 at 15:03, Nicholas Nethercote wrote: > Not reading the FAQ... > > www.valgrind.org/docs/FAQ/ question 5.1. > 5.1 returns a 404. Is it just me or do all of the non inlined FAQ entries return 404s? Cheerio, M -- Madhu M Kurup /* Nemo Me Impune Lacessit */ mmk at yahoo-inc dt com |
|
From: Nicholas N. <nj...@cs...> - 2005-10-11 02:01:09
|
On Mon, 10 Oct 2005, Manish Marathe wrote: > Ya, thanks for that, and now when I did like: > > valgrind --tool=memcheck --trace-children=yes make check > > I got something like: > ==26684== [...] > ==26684== Invalid read of size 1 > ==26684== at 0x8055270: (within /usr/bin/make)<-------------------------------------- still says within /usr/bin/make > ==26684== by 0x1B925E32: __libc_start_main (in /lib/tls/libc-2.3.3.so) > ==26684== by 0x80498F0: (within /usr/bin/make) > ==26684== Address 0x52C00000 is not stack'd, malloc'd or (recently) free'd > > Now here it actually enters the directory where pgsql was checked out > but still says "within /usr/bin/make". Does it always name the parent > process or is this something else. I expect make is calling itself recursively. If postgresql has errors they should be reported as being in postgresql. If you run with -v you can look for "Command line" in the output to see the names of the processes being run. Nick |