I saw upstream said they couldn't reproduce with the development tree, so I 
was going to try bisecting this. However when I build non-Debianized Cppcheck 
2.1 using the following default options, I can't reproduce the crash and it 
seems to work.

As you can see from the CMake log it does detect that I have clang-tidy at 
build time, which I don't think it would building the package since it doesn't 
appear to be a build-dep.

Otherwise might depend on some optional features being enabled in the Debian 
package, although I do have the package build-deps installed.

-- The C compiler identification is GNU 10.1.0
-- The CXX compiler identification is GNU 10.1.0
-- Check for working C compiler: /usr/lib/ccache/cc
-- Check for working C compiler: /usr/lib/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ------------------ General configuration for Cppcheck 2.1 -----------------
-- 
-- CMake Generator =       Ninja
-- Compiler =              GNU
-- Compiler Version =      10.1.0
-- Build type =            Debug
-- CMAKE_INSTALL_PREFIX =  /usr/local
-- C++ flags (General) =
-- C++ flags (Release) =   -O3 -DNDEBUG
-- C++ flags (RelWithDebInfo) = -O2 -g -DNDEBUG
-- C++ flags (Debug) =     -g
-- Found Define: _GLIBCXX_DEBUG
-- Found Define: FILESDIR="/usr/lib/x86_64-linux-gnu/cppcheck"
--
-- ---------------------------------------------------------
-- ANALYZE_MEMORY =        OFF
-- ANALYZE_ADDRESS =       OFF
-- ANALYZE_THREAD =        OFF
-- ANALYZE_UNDEFINED =     OFF
-- ANALYZE_DATAFLOW =      OFF
-- WARNINGS_ARE_ERRORS =   OFF
--
-- USE_MATCHCOMPILER =     Auto
-- USE_MATCHCOMPILER_OPT = Off
--
-- BUILD_SHARED_LIBS =     OFF
-- BUILD_TESTS =           OFF
-- ENABLE_CHECK_INTERNAL = OFF
-- ENABLE_OSS_FUZZ =       ON
--
-- BUILD_GUI =             OFF
-- WITH_QCHART =           OFF
--
-- HAVE_RULES =            OFF
--
-- USE_Z3 =                OFF
--
-- CLANG_TIDY=/usr/bin/clang-tidy

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to