git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] tests: make SANITIZE=address imply TEST_NO_MALLOC_CHECK

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 11, 2022, 19:11 UTC
Message-ID
<xmqqtuazh1uw.fsf@gitster.g>
In-Reply-To
<pull.1210.git.1649507317350.gitgitgadget@gmail.com>
"Phillip Wood via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 6 quoted lines
> From: Phillip Wood <phillip.wood@dunelm.org.uk>
>
> As the address sanitizer checks for a superset of the issues detected
> by setting MALLOC_CHECK_ (which tries to detect things like double
> frees and off-by-one errors) there is no need to set the latter when
> compiling with -fsanitize=address.
Very good idea.
>     I'm submitting this now as it fixes a regression introduced in the
>     current cycle. Having said that there is an easy workaround (once one
>     has discovered GIT_TEST_NO_MALLOC_CHECK) so I'd be happy to wait until
>     the start of the next cycle given I've just missed -rc1.

Yeah, if this patch were broken, we'd be in worse place than we currently are, so I'd rather not fast-track it. I will queue it in 'seen' and possibly merge to 'next' as it is a good idea to avoid using both at the same time, though.

Thanks.
Previous: Phillip Wood via GitGitGadgetNext: Ævar Arnfjörð Bjarmason
Message 2 of 5 in “tests: make SANITIZE=address imply TEST_NO_MALLOC_CHECK”
  1. tests: make SANITIZE=address imply TEST_NO_MALLOC_CHECKPhillip Wood via GitGitGadget, Apr 9, 2022
  2. Junio C HamanoApr 11, 2022
  3. Ævar Arnfjörð BjarmasonApr 11, 2022
  4. Junio C HamanoApr 11, 2022
  5. Ævar Arnfjörð BjarmasonApr 12, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.