From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Jeff King <peff@peff.net>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Valgrind updates
Date: Tue, 27 Jan 2009 03:50:48 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.1.00.0901270327200.26199@intel-tinevez-2-302> (raw)
In-Reply-To: <alpine.DEB.1.00.0901212259420.3586@pacific.mpi-cbg.de>
Hi,
it is real late now, so I am uncomfortable sending off a new patch series
(I _know_ that I'll just introduce a stupid bug or forget to write a
commit message or whatever). In case you are interested in the current
progress, you know where my branches are.
The changes I made:
- added t/valgrind/templates to t/.gitignore, too,
- split out the valgrind-unrelated parts that Peff complained about,
- added some more suppressions I needed,
- added a mode whereby the tests' results are written to test-results/,
- provided a Makefile target for further convenience,
- added a script to coalesce the valgrind results by backtrace,
- split out a patch that lets --valgrind imply --verbose, and
- ran the scripts several times, which is a PITA because one run takes 5.5
hours (and the first time I forgot to redirect stderr, ouch, thus the
test-results/ patch).
I have an output from a previous full run, albeit it was done with an
earlier version of the valgrind patch series I was not comfortable with,
so I will not send it here. Besides, it is 300K (bzip2 -9 reduces that to
20K), and I am sure you don't want to have it.
Just that much, most of the backtraces are pretty repetitive. In fact, I
think most if not all of them touch xwrite.c (I got other errors from my
patches, as I expected).
==valgrind== Syscall param write(buf) points to uninitialised byte(s)
==valgrind== at 0x5609E40: __write_nocancel (in /lib/libpthread-2.6.1.so)
==valgrind== by 0x4D0380: xwrite (wrapper.c:129)
==valgrind== by 0x4D046E: write_in_full (wrapper.c:159)
==valgrind== by 0x4C0697: write_buffer (sha1_file.c:2275)
==valgrind== by 0x4C0B1C: write_loose_object (sha1_file.c:2387)
==valgrind== by 0x4C0C4F: write_sha1_file (sha1_file.c:2418)
==valgrind== by 0x46DBB8: update_one (cache-tree.c:348)
==valgrind== by 0x46D8CF: update_one (cache-tree.c:282)
==valgrind== by 0x46DCCA: cache_tree_update (cache-tree.c:373)
==valgrind== by 0x46E2B5: write_cache_as_tree (cache-tree.c:562)
==valgrind== by 0x4662D4: cmd_write_tree (builtin-write-tree.c:36)
==valgrind== by 0x404F37: run_command (git.c:243)
==valgrind== Address 0x713dc23 is 51 bytes inside a block of size 195 alloc'd
==valgrind== at 0x4C2273B: malloc (in /usr/local/lib/valgrind/amd64-linux/vgpreload_memcheck.so)
==valgrind== by 0x4CFFCC: xmalloc (wrapper.c:20)
==valgrind== by 0x4C0A33: write_loose_object (sha1_file.c:2362)
==valgrind== by 0x4C0C4F: write_sha1_file (sha1_file.c:2418)
==valgrind== by 0x46DBB8: update_one (cache-tree.c:348)
==valgrind== by 0x46D8CF: update_one (cache-tree.c:282)
==valgrind== by 0x46DCCA: cache_tree_update (cache-tree.c:373)
==valgrind== by 0x46E2B5: write_cache_as_tree (cache-tree.c:562)
==valgrind== by 0x4662D4: cmd_write_tree (builtin-write-tree.c:36)
==valgrind== by 0x404F37: run_command (git.c:243)
==valgrind== by 0x4050E4: handle_internal_command (git.c:387)
==valgrind== by 0x4051CA: run_argv (git.c:425)
which can be reproduced by running t0000-basic.out in valgrind mode.
Good night, Vietnam,
Dscho
next prev parent reply other threads:[~2009-01-27 2:52 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-19 9:13 What's cooking in git.git (Jan 2009, #04; Mon, 19) Junio C Hamano
2009-01-19 11:54 ` Kjetil Barvik
2009-01-19 13:09 ` Johannes Schindelin
2009-01-19 13:08 ` Johannes Schindelin
2009-01-20 4:44 ` Jeff King
2009-01-20 13:51 ` valgrind patches, was " Johannes Schindelin
2009-01-20 14:19 ` Jeff King
2009-01-20 14:50 ` Johannes Schindelin
2009-01-20 15:04 ` [PATCH 1/2] Add valgrind support in test scripts Johannes Schindelin
2009-01-20 15:05 ` [PATCH 2/2] valgrind: ignore ldso errors Johannes Schindelin
2009-01-21 0:12 ` [PATCH 1/2] Add valgrind support in test scripts Jeff King
2009-01-21 0:41 ` Johannes Schindelin
2009-01-21 1:10 ` [PATCH 1/2 v2] " Johannes Schindelin
2009-01-21 1:11 ` [INTERDIFF of PATCH " Johannes Schindelin
2009-01-21 8:48 ` [PATCH " Junio C Hamano
2009-01-21 12:21 ` Johannes Schindelin
2009-01-21 19:02 ` Jeff King
2009-01-21 20:49 ` Johannes Schindelin
2009-01-21 21:53 ` Jeff King
2009-01-21 22:38 ` Johannes Schindelin
2009-01-25 23:18 ` [PATCH 0/3] Valgrind support Johannes Schindelin
2009-01-25 23:18 ` [PATCH v3 1/3] Add valgrind support in test scripts Johannes Schindelin
2009-01-25 23:29 ` Jeff King
2009-01-25 23:35 ` Johannes Schindelin
2009-01-25 23:42 ` Jeff King
2009-01-25 23:19 ` [PATCH v3 2/3] valgrind: ignore ldso and more libz errors Johannes Schindelin
2009-01-25 23:32 ` Jeff King
2009-01-26 0:02 ` Johannes Schindelin
2009-01-26 0:14 ` Jeff King
2009-01-25 23:20 ` [PATCH 3/3] Valgrind support: check for more than just programming errors Johannes Schindelin
2009-01-25 23:42 ` Jeff King
2009-01-26 0:43 ` Johannes Schindelin
2009-01-21 22:31 ` [PATCH] valgrind tests: be super-super paranoid when creating symlinks Johannes Schindelin
2009-01-20 23:24 ` valgrind patches, was Re: What's cooking in git.git (Jan 2009, #04; Mon, 19) Jeff King
2009-01-21 0:10 ` Johannes Schindelin
2009-01-21 0:15 ` Jeff King
2009-01-21 0:28 ` Johannes Schindelin
2009-01-21 0:37 ` Jeff King
2009-01-21 1:26 ` Johannes Schindelin
2009-01-21 1:36 ` [PATCH 2/2 v2] valgrind: ignore ldso errors Johannes Schindelin
2009-01-21 19:09 ` Jeff King
2009-01-21 20:51 ` Johannes Schindelin
2009-01-21 19:07 ` valgrind patches, was Re: What's cooking in git.git (Jan 2009, #04; Mon, 19) Jeff King
2009-01-21 22:17 ` Johannes Schindelin
2009-01-21 23:57 ` Jeff King
2009-01-22 0:42 ` Junio C Hamano
2009-01-22 0:59 ` Jeff King
2009-01-22 5:02 ` Johannes Schindelin
2009-01-22 5:39 ` Jeff King
2009-01-27 2:50 ` Johannes Schindelin [this message]
2009-01-27 3:38 ` Valgrind updates Linus Torvalds
2009-01-27 4:26 ` Johannes Schindelin
2009-01-27 4:46 ` Johannes Schindelin
2009-01-27 13:14 ` Mark Brown
2009-01-27 16:54 ` Johannes Schindelin
2009-01-27 18:55 ` Linus Torvalds
2009-01-27 21:52 ` Johannes Schindelin
2009-01-29 1:56 ` Linus Torvalds
2009-01-29 14:22 ` Johannes Schindelin
2009-01-28 23:06 ` Mark Adler
2009-01-28 23:27 ` Johannes Schindelin
2009-01-29 0:15 ` Mark Adler
2009-01-29 14:14 ` Johannes Schindelin
2009-01-29 14:54 ` Johannes Schindelin
2009-01-27 4:48 ` Jeff King
2009-01-27 9:31 ` Johannes Schindelin
2009-01-20 4:30 ` What's cooking in git.git (Jan 2009, #04; Mon, 19) Jeff King
2009-01-20 4:40 ` Jeff King
2009-01-20 7:04 ` Junio C Hamano
2009-01-20 7:55 ` Johannes Sixt
2009-01-20 14:18 ` Jeff King
2009-01-20 5:17 ` Boyd Stephen Smith Jr.
2009-01-20 8:57 ` Thomas Rast
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.1.00.0901270327200.26199@intel-tinevez-2-302 \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox