Skip to content

linux/arm64 fails csmith test -s 15682870601789034028

https://gitlab.com/cznic/builder/-/blob/8b54778efee49b942f419c253a5deb9b4efa338e/logs/modernc.org/qbecc/lib/pi64

go1.25.1 linux/arm64
2025-10-03T00:14:04+02:00 commit cc7d4423bc8a500e7e8dd1518eb523a00e929d46, GOMAXPROCS 4, GOGC "", GOMEMLIMIT "", CC ""
go: downloading modernc.org/libqbe v0.4.0
Building static library libz.a version 1.2.11 with qbecc.
Checking for size_t... Yes.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
qbecc -O -D_LARGEFILE64_SOURCE=1 -I. -c -o example.o test/example.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o adler32.o adler32.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o crc32.o crc32.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o deflate.o deflate.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o infback.o infback.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o inffast.o inffast.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o inflate.o inflate.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o inftrees.o inftrees.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o trees.o trees.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o zutil.o zutil.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o compress.o compress.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o uncompr.o uncompr.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o gzclose.o gzclose.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o gzlib.o gzlib.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o gzread.o gzread.c
qbecc -O -D_LARGEFILE64_SOURCE=1  -c -o gzwrite.o gzwrite.c
ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o 
qbecc -O -D_LARGEFILE64_SOURCE=1 -o example example.o -L. libz.a
qbecc -O -D_LARGEFILE64_SOURCE=1 -I. -c -o minigzip.o test/minigzip.c
qbecc -O -D_LARGEFILE64_SOURCE=1 -o minigzip minigzip.o -L. libz.a
qbecc -O -D_LARGEFILE64_SOURCE=1 -I. -D_FILE_OFFSET_BITS=64 -c -o example64.o test/example.c
qbecc -O -D_LARGEFILE64_SOURCE=1 -o example64 example64.o -L. libz.a
qbecc -O -D_LARGEFILE64_SOURCE=1 -I. -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o test/minigzip.c
qbecc -O -D_LARGEFILE64_SOURCE=1 -o minigzip64 minigzip64.o -L. libz.a
hello world
zlib version 1.2.11 = 0x12b0, compile flags = 0xa9
uncompress(): hello, hello!
gzread(): hello, hello!
gzgets() after gzseek:  hello!
inflate(): hello, hello!
large_inflate(): OK
after inflateSync(): hello, hello!
inflate with dictionary: hello, hello!
		*** zlib test OK ***
hello world
zlib version 1.2.11 = 0x12b0, compile flags = 0xa9
uncompress(): hello, hello!
gzread(): hello, hello!
gzgets() after gzseek:  hello!
inflate(): hello, hello!
large_inflate(): OK
after inflateSync(): hello, hello!
inflate with dictionary: hello, hello!
		*** zlib 64-bit test OK ***
--- FAIL: TestCSmith (1380.86s)
    all_test.go:691: using C compiler at /usr/bin/cc
    all_test.go:692: valgrind: /usr/bin/valgrind
    all_test.go:773: C EXEC FAIL: args=--max-nested-struct-level 10 --no-const-pointers --no-consts --no-packed-struct --no-volatile-pointers --no-volatiles --paranoid -s 15682870601789034028 # err=signal: aborted
    all_test.go:775: files=0 gcc fails=42 skipped=0 failed=1 passed=271
FAIL
exit status 1
FAIL	modernc.org/qbecc/lib	2268.837s

FAIL err=exit status 1```