On SUSE's OpenBuildService, the gnulib test 'test-tls' fails for a while on i586 and x64_64. That test fails both on the OBS server [1] and during a local 'osc build'.
[1] https://build.opensuse.org/package/live_build_log/Base:System/coreutils-testsuite/openSUSE_Factory/x86_64 The problem is that I can't track it down: when run via strace, gdb or with libasan, the test succeeds. Any hints? Thanks & have a nice day, Berny abuild@susi:/home/abuild/rpmbuild/BUILD/coreutils-8.22/gnulib-tests> make test-tls V=1 gcc -std=gnu99 -I. -I../lib -DIN_COREUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../lib -I./../lib `test -n '' && echo ' -Wno-bad-function-cast'` -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -c -o test_tls-test-tls.o `test -f 'test-tls.c' || echo './'`test-tls.c gcc -std=gnu99 `test -n '' && echo ' -Wno-bad-function-cast'` -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -o test-tls test_tls-test-tls.o libtests.a ../lib/libcoreutils.a libtests.a -lpthread -lrt abuild@susi:/home/abuild/rpmbuild/BUILD/coreutils-8.22/gnulib-tests> ./test-tls Starting test_tls ...*** Error in `./test-tls': free(): invalid pointer: 0x00007f9fbc0008c0 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7406f)[0x7f9fc332806f] /lib64/libc.so.6(+0x7989e)[0x7f9fc332d89e] /lib64/libpthread.so.0(+0x7ee2)[0x7f9fc3667ee2] /lib64/libpthread.so.0(+0x813e)[0x7f9fc366813e] /lib64/libc.so.6(clone+0x6d)[0x7f9fc339bd6d] ======= Memory map: ======== 00400000-00402000 r-xp 00000000 08:02 680665 /home/abuild/rpmbuild/BUILD/coreutils-8.22/gnulib-tests/test-tls 00601000-00602000 r--p 00001000 08:02 680665 /home/abuild/rpmbuild/BUILD/coreutils-8.22/gnulib-tests/test-tls 00602000-00603000 rw-p 00002000 08:02 680665 /home/abuild/rpmbuild/BUILD/coreutils-8.22/gnulib-tests/test-tls 01944000-01965000 rw-p 00000000 00:00 0 [heap] 7f9faeff6000-7f9faeff7000 ---p 00000000 00:00 0 7f9faeff7000-7f9faf7f7000 rw-p 00000000 00:00 0 [stack:4339] 7f9faf7f7000-7f9faf7f8000 ---p 00000000 00:00 0 7f9faf7f8000-7f9fafff8000 rw-p 00000000 00:00 0 [stack:4338] 7f9fafff8000-7f9fafff9000 ---p 00000000 00:00 0 7f9fafff9000-7f9fb07f9000 rw-p 00000000 00:00 0 [stack:4337] 7f9fb07f9000-7f9fb07fa000 ---p 00000000 00:00 0 7f9fb07fa000-7f9fb0ffa000 rw-p 00000000 00:00 0 [stack:4336] 7f9fb0ffa000-7f9fb0ffb000 ---p 00000000 00:00 0 7f9fb0ffb000-7f9fb17fb000 rw-p 00000000 00:00 0 [stack:4335] 7f9fb17fb000-7f9fb17fc000 ---p 00000000 00:00 0 7f9fb17fc000-7f9fb1ffc000 rw-p 00000000 00:00 0 [stack:4334] 7f9fb1ffc000-7f9fb1ffd000 ---p 00000000 00:00 0 7f9fb1ffd000-7f9fb27fd000 rw-p 00000000 00:00 0 [stack:4333] 7f9fb27fd000-7f9fb27fe000 ---p 00000000 00:00 0 7f9fb27fe000-7f9fb2ffe000 rw-p 00000000 00:00 0 [stack:4332] 7f9fb2ffe000-7f9fb2fff000 ---p 00000000 00:00 0 7f9fb2fff000-7f9fb37ff000 rw-p 00000000 00:00 0 [stack:4331] 7f9fb37ff000-7f9fb3800000 ---p 00000000 00:00 0 7f9fb3800000-7f9fb4000000 rw-p 00000000 00:00 0 [stack:4330] 7f9fb4000000-7f9fb4021000 rw-p 00000000 00:00 0 7f9fb4021000-7f9fb8000000 ---p 00000000 00:00 0 7f9fb8000000-7f9fb8021000 rw-p 00000000 00:00 0 7f9fb8021000-7f9fbc000000 ---p 00000000 00:00 0 7f9fbc000000-7f9fbc021000 rw-p 00000000 00:00 0 7f9fbc021000-7f9fc0000000 ---p 00000000 00:00 0 7f9fc0097000-7f9fc00ad000 r-xp 00000000 08:02 536975 /lib64/libgcc_s.so.1 7f9fc00ad000-7f9fc02ac000 ---p 00016000 08:02 536975 /lib64/libgcc_s.so.1 7f9fc02ac000-7f9fc02ad000 r--p 00015000 08:02 536975 /lib64/libgcc_s.so.1 7f9fc02ad000-7f9fc02ae000 rw-p 00016000 08:02 536975 /lib64/libgcc_s.so.1 7f9fc02ae000-7f9fc02af000 ---p 00000000 00:00 0 7f9fc02af000-7f9fc0aaf000 rw-p 00000000 00:00 0 7f9fc0aaf000-7f9fc0ab0000 ---p 00000000 00:00 0 7f9fc0ab0000-7f9fc12b0000 rw-p 00000000 00:00 0 [stack:4328] 7f9fc12b0000-7f9fc12b1000 ---p 00000000 00:00 0 7f9fc12b1000-7f9fc1ab1000 rw-p 00000000 00:00 0 [stack:4327] 7f9fc1ab1000-7f9fc1ab2000 ---p 00000000 00:00 0 7f9fc1ab2000-7f9fc22b2000 rw-p 00000000 00:00 0 [stack:4326] 7f9fc22b2000-7f9fc22b3000 ---p 00000000 00:00 0 7f9fc22b3000-7f9fc2ab3000 rw-p 00000000 00:00 0 [stack:4325] 7f9fc2ab3000-7f9fc2ab4000 ---p 00000000 00:00 0 7f9fc2ab4000-7f9fc32b4000 rw-p 00000000 00:00 0 7f9fc32b4000-7f9fc3456000 r-xp 00000000 08:02 536927 /lib64/libc-2.18.90.so 7f9fc3456000-7f9fc3656000 ---p 001a2000 08:02 536927 /lib64/libc-2.18.90.so 7f9fc3656000-7f9fc365a000 r--p 001a2000 08:02 536927 /lib64/libc-2.18.90.so 7f9fc365a000-7f9fc365c000 rw-p 001a6000 08:02 536927 /lib64/libc-2.18.90.so 7f9fc365c000-7f9fc3660000 rw-p 00000000 00:00 0 7f9fc3660000-7f9fc3678000 r-xp 00000000 08:02 536955 /lib64/libpthread-2.18.90.so 7f9fc3678000-7f9fc3878000 ---p 00018000 08:02 536955 /lib64/libpthread-2.18.90.so 7f9fc3878000-7f9fc3879000 r--p 00018000 08:02 536955 /lib64/libpthread-2.18.90.so 7f9fc3879000-7f9fc387a000 rw-p 00019000 08:02 536955 /lib64/libpthread-2.18.90.so 7f9fc387a000-7f9fc387e000 rw-p 00000000 00:00 0 7f9fc387e000-7f9fc389f000 r-xp 00000000 08:02 536920 /lib64/ld-2.18.90.so 7f9fc3a88000-7f9fc3a9b000 rw-p 00000000 00:00 0 7f9fc3a9b000-7f9fc3a9e000 rw-p 00000000 00:00 0 7f9fc3a9e000-7f9fc3a9f000 r--p 00020000 08:02 536920 /lib64/ld-2.18.90.so 7f9fc3a9f000-7f9fc3aa0000 rw-p 00021000 08:02 536920 /lib64/ld-2.18.90.so 7f9fc3aa0000-7f9fc3aa1000 rw-p 00000000 00:00 0 7fff3b7fc000-7fff3b81d000 rw-p 00000000 00:00 0 [stack] 7fff3b8b7000-7fff3b8b9000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted
