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

t4068 test failure with -fsanitize=address

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Jul 7, 2020, 23:54 UTC
Message-ID
<20200707235436.GH9782@camp.crustytoothpaste.net>

I was kicking off a build on a cloud instance for the final series of my SHA-256 work and I noticed that t4068 fails with -fsanitize=address using Debian's GCC 9.3.0-14 (the version in unstable). It has failed since the test was introduced and currently fails on the latest HEAD.

I haven't had time to look at it, but I thought I'd pass the information on so we can get it fixed before the release. I'll take a look if nobody else gets to it first, but it may be a few days.

Reproduction steps:
  printf 'DEVELOPER=1\nDC_SHA1=1\nBLK_SHA256=1\nSANITIZE=address\n' >config.mak
  make -j6 all && (cd t && ./t4068-*.sh --verbose)
Output with --verbose:
expecting success of 4068.4 'diff with no merge bases':
        test_must_fail git diff br2...br3 >tmp 2>err &&
        test_i18ngrep "fatal: br2...br3: no merge base" err

test_must_fail: died by signal 6: git diff br2...br3 not ok 4 - diff with no merge bases # # test_must_fail git diff br2...br3 >tmp 2>err && # test_i18ngrep "fatal: br2...br3: no merge base" err #

-- 
brian m. carlson: Houston, Texas, US
Next: Jeff King
Message 1 of 4 in “t4068 test failure with -fsanitize=address”
  1. brian m. carlsonJul 7, 2020
  2. diff: check for merge bases before assigning sym->baseJeff King, Jul 8, 2020
  3. Chris TorekJul 8, 2020
  4. Jeff KingJul 9, 2020

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.