Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2022 21:47:38 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        freebsd-current <freebsd-current@freebsd.org>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   FYI: A main-n259064-f83db6441a2f-dirty non-reproducing crash of system clang
Message-ID:  <DA6F49CD-BE5E-47D2-AA3F-0979AE123950@yahoo.com>
References:  <DA6F49CD-BE5E-47D2-AA3F-0979AE123950.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is after having upgraded to and booted into (long output
line manually split for readability):

# uname -apKU
FreeBSD CA72_16Gp_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #65
main-n259064-f83db6441a2f-dirty: Sun Nov  6 17:08:00 PST 2022
=
root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm6=
4.aarch64/sys/GENERIC-NODBG-CA72
arm64 aarch64 1400073 1400073

I then started doing more builds and got the failure
indicated later. /var/log/messages and dmesg -a output
show no messages about the failure and no messages near
the time of the failure.

Unfortunately, the error did not reproduce via either:

A) The reproducer materials in /tmp/ .
or:
B) Restarting the build that failed.

Nor was a core file left behind to look at.

The system has been stable for a long time prior to this (hours,
days, weeks, months, . . .). The only new environmental thing
has been I've starting using dpni0 (via the new DPAA2 support)
instead of using an Ethernet dongle. This does not have a long
history yet but I had been using it since after my prior FreeBSD
update as well.

It was a -j16 buildworld that got the failure. The failure
messages look like:

. . .

PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and =
include the crash backtrace, preprocessed source, and associated run =
script.
Stack dump:
0. Program arguments: cc -O2 -pipe -fno-common -I. =
-I/usr/main-src/usr.sbin/config -DNDEBUG -g -gz=3Dzlib -std=3Dgnu99 =
-Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -W =
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch =
-Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts =
-Wnested-externs -Wold-style-definition -Wno-pointer-sign =
-Wthread-safety -Wno-empty-body -Wno-string-plus-int =
-Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable =
-mcpu=3Dcortex-a53 -Qunused-arguments =
-I/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm64.aarch64/tmp/leg=
acy/usr/include -c lang.c -o lang.o
. . .
#0 0x00000000038fa404 llvm::sys::PrintStackTrace(llvm::raw_ostream&, =
int) =
/usr/main-src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:565:1=
3
#1 0x00000000038f8720 llvm::sys::RunSignalHandlers() =
/usr/main-src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:98:18
#2 0x00000000038acb8c HandleCrash =
/usr/main-src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.c=
pp:79:5
#3 0x00000000038acb8c CrashRecoverySignalHandler(int) =
/usr/main-src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.c=
pp:392:51
#4 0x0000000089f2ba58 handle_signal =
/usr/main-src/lib/libthr/thread/thr_sig.c:0:3
cc: error: clang frontend command failed with exit code 139 (use -v to =
see invocation)
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git =
llvmorg-14.0.5-0-gc12386ae247c)
Target: aarch64-unknown-freebsd14.0
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg:  ********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/lang-0c2772.c
cc: note: diagnostic msg: /tmp/lang-0c2772.sh
cc: note: diagnostic msg: =20
********************
*** [lang.o] Error code 139

