Web lists-archives.com

Re: One failed self test on Fedora 29




On Fri, Mar 8, 2019 at 12:43 PM Todd Zullinger <tmz@xxxxxxxxx> wrote:
>
> Jeffrey Walton wrote:
> > Fedora 29, x86_64. One failed self test:
> >
> > *** t0021-conversion.sh ***
> [...]
> > not ok 13 - disable filter with empty override
> > #
> > #               test_config_global filter.disable.smudge false &&
> > #               test_config_global filter.disable.clean false &&
> > #               test_config filter.disable.smudge false &&
> > #               test_config filter.disable.clean false &&
> > #
> > #               echo "*.disable filter=disable" >.gitattributes &&
> > #
> > #               echo test >test.disable &&
> > #               git -c filter.disable.clean= add test.disable 2>err &&
> > #               test_must_be_empty err &&
> > #               rm -f test.disable &&
> > #               git -c filter.disable.smudge= checkout -- test.disable 2>err &&
> > #               test_must_be_empty err
> > #
> [...]
> > # failed 1 among 26 test(s)
> > 1..26
> > gmake[2]: *** [Makefile:56: t0021-conversion.sh] Error 1
> >
> > Does anyone need a config.log or other test data?
>
> It would probably help to know what commit you're building.
> The verbose test output would also be useful, e.g.:

I built with CFLAGS += -fsanitize=undefined. It looks like the
misaligned accesses generate UBsan findings, which is causing
t0021-conversion to fail.

git-2.21.0$ grep -IR 'runtime error'
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:392:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:397:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:402:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:407:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:412:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:417:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:422:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:427:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:432:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:437:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:442:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:447:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:452:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:457:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:462:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:467:2: runtime
error: load of misaligned address 0x0000024fc245 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:392:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:397:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:402:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:407:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:412:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:417:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:422:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:427:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:432:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:437:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:442:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:447:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:452:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:457:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:462:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/git-stderr.log:sha1dc/sha1.c:467:2:
runtime error: load of misaligned address 0x000001a39cf5 for type
'const uint32_t', which requires 4 byte alignment