Trying to compile science/plotjuggler, a new port submitted in PR 273164, clang 16 crash with the following error: [ 8% 52/521] /usr/bin/c++ -DFMT_HEADER_ONLY -DPJ_MAJOR_VERSION=3 -DPJ_MINOR_VERSION=7 -DPJ_PATCH_VERSION=1 -I/usr/ports/science/plotjuggler/work/.build -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1 -I/usr/ports/science/plotjuggler/work/.build/plotjuggler_base_autogen/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/plotjuggler_base/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/plotjuggler_base/src -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtCore -I/usr/local/lib/qt5/mkspecs/freebsd-clang -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtGui -I/usr/local/include -I/usr/local/include/qt5/QtConcurrent -I/usr/local/include/qt5/QtPrintSupport -I/usr/local/include/qt5/QtXml -I/usr/local/include/qt5/QtWebSockets -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtSvg -I/usr/local/include/qt5/QtOpenGL -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/color_widgets/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/Qt-Advanced-Docking/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/qwt/src -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/lua-5.4.3/src -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/QCodeEditor/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/lz4 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu++17 -MD -MT CMakeFiles/plotjuggler_base.dir/plotjuggler_base/src/reactive_function.cpp.o -MF CMakeFiles/plotjuggler_base.dir/plotjuggler_base/src/reactive_function.cpp.o.d -o CMakeFiles/plotjuggler_base.dir/plotjuggler_base/src/reactive_function.cpp.o -c /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/plotjuggler_base/src/reactive_function.cpp FAILED: CMakeFiles/plotjuggler_base.dir/plotjuggler_base/src/reactive_function.cpp.o /usr/bin/c++ -DFMT_HEADER_ONLY -DPJ_MAJOR_VERSION=3 -DPJ_MINOR_VERSION=7 -DPJ_PATCH_VERSION=1 -I/usr/ports/science/plotjuggler/work/.build -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1 -I/usr/ports/science/plotjuggler/work/.build/plotjuggler_base_autogen/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/plotjuggler_base/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/plotjuggler_base/src -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtCore -I/usr/local/lib/qt5/mkspecs/freebsd-clang -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtGui -I/usr/local/include -I/usr/local/include/qt5/QtConcurrent -I/usr/local/include/qt5/QtPrintSupport -I/usr/local/include/qt5/QtXml -I/usr/local/include/qt5/QtWebSockets -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtSvg -I/usr/local/include/qt5/QtOpenGL -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/color_widgets/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/Qt-Advanced-Docking/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/qwt/src -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/lua-5.4.3/src -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/QCodeEditor/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/lz4 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu++17 -MD -MT CMakeFiles/plotjuggler_base.dir/plotjuggler_base/src/reactive_function.cpp.o -MF CMakeFiles/plotjuggler_base.dir/plotjuggler_base/src/reactive_function.cpp.o.d -o CMakeFiles/plotjuggler_base.dir/plotjuggler_base/src/reactive_function.cpp.o -c /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/plotjuggler_base/src/reactive_function.cpp In file included from /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/plotjuggler_base/src/reactive_function.cpp:7: In file included from /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/plotjuggler_base/include/PlotJuggler/reactive_function.h:11: /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:14541:32: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option] #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" ^ /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:17294:32: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option] #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" ^ Assertion failed: (ESI.Type != EST_Uninstantiated), function SubstExceptionSpec, file /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiate.cpp, line 2550. 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: /usr/bin/c++ -DFMT_HEADER_ONLY -DPJ_MAJOR_VERSION=3 -DPJ_MINOR_VERSION=7 -DPJ_PATCH_VERSION=1 -I/usr/ports/science/plotjuggler/work/.build -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1 -I/usr/ports/science/plotjuggler/work/.build/plotjuggler_base_autogen/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/plotjuggler_base/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/plotjuggler_base/src -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtCore -I/usr/local/lib/qt5/mkspecs/freebsd-clang -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtGui -I/usr/local/include -I/usr/local/include/qt5/QtConcurrent -I/usr/local/include/qt5/QtPrintSupport -I/usr/local/include/qt5/QtXml -I/usr/local/include/qt5/QtWebSockets -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtSvg -I/usr/local/include/qt5/QtOpenGL -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/color_widgets/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/Qt-Advanced-Docking/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/qwt/src -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/lua-5.4.3/src -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/QCodeEditor/include -I/usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/lz4 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu++17 -MD -MT CMakeFiles/plotjuggler_base.dir/plotjuggler_base/src/reactive_function.cpp.o -MF CMakeFiles/plotjuggler_base.dir/plotjuggler_base/src/reactive_function.cpp.o.d -o CMakeFiles/plotjuggler_base.dir/plotjuggler_base/src/reactive_function.cpp.o -c /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/plotjuggler_base/src/reactive_function.cpp 1. <eof> parser at end of file 2. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:24619:20: instantiating function definition 'sol::usertype_proxy<sol::basic_usertype<PJ::TimeseriesRef, sol::basic_reference<false>> &, const char *>::operator=<unsigned int (PJ::TimeseriesRef::*)() const>' 3. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:24607:20: instantiating function definition 'sol::usertype_proxy<sol::basic_usertype<PJ::TimeseriesRef, sol::basic_reference<false>> &, const char *>::set<unsigned int (PJ::TimeseriesRef::*)() const>' 4. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:24582:8: instantiating function definition 'sol::usertype_proxy<sol::basic_usertype<PJ::TimeseriesRef, sol::basic_reference<false>> &, const char *>::tuple_set<0UL, unsigned int (PJ::TimeseriesRef::*)() const>' 5. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:26358:19: instantiating function definition 'sol::basic_usertype<PJ::TimeseriesRef, sol::basic_reference<false>>::set<const char *, unsigned int (PJ::TimeseriesRef::*)() const>' 6. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:25862:21: instantiating function definition 'sol::basic_table_core<false, sol::basic_reference<false>>::set<const char *, unsigned int (PJ::TimeseriesRef::*)() const>' 7. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:25849:21: instantiating function definition 'sol::basic_table_core<false, sol::basic_reference<false>>::traverse_set<const char *, unsigned int (PJ::TimeseriesRef::*)() const>' 8. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:25631:8: instantiating function definition 'sol::basic_table_core<false, sol::basic_reference<false>>::traverse_set_deep<false, false, sol::detail::none, const char *, unsigned int (PJ::TimeseriesRef::*)() const>' 9. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:12130:8: instantiating function definition 'sol::stack::set_field<false, false, const char *, unsigned int (PJ::TimeseriesRef::*)() const>' 10. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:16220:8: instantiating function definition 'sol::stack::field_setter<const char *>::set<const char *, unsigned int (PJ::TimeseriesRef::*)() const>' 11. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:11746:7: instantiating function definition 'sol::stack::push<unsigned int (PJ::TimeseriesRef::*)() const>' 12. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:20156:15: instantiating function definition 'sol::stack::unqualified_pusher<unsigned int (PJ::TimeseriesRef::*)() const>::push<unsigned int (PJ::TimeseriesRef::*)() const>' 13. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:19973:8: instantiating function definition 'sol::function_detail::select<false, false, unsigned int (PJ::TimeseriesRef::*)() const>' 14. /usr/ports/science/plotjuggler/work/PlotJuggler-3.7.1/./3rdparty/sol/sol.hpp:19956:8: instantiating function definition 'sol::function_detail::select_member_function<false, false, unsigned int (PJ::TimeseriesRef::*)() const>' #0 0x00000000058159a1 PrintStackTrace /usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:567:13 #1 0x0000000005813d25 RunSignalHandlers /usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:105:18 #2 0x00000000057bb8ab HandleCrash /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 #3 0x00000000057bb8ab CrashRecoverySignalHandler /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:390:51 #4 0x000000082c0c44df handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3 #5 0x000000082c0c3a9b thr_sighandler /usr/src/lib/libthr/thread/thr_sig.c:247:1 #6 0x0000000827a72903 ([vdso]+0x2d3) #7 0x000000082f230cda thr_kill /usr/obj/usr/src/amd64.amd64/lib/libc/thr_kill.S:4:0 #8 0x000000082f1aa1f4 raise /usr/src/lib/libc/gen/raise.c:0:10 #9 0x000000082f25a3b9 abort /usr/src/lib/libc/stdlib/abort.c:73:17 #10 0x000000082f18d451 (/lib/libc.so.7+0x98451) #11 0x000000000445a3de SubstExceptionSpec /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiate.cpp:0:3 #12 0x00000000043f18c8 SubstituteExplicitTemplateArguments /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateDeduction.cpp:3348:9 #13 0x0000000004452214 operator() /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateDeduction.cpp:4303:7 #14 0x0000000004452214 callback_fn<(lambda at /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateDeduction.cpp:4302:53)> /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12 #15 0x0000000003b9bd4a runWithSufficientStackSpace /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12 #16 0x00000000043f51d0 DeduceTemplateArguments /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateDeduction.cpp:4307:9 #17 0x00000000042b97f8 AddMatchingTemplateFunction /usr/src/contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp:12344:15 #18 0x00000000042b97f8 FindAllFunctionsThatMatchTargetTypeExactly /usr/src/contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp:12440:13 #19 0x00000000042b97f8 AddressOfFunctionResolver /usr/src/contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp:12249:9 #20 0x00000000042b97f8 ResolveAddressOfOverloadedFunction /usr/src/contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp:12606:29 #21 0x00000000042c7f8e IsStandardConversion /usr/src/contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp:1824:23 #22 0x000000000429c6ce TryImplicitConversion /usr/src/contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp:1538:7 #23 0x000000000429c62c /usr/src/contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp:1591:10 #24 0x00000000041736eb InitializeFrom /usr/src/contrib/llvm-project/clang/lib/Sema/SemaInit.cpp:6371:9 #25 0x0000000003dd7c6d AddInitializerToDecl /usr/src/contrib/llvm-project/clang/lib/Sema/SemaDecl.cpp:13204:33 #26 0x00000000044a8ebe InstantiateVariableInitializer /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:9 #27 0x000000000449c7f3 isInvalidDecl /usr/src/contrib/llvm-project/clang/include/clang/AST/DeclBase.h:571:46 #28 0x000000000449c7f3 BuildVariableInstantiation /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:5320:16 #29 0x000000000449bf0a VisitVarDecl /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:1150:11 #30 0x00000000044d9b99 operator() /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:3997:5 #31 0x00000000044d9b99 callback_fn<(lambda at /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:3996:49)> /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12 #32 0x0000000003b9bd4a runWithSufficientStackSpace /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12 #33 0x00000000044aa6ea SubstDecl /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:3999:10 #34 0x000000000448698c TransformDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiate.cpp:1506:8 #35 0x000000000448698c TransformDeclStmt /usr/src/contrib/llvm-project/clang/lib/Sema/TreeTransform.h:7819:38 #36 0x000000000447c201 TransformCompoundStmt /usr/src/contrib/llvm-project/clang/lib/Sema/TreeTransform.h:7419:38 #37 0x0000000004486ef3 TransformIfStmt /usr/src/contrib/llvm-project/clang/lib/Sema/TreeTransform.h:7604:25 #38 0x000000000447c201 TransformCompoundStmt /usr/src/contrib/llvm-project/clang/lib/Sema/TreeTransform.h:7419:38 #39 0x000000000445fada SubstStmt /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiate.cpp:3907:23 #40 0x00000000044ac271 InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:5087:14 #41 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #42 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #43 0x00000000044ac36a InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:24 #44 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #45 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #46 0x00000000044ac36a InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:24 #47 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #48 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #49 0x00000000044ac36a InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:24 #50 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #51 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #52 0x00000000044ac36a InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:24 #53 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #54 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #55 0x00000000044ac36a InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:24 #56 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #57 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #58 0x00000000044ac36a InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:24 #59 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #60 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #61 0x00000000044ac36a InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:24 #62 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #63 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #64 0x00000000044ac36a InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:24 #65 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #66 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #67 0x00000000044ac36a InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:24 #68 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #69 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #70 0x00000000044ac36a InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:24 #71 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #72 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #73 0x00000000044ac36a InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:24 #74 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #75 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #76 0x00000000044ac36a InstantiateFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:0:24 #77 0x00000000044aee32 isDefined /usr/src/contrib/llvm-project/clang/include/clang/AST/Decl.h:2179:12 #78 0x00000000044aee32 PerformPendingInstantiations /usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:6348:23 #79 0x0000000003b9dda3 ~TimeTraceScope /usr/src/contrib/llvm-project/llvm/include/llvm/Support/TimeProfiler.h:155:9 #80 0x0000000003b9dda3 ActOnEndOfTranslationUnitFragment /usr/src/contrib/llvm-project/clang/lib/Sema/Sema.cpp:1086:3 #81 0x0000000003b9ec2a ActOnEndOfTranslationUnit /usr/src/contrib/llvm-project/clang/lib/Sema/Sema.cpp:1127:9 #82 0x0000000003a660b6 ParseTopLevelDecl /usr/src/contrib/llvm-project/clang/lib/Parse/Parser.cpp:0:13 #83 0x0000000003a605de ParseAST /usr/src/contrib/llvm-project/clang/lib/Parse/ParseAST.cpp:161:5 #84 0x000000000340deef Execute /usr/src/contrib/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1062:10 #85 0x00000000033986ad getPtr /usr/src/contrib/llvm-project/llvm/include/llvm/Support/Error.h:272:42 #86 0x00000000033986ad operator bool /usr/src/contrib/llvm-project/llvm/include/llvm/Support/Error.h:235:16 #87 0x00000000033986ad ExecuteAction /usr/src/contrib/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1046:23 #88 0x00000000034d382d ExecuteCompilerInvocation /usr/src/contrib/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:264:25 #89 0x000000000289c67d cc1_main /usr/src/contrib/llvm-project/clang/tools/driver/cc1_main.cpp:251:15 #90 0x00000000028aae80 ExecuteCC1Tool /usr/src/contrib/llvm-project/clang/tools/driver/driver.cpp:360:12 #91 0x00000000032394b7 operator() /usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:428:30 #92 0x00000000032394b7 callback_fn<(lambda at /usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:428:22)> /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12 #93 0x00000000057bb649 operator() /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12 #94 0x00000000057bb649 RunSafely /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:426:3 #95 0x0000000003238e04 Execute /usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:428:7 #96 0x0000000003200024 ExecuteCommand /usr/src/contrib/llvm-project/clang/lib/Driver/Compilation.cpp:199:15 #97 0x00000000032002f8 ExecuteJobs /usr/src/contrib/llvm-project/clang/lib/Driver/Compilation.cpp:253:13 #98 0x000000000321a741 empty /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/SmallVector.h:94:46 #99 0x000000000321a741 ExecuteCompilation /usr/src/contrib/llvm-project/clang/lib/Driver/Driver.cpp:1856:23 #100 0x00000000028aa443 main /usr/src/contrib/llvm-project/clang/tools/driver/driver.cpp:562:21 #101 0x000000082f17ecda __libc_start1 /usr/src/lib/libc/csu/libc_start1.c:157:2 c++: error: clang frontend command failed with exit code 134 (use -v to see invocation) FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/reactive_function-645aed.cpp c++: note: diagnostic msg: /tmp/reactive_function-645aed.sh c++: note: diagnostic msg: ********************
Created attachment 244367 [details] /tmp/reactive_function-645aed.sh /tmp/reactive_function-645aed.sh
reactive_function-645aed.cpp.bz2 is too big for bugzilla. It is available at https://people.freebsd.org/~thierry/reactive_function-645aed.cpp.bz2 (let me know when I can remove it).
Looks a lot like https://github.com/llvm/llvm-project/issues/42496, which hasn't been fixed yet. I have added a comment there, and will have a look if the patch posted there works.
*** Bug 276701 has been marked as a duplicate of this bug. ***
*** Bug 276702 has been marked as a duplicate of this bug. ***