make[3]: stopped in /usr/main-src/usr.sbin/config
.ERROR_TARGET=3D'lang.o'
=
.ERROR_META_FILE=3D'/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm=
64.aarch64/tmp/obj-tools/usr.sbin/config/lang.o.meta'
.MAKE.LEVEL=3D'3'
MAKEFILE=3D''
.MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes =
verbose'
_ERROR_CMD=3D'cc  -O2 -pipe -fno-common -I. =
-I/usr/main-src/usr.sbin/config  -DNDEBUG  -g -gz=3Dzlib -std=3Dgnu99 =
-Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -W =
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch =
-Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts =
-Wnested-externs -Wold-style-definition -Wno-pointer-sign =
-Wthread-safety -Wno-empty-body -Wno-string-plus-int =
-Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable  =
-mcpu=3Dcortex-a53 -Qunused-arguments    =
-I/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm64.aarch64/tmp/leg=
acy/usr/include -c lang.c -o lang.o; ;'
.CURDIR=3D'/usr/main-src/usr.sbin/config'
.MAKE=3D'make'
=
.OBJDIR=3D'/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm64.aarch6=
4/tmp/obj-tools/usr.sbin/config'
.TARGETS=3D'all'
DESTDIR=3D''
LD_LIBRARY_PATH=3D''
MACHINE=3D'arm64'
MACHINE_ARCH=3D'aarch64'
MAKEOBJDIRPREFIX=3D''
MAKESYSPATH=3D'/usr/main-src/share/mk'
MAKE_VERSION=3D'20220726'
=
PATH=3D'/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm64.aarch64/t=
mp/legacy/usr/sbin:/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm6=
4.aarch64/tmp/legacy/usr/bin:/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/mai=
n-src/arm64.aarch64/tmp/legacy/bin:/usr/obj/BUILDs/main-CA53-nodbg-clang/u=
sr/main-src/arm64.aarch64/tmp/legacy/usr/libexec:/sbin:/bin:/usr/sbin:/usr=
/bin'
SRCTOP=3D'/usr/main-src'
=
OBJTOP=3D'/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm64.aarch64=
/tmp/obj-tools'
.MAKE.MAKEFILES=3D'/usr/main-src/share/mk/sys.mk =
/usr/main-src/share/mk/local.sys.env.mk =
/usr/main-src/share/mk/src.sys.env.mk =
/usr/home/root/src.configs/src.conf.CA53-nodbg-clang.aarch64-host =
/usr/main-src/share/mk/bsd.mkopt.mk =
/usr/main-src/share/mk/src.sys.obj.mk /usr/main-src/share/mk/auto.obj.mk =
/usr/main-src/share/mk/bsd.suffixes.mk =
/usr/home/root/src.configs/make.conf /usr/main-src/share/mk/local.sys.mk =
/usr/main-src/share/mk/src.sys.mk /dev/null =
/usr/main-src/usr.sbin/config/Makefile =
/usr/main-src/tools/build/mk/bsd.prog.mk =
/usr/main-src/tools/build/mk/Makefile.boot.pre =
/usr/main-src/share/mk/bsd.prog.mk /usr/main-src/share/mk/bsd.init.mk =
/usr/main-src/share/mk/bsd.opts.mk /usr/main-src/share/mk/bsd.cpu.mk =
/usr/main-src/share/mk/local.init.mk /usr/main-src/share/mk/src.init.mk =
/usr/main-src/usr.sbin/config/../Makefile.inc =
/usr/main-src/share/mk/bsd.own.mk /usr/main-src/share/mk/bsd.compiler.mk =
/usr/main-src/share/mk/bsd.endian.mk =
/usr/main-src/share/mk/bsd.linker.mk =
/usr/main-src/share/mk/bsd.sanitizer.mk =
/usr/main-src/share/mk/bsd.libnames.mk =
/usr/main-src/share/mk/src.libnames.mk =
/usr/main-src/share/mk/src.opts.mk /usr/main-src/share/mk/bsd.nls.mk =
/usr/main-src/share/mk/bsd.confs.mk /usr/main-src/share/mk/bsd.files.mk =
/usr/main-src/share/mk/bsd.dirs.mk /usr/main-src/share/mk/bsd.incs.mk =
/usr/main-src/share/mk/bsd.links.mk /usr/main-src/share/mk/bsd.dep.mk =
/usr/main-src/share/mk/bsd.clang-analyze.mk =
/usr/main-src/share/mk/bsd.obj.mk /usr/main-src/share/mk/bsd.subdir.mk =
/usr/main-src/share/mk/bsd.sys.mk =
/usr/main-src/tools/build/mk/Makefile.boot'
.PATH=3D'. /usr/main-src/usr.sbin/config'
1 error

make[3]: stopped in /usr/main-src/usr.sbin/config
.ERROR_TARGET=3D'lang.o'
=
.ERROR_META_FILE=3D'/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm=
64.aarch64/tmp/obj-tools/usr.sbin/config/lang.o.meta'
.MAKE.LEVEL=3D'3'
MAKEFILE=3D''
.MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes =
verbose'
_ERROR_CMD=3D'cc  -O2 -pipe -fno-common -I. =
-I/usr/main-src/usr.sbin/config  -DNDEBUG  -g -gz=3Dzlib -std=3Dgnu99 =
-Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -W =
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch =
-Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts =
-Wnested-externs -Wold-style-definition -Wno-pointer-sign =
-Wthread-safety -Wno-empty-body -Wno-string-plus-int =
-Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable  =
-mcpu=3Dcortex-a53 -Qunused-arguments    =
-I/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm64.aarch64/tmp/leg=
acy/usr/include -c lang.c -o lang.o; ;'
.CURDIR=3D'/usr/main-src/usr.sbin/config'
.MAKE=3D'make'
=
.OBJDIR=3D'/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm64.aarch6=
4/tmp/obj-tools/usr.sbin/config'
.TARGETS=3D'all'
DESTDIR=3D''
LD_LIBRARY_PATH=3D''
MACHINE=3D'arm64'
MACHINE_ARCH=3D'aarch64'
MAKEOBJDIRPREFIX=3D''
MAKESYSPATH=3D'/usr/main-src/share/mk'
MAKE_VERSION=3D'20220726'
=
PATH=3D'/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm64.aarch64/t=
mp/legacy/usr/sbin:/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm6=
4.aarch64/tmp/legacy/usr/bin:/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/mai=
n-src/arm64.aarch64/tmp/legacy/bin:/usr/obj/BUILDs/main-CA53-nodbg-clang/u=
sr/main-src/arm64.aarch64/tmp/legacy/usr/libexec:/sbin:/bin:/usr/sbin:/usr=
/bin'
SRCTOP=3D'/usr/main-src'
=
OBJTOP=3D'/usr/obj/BUILDs/main-CA53-nodbg-clang/usr/main-src/arm64.aarch64=
/tmp/obj-tools'
.MAKE.MAKEFILES=3D'/usr/main-src/share/mk/sys.mk =
/usr/main-src/share/mk/local.sys.env.mk =
/usr/main-src/share/mk/src.sys.env.mk =
/usr/home/root/src.configs/src.conf.CA53-nodbg-clang.aarch64-host =
/usr/main-src/share/mk/bsd.mkopt.mk =
/usr/main-src/share/mk/src.sys.obj.mk /usr/main-src/share/mk/auto.obj.mk =
/usr/main-src/share/mk/bsd.suffixes.mk =
/usr/home/root/src.configs/make.conf /usr/main-src/share/mk/local.sys.mk =
/usr/main-src/share/mk/src.sys.mk /dev/null =
/usr/main-src/usr.sbin/config/Makefile =
/usr/main-src/tools/build/mk/bsd.prog.mk =
/usr/main-src/tools/build/mk/Makefile.boot.pre =
/usr/main-src/share/mk/bsd.prog.mk /usr/main-src/share/mk/bsd.init.mk =
/usr/main-src/share/mk/bsd.opts.mk /usr/main-src/share/mk/bsd.cpu.mk =
/usr/main-src/share/mk/local.init.mk /usr/main-src/share/mk/src.init.mk =
/usr/main-src/usr.sbin/config/../Makefile.inc =
/usr/main-src/share/mk/bsd.own.mk /usr/main-src/share/mk/bsd.compiler.mk =
/usr/main-src/share/mk/bsd.endian.mk =
/usr/main-src/share/mk/bsd.linker.mk =
/usr/main-src/share/mk/bsd.sanitizer.mk =
/usr/main-src/share/mk/bsd.libnames.mk =
/usr/main-src/share/mk/src.libnames.mk =
/usr/main-src/share/mk/src.opts.mk /usr/main-src/share/mk/bsd.nls.mk =
/usr/main-src/share/mk/bsd.confs.mk /usr/main-src/share/mk/bsd.files.mk =
/usr/main-src/share/mk/bsd.dirs.mk /usr/main-src/share/mk/bsd.incs.mk =
/usr/main-src/share/mk/bsd.links.mk /usr/main-src/share/mk/bsd.dep.mk =
/usr/main-src/share/mk/bsd.clang-analyze.mk =
/usr/main-src/share/mk/bsd.obj.mk /usr/main-src/share/mk/bsd.subdir.mk =
/usr/main-src/share/mk/bsd.sys.mk =
/usr/main-src/tools/build/mk/Makefile.boot'
.PATH=3D'. /usr/main-src/usr.sbin/config'

make[2]: stopped in /usr/main-src

make[2]: stopped in /usr/main-src

make[2]: stopped in /usr/main-src
        6.42 real        26.37 user         5.47 sys

make[1]: stopped in /usr/main-src

make: stopped in /usr/main-src




=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DA6F49CD-BE5E-47D2-AA3F-0979AE123950>