2025-09-12 19:52 ftp://ftp.de.debian.org/debian/pool/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_14.2.rel1.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --library=zlib --library=python --library=openmp --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 411a3a7 (2025-09-12 16:54:23 +0200) count: Crash! Crash! elapsed-time: -11.0 -11.0 head-timing-info: old-timing-info: head results: Checking [...]/temp/gcc-arm-none-eabi-14.2.rel1/gcc/testsuite/c-c++-common/cpp/va-opt-5.c ... Program received signal SIGSEGV, Segmentation fault. 0x00005dbbcccde373 in simplecpp::Macro::expand (this=this@entry=0x5dbc0e17b558, output=output@entry=0x7ffd16d323c0, loc=..., nameTokInst=0x5dbc09ff2a10, macros=std::unordered_map with 285 elements = {...}, expandedmacros=std::set with 1 element = {...}) at externals/simplecpp/simplecpp.cpp:2004 2004 output->push_back(new Token(*tok->previous)); #0 0x00005dbbcccde373 in simplecpp::Macro::expand (this=this@entry=0x5dbc0e17b558, output=output@entry=0x7ffd16d323c0, loc=..., nameTokInst=0x5dbc09ff2a10, macros=std::unordered_map with 285 elements = {...}, expandedmacros=std::set with 1 element = {...}) at externals/simplecpp/simplecpp.cpp:2004 #1 0x00005dbbcccdf67e in simplecpp::Macro::expand (this=0x5dbc0e17b558, output=output@entry=0x7ffd16d324e0, rawtok=0x5dbc0a3aa2b0, rawtok@entry=0x5dbc09aa3620, macros=std::unordered_map with 285 elements = {...}, inputFiles=std::vector of length 1, capacity 1 = {...}) at externals/simplecpp/simplecpp.h:251 #2 0x00005dbbccccb87b in preprocessToken (output=..., tok1=tok1@entry=0x7ffd16d327b0, macros=std::unordered_map with 285 elements = {...}, files=std::vector of length 1, capacity 1 = {...}, outputList=outputList@entry=0x7ffd16d32e90) at externals/simplecpp/simplecpp.cpp:3201 #3 0x00005dbbccccf130 in simplecpp::preprocess (output=..., rawtokens=..., files=std::vector of length 1, capacity 1 = {...}, cache=..., dui=..., outputList=outputList@entry=0x7ffd16d32e90, macroUsage=0x7ffd16d32eb0, ifCond=0x7ffd16d32ed0) at externals/simplecpp/simplecpp.cpp:3703 #4 0x00005dbbcd0116f5 in Preprocessor::preprocess (this=0x7ffd16d335b0, tokens1=..., cfg=..., files=std::vector of length 1, capacity 1 = {...}, throwError=throwError@entry=true) at build/preprocessor.cpp:825 #5 0x00005dbbccf76d3b in operator() (__closure=0x5dbc04b99f60) at build/cppcheck.cpp:1162 #6 std::__invoke_impl&> (__f=...) at /usr/include/c++/14/bits/invoke.h:61 #7 std::__invoke_r&> (__fn=...) at /usr/include/c++/14/bits/invoke.h:150 #8 std::_Function_handler >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/14/bits/std_function.h:290 #9 0x00005dbbccdb809c in std::function::operator()() const (this=0x7ffd16d337e0) at /usr/include/c++/14/bits/std_function.h:591 #10 Timer::run(std::__cxx11::basic_string, std::allocator >, SHOWTIME_MODES, TimerResultsIntf*, std::function const&) (str=..., showtimeMode=, timerResults=, f=...) at lib/timer.h:86 #11 0x00005dbbccf87077 in CppCheck::checkFile (this=this@entry=0x7ffd16d33fb0, file=..., cfgname="", fileIndex=fileIndex@entry=0, fileStream=fileStream@entry=0x0) at build/cppcheck.cpp:1161 #12 0x00005dbbccf88596 in CppCheck::check (this=0x7ffd16d33fb0, file=...) at build/cppcheck.cpp:798 #13 0x00005dbbcd0e52be in SingleExecutor::check (this=this@entry=0x7ffd16d34150) at cli/singleexecutor.cpp:53 #14 0x00005dbbcd0daa2d in CppCheckExecutor::check_internal (this=this@entry=0x7ffd16d34b80, settings=..., supprs=...) at cli/cppcheckexecutor.cpp:479 #15 0x00005dbbcd0dc253 in CppCheckExecutor::check_wrapper (this=0x7ffd16d34b80, settings=..., supprs=...) at cli/cppcheckexecutor.cpp:414 #16 CppCheckExecutor::check (this=this@entry=0x7ffd16d34b80, argc=, argv=) at cli/cppcheckexecutor.cpp:399 #17 0x00005dbbcccbd3ec in main (argc=, argv=) at cli/main.cpp:90 DONE