Bruno Haible <[email protected]> writes:

> Hi Collin,
>
>> Thanks for the review. I pushed the patches with that change to the
>> manual and Bruno's formatting suggestions.
>
> Now, both the Gnulib CI and the coreutils CI builds fail in the
> "make check with sanitizers" configuration.
>
> FAIL: test-getdelim
> ===================
>
> ../../gnulib-tests/test-getdelim.c:91: assertion 'line[0] == '\0'' failed
> FAIL test-getdelim (exit status: 134)
>
> FAIL: test-getline
> ==================
>
> ../../gnulib-tests/test-getline.c:91: assertion 'line[0] == '\0'' failed
> FAIL test-getline (exit status: 134)
>
> Both REPLACE_GETDELIM and REPLACE_GETLINE are 1. What is going on?

Interesting. Here is what I see on my machine:

    $ gnulib-tool --create-testdir --dir testdir1 getdelim getline
    $ cd testdir1
    $ ./configure CFLAGS='-fsanitize=address,undefined' && make check
    $ # TOTAL: 39
    $ # PASS:  39

I'll look into the CI failures later today. Maybe I am missing a configuration.

Collin

Reply via email to