user/distcc: FTTFS: AssertionError: 'distcc -c testtmp.c' terminated with signal 11
Found on:
Model name: AMD EPYC 7601 32-Core Processor
Cannot reproduce on:
Model name: Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
Failing test:
ImplicitCompiler_Case FAIL
-----------------------------------------------------------------
Traceback (most recent call last):
File "/usr/src/packages/user/distcc/src/distcc-3.3.3/test/comfychair.py", line 349, in runtest
obj.runtest()
File "/usr/src/packages/user/distcc/src/distcc-3.3.3/./test/testdistcc.py", line 1586, in runtest
CompileHello_Case.runtest (self)
File "/usr/src/packages/user/distcc/src/distcc-3.3.3/./test/testdistcc.py", line 885, in runtest
self.compile()
File "/usr/src/packages/user/distcc/src/distcc-3.3.3/./test/testdistcc.py", line 910, in compile
out, err = self.runcmd(cmd)
File "/usr/src/packages/user/distcc/src/distcc-3.3.3/test/comfychair.py", line 210, in runcmd
rc, output, stderr = self.runcmd_unchecked(cmd)
File "/usr/src/packages/user/distcc/src/distcc-3.3.3/test/comfychair.py", line 259, in runcmd_unchecked
assert not os.WIFSIGNALED(waitstatus), \
AssertionError: 'distcc -c testtmp.c' terminated with signal 11
test_log:
Run command: /usr/bin/cc --version
Wait status: 0x0 (exit code 0, signal 0)
stdout:
cc (Adelie 8.5.0) 8.5.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
stderr:
Run command: /usr/bin/cc --version
Wait status: 0x0 (exit code 0, signal 0)
stdout:
cc (Adelie 8.5.0) 8.5.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
stderr:
Run command: distccd --verbose --lifetime=60 --daemon --log-file '/usr/src/packages/user/distcc/src/distcc-3.3.3/_testtmp/ImplicitCompiler_Case/distccd.log' --pid-file '/usr/src/packages/user/distcc/src/distcc-3.3.3/_testtmp/ImplicitCompiler_Case/daemonpid.tmp' --port 420
00 --allow 127.0.0.1 --enable-tcp-insecure
Wait status: 0x0 (exit code 0, signal 0)
stdout:
stderr:
Run command: cc -c testtmp.c
Wait status: 0x0 (exit code 0, signal 0)
stdout:
stderr:
Run command: rm -f testtmp.o
Wait status: 0x0 (exit code 0, signal 0)
stdout:
stderr:
-----------------------------------------------------------------
gdb
output:
Core was generated by `distcc -c testtmp.c'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 a_crash () at ./arch/x86_64/atomic_arch.h:108
108 ./arch/x86_64/atomic_arch.h: No such file or directory.
(gdb) bt
#0 a_crash () at ./arch/x86_64/atomic_arch.h:108
#1 get_nominal_size (end=0x7fc6a81e7abc "", p=0x7fc6a81e7aa0 "x86_64-foxkit-linux-musl-gcc")
at src/malloc/mallocng/meta.h:169
#2 __libc_free (p=0x7fc6a81e7aa0) at src/malloc/mallocng/free.c:110
#3 0x00007fc6a7f5a715 in free (p=<optimized out>) at src/malloc/free.c:5
#4 0x0000559aba40963d in dcc_free_argv (argv=0x7fc6a81e7890) at src/argutil.c:87
#5 0x0000559aba404abc in dcc_build_somewhere (status=0x7ffd8b45c430, sg_level=0, argv=<optimized out>)
at src/compile.c:969
#6 dcc_build_somewhere_timed (argv=<optimized out>, sg_level=sg_level@entry=0,
status=status@entry=0x7ffd8b45c4a0) at src/compile.c:995
#7 0x0000559aba402c47 in main (argc=<optimized out>, argv=<optimized out>) at src/distcc.c:352
(gdb)