[Bug 278320] clang fails on the port sc ience/dynare (version 5.4): Assertion failed: (idx < size()), function operator[], file /u sr/local/poudriere/jails/main-amd64/usr/src/c ontrib/llvm-project/llvm/include/llvm/ADT/Sma llVector.h, line 304

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 Apr 2024 03:10:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278320

            Bug ID: 278320
           Summary: clang fails on the port science/dynare (version 5.4):
                    Assertion failed: (idx < size()), function operator[],
                    file
                    /usr/local/poudriere/jails/main-amd64/usr/src/contrib/
                    llvm-project/llvm/include/llvm/ADT/SmallVector.h, line
                    304
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

science/dynare wasn't changed recently, but clang began to fail beginning
2024-04-11:
Assertion failed: (idx < size()), function operator[], file
/usr/local/poudriere/jails/main-amd64/usr/src/contrib/llvm-project/llvm/include/llvm/ADT/SmallVector.h,
line 304.
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: c++ -DPACKAGE_NAME=\"dynare-preprocessor\"
-DPACKAGE_TARNAME=\"dynare-preprocessor\" -DPACKAGE_VERSION=\"5.4\"
"-DPACKAGE_STRING=\"dynare-preprocessor 5.4\"" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"dynare-preprocessor\" -DVERSION=\"5.4\"
-DHAVE_CXX17=1 -DHAVE_BOOST=/**/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_BOOST_GRAPH_ADJACENCY_LIST_HPP=1
-DHAVE_BOOST_ALGORITHM_STRING_TRIM_HPP=1
-DHAVE_BOOST_ALGORITHM_STRING_SPLIT_HPP=1 -DBOOST_NO_HASH=/**/ -I.
-I/usr/local/include -I. -isystem /usr/local/include -Wall -Wno-parentheses
-Wold-style-cast -O2 -pipe -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -MT
dynare_preprocessor-DynamicModel.o -MD -MP -MF
.deps/dynare_preprocessor-DynamicModel.Tpo -c -o
dynare_preprocessor-DynamicModel.o DynamicModel.cc


See URL for log.

-- 
You are receiving this mail because:
You are the assignee for the bug.