Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kf6-kcrash for openSUSE:Factory checked in at 2026-11-16 09:06:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kf6-kcrash (Old) and /work/SRC/openSUSE:Factory/.kf6-kcrash.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-kcrash" Mon Nov 16 09:06:38 2026 rev:33 rq:1397413 version:6.32.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kf6-kcrash/kf6-kcrash.changes 2026-10-11 15:17:39.536585308 +0200 +++ /work/SRC/openSUSE:Factory/.kf6-kcrash.new.1251/kf6-kcrash.changes 2026-11-16 09:09:43.183941425 +0100 @@ -1,0 +2,13 @@ +Sun Nov 8 10:36:11 UTC 2026 - Christophe Marin <[email protected]> + +- Update to 6.32.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.32.0 +- Changes since 6.31.0: + * Update dependency version to 6.32.0 + * reuse: move autotest fixtures to REUSE.toml + * coreconfig: support socket patterns + * Update version to 6.32.0 + +------------------------------------------------------------------- Old: ---- kcrash-6.31.0.tar.xz kcrash-6.31.0.tar.xz.sig New: ---- kcrash-6.32.0.tar.xz kcrash-6.32.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-kcrash.spec ++++++ --- /var/tmp/diff_new_pack.7PQOPj/_old 2026-11-16 09:09:43.898971402 +0100 +++ /var/tmp/diff_new_pack.7PQOPj/_new 2026-11-16 09:09:43.900971486 +0100 @@ -16,14 +16,14 @@ # -%define qt6_version 6.9.0 +%define qt6_version 6.10.0 %define rname kcrash -# Full KF6 version (e.g. 6.31.0) +# Full KF6 version (e.g. 6.32.0) %{!?_kf6_version: %global _kf6_version %{version}} %bcond_without released Name: kf6-kcrash -Version: 6.31.0 +Version: 6.32.0 Release: 0 Summary: An application crash handler License: LGPL-2.1-or-later ++++++ kcrash-6.31.0.tar.xz -> kcrash-6.32.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/CMakeLists.txt new/kcrash-6.32.0/CMakeLists.txt --- old/kcrash-6.31.0/CMakeLists.txt 2026-10-02 15:19:00.000000000 +0200 +++ new/kcrash-6.32.0/CMakeLists.txt 2026-11-07 16:24:43.000000000 +0100 @@ -1,14 +1,14 @@ cmake_minimum_required(VERSION 3.30) -set(KF_VERSION "6.31.0") # handled by release scripts -set(KF_DEP_VERSION "6.31.0") # handled by release scripts +set(KF_VERSION "6.32.0") # handled by release scripts +set(KF_DEP_VERSION "6.32.0") # handled by release scripts project(KCrash VERSION ${KF_VERSION}) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) include(FeatureSummary) -find_package(ECM 6.31.0 NO_MODULE) +find_package(ECM 6.32.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/REUSE.toml new/kcrash-6.32.0/REUSE.toml --- old/kcrash-6.31.0/REUSE.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/kcrash-6.32.0/REUSE.toml 2026-11-07 16:24:43.000000000 +0100 @@ -0,0 +1,6 @@ +version = 1 + +[[annotations]] +path="autotests/core_patterns/*" +SPDX-License-Identifier = "CC0-1.0" +SPDX-FileCopyrightText = "none" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/autotests/core_patterns/exec-apport.license new/kcrash-6.32.0/autotests/core_patterns/exec-apport.license --- old/kcrash-6.31.0/autotests/core_patterns/exec-apport.license 2026-10-02 15:19:00.000000000 +0200 +++ new/kcrash-6.32.0/autotests/core_patterns/exec-apport.license 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -SPDX-License-Identifier: CC0-1.0 -SPDX-FileCopyrightText: none diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/autotests/core_patterns/exec.license new/kcrash-6.32.0/autotests/core_patterns/exec.license --- old/kcrash-6.31.0/autotests/core_patterns/exec.license 2026-10-02 15:19:00.000000000 +0200 +++ new/kcrash-6.32.0/autotests/core_patterns/exec.license 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -SPDX-License-Identifier: CC0-1.0 -SPDX-FileCopyrightText: none diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/autotests/core_patterns/filename new/kcrash-6.32.0/autotests/core_patterns/filename --- old/kcrash-6.31.0/autotests/core_patterns/filename 1970-01-01 01:00:00.000000000 +0100 +++ new/kcrash-6.32.0/autotests/core_patterns/filename 2026-11-07 16:24:43.000000000 +0100 @@ -0,0 +1 @@ +core.%e.%p.%h.%t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/autotests/core_patterns/no-exec.license new/kcrash-6.32.0/autotests/core_patterns/no-exec.license --- old/kcrash-6.31.0/autotests/core_patterns/no-exec.license 2026-10-02 15:19:00.000000000 +0200 +++ new/kcrash-6.32.0/autotests/core_patterns/no-exec.license 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -SPDX-License-Identifier: CC0-1.0 -SPDX-FileCopyrightText: none diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/autotests/core_patterns/socket new/kcrash-6.32.0/autotests/core_patterns/socket --- old/kcrash-6.31.0/autotests/core_patterns/socket 1970-01-01 01:00:00.000000000 +0100 +++ new/kcrash-6.32.0/autotests/core_patterns/socket 2026-11-07 16:24:43.000000000 +0100 @@ -0,0 +1 @@ +@@/run/systemd/coredumpd/kernel diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/autotests/coreconfigtest.cpp new/kcrash-6.32.0/autotests/coreconfigtest.cpp --- old/kcrash-6.31.0/autotests/coreconfigtest.cpp 2026-10-02 15:19:00.000000000 +0200 +++ new/kcrash-6.32.0/autotests/coreconfigtest.cpp 2026-11-07 16:24:43.000000000 +0100 @@ -1,5 +1,5 @@ /* - SPDX-FileCopyrightText: 2016-2021 Harald Sitter <[email protected]> + SPDX-FileCopyrightText: 2016-2026 Harald Sitter <[email protected]> SPDX-License-Identifier: LGPL-2.0-or-later */ @@ -20,10 +20,10 @@ { KCrash::CoreConfig c(QFINDTESTDATA("core_patterns/exec")); #if KCRASH_CORE_PATTERN_RAISE - QCOMPARE(c.isProcess(), true); + QCOMPARE(c.isFile(), false); QCOMPARE(c.isCoredumpd(), true); #else - QCOMPARE(c.isProcess(), false); + QCOMPARE(c.isFile(), true); QCOMPARE(c.isCoredumpd(), false); #endif } @@ -35,20 +35,34 @@ #endif KCrash::CoreConfig c(QFINDTESTDATA("core_patterns/exec-apport")); - QCOMPARE(c.isProcess(), true); + QCOMPARE(c.isFile(), false); QCOMPARE(c.isCoredumpd(), false); } void testNoFile() { KCrash::CoreConfig c(QStringLiteral("/meow/kitteh/meow")); - QCOMPARE(c.isProcess(), false); + QCOMPARE(c.isFile(), false); } void testNoExec() { KCrash::CoreConfig c(QFINDTESTDATA("core_patterns/no-exec")); - QCOMPARE(c.isProcess(), false); + QCOMPARE(c.isFile(), true); + } + + void testSocket() + { + KCrash::CoreConfig c(QFINDTESTDATA("core_patterns/socket")); + QCOMPARE(c.isFile(), false); + QCOMPARE(c.isCoredumpd(), true); + } + + void testFilename() + { + KCrash::CoreConfig c(QFINDTESTDATA("core_patterns/filename")); + QCOMPARE(c.isFile(), true); + QCOMPARE(c.isCoredumpd(), false); } }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/src/android/res/values-el/strings.xml new/kcrash-6.32.0/src/android/res/values-el/strings.xml --- old/kcrash-6.31.0/src/android/res/values-el/strings.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/kcrash-6.32.0/src/android/res/values-el/strings.xml 2026-11-07 16:24:43.000000000 +0100 @@ -0,0 +1,5 @@ +<?xml version='1.0' encoding='utf-8'?> +<resources> + <string name="submit_dialog_title">Υποβολή αναφοράς σφάλματος</string> + <string name="submit_dialog_text">Θέλετε να υποβάλλετε μία αυτόματη αναφορά σφάλματος;</string> +</resources> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/src/android/res/values-lt/strings.xml new/kcrash-6.32.0/src/android/res/values-lt/strings.xml --- old/kcrash-6.31.0/src/android/res/values-lt/strings.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/kcrash-6.32.0/src/android/res/values-lt/strings.xml 2026-11-07 16:24:43.000000000 +0100 @@ -0,0 +1,5 @@ +<?xml version='1.0' encoding='utf-8'?> +<resources> + <string name="submit_dialog_title">Pateikti pranešimą apie strigtį</string> + <string name="submit_dialog_text">Ar norite pateikti automatinį pranešimą apie strigtį?</string> +</resources> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/src/android/res/values-nb/strings.xml new/kcrash-6.32.0/src/android/res/values-nb/strings.xml --- old/kcrash-6.31.0/src/android/res/values-nb/strings.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/kcrash-6.32.0/src/android/res/values-nb/strings.xml 2026-11-07 16:24:43.000000000 +0100 @@ -0,0 +1,5 @@ +<?xml version='1.0' encoding='utf-8'?> +<resources> + <string name="submit_dialog_title">Send inn krasjrapport</string> + <string name="submit_dialog_text">Vil du sende inn en automatisk krasjrapport?</string> +</resources> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/src/android/res/values-ru/strings.xml new/kcrash-6.32.0/src/android/res/values-ru/strings.xml --- old/kcrash-6.31.0/src/android/res/values-ru/strings.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/kcrash-6.32.0/src/android/res/values-ru/strings.xml 2026-11-07 16:24:43.000000000 +0100 @@ -0,0 +1,5 @@ +<?xml version='1.0' encoding='utf-8'?> +<resources> + <string name="submit_dialog_title">Отправка отчёта о сбое</string> + <string name="submit_dialog_text">Отправить автоматический отчёт о сбое?</string> +</resources> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/src/android/res/values-sr/strings.xml new/kcrash-6.32.0/src/android/res/values-sr/strings.xml --- old/kcrash-6.31.0/src/android/res/values-sr/strings.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/kcrash-6.32.0/src/android/res/values-sr/strings.xml 2026-11-07 16:24:43.000000000 +0100 @@ -0,0 +1,5 @@ +<?xml version='1.0' encoding='utf-8'?> +<resources> + <string name="submit_dialog_title">Слање извештаја о паду</string> + <string name="submit_dialog_text">Желите ли да пошаљете аутоматски извештај о паду?</string> +</resources> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/src/coreconfig.cpp new/kcrash-6.32.0/src/coreconfig.cpp --- old/kcrash-6.31.0/src/coreconfig.cpp 2026-10-02 15:19:00.000000000 +0200 +++ new/kcrash-6.32.0/src/coreconfig.cpp 2026-11-07 16:24:43.000000000 +0100 @@ -1,5 +1,5 @@ /* - SPDX-FileCopyrightText: 2016-2021 Harald Sitter <[email protected]> + SPDX-FileCopyrightText: 2016-2026 Harald Sitter <[email protected]> SPDX-License-Identifier: LGPL-2.0-or-later */ @@ -9,6 +9,9 @@ #include <QFile> #include <config-kcrash.h> + +using namespace Qt::StringLiterals; + namespace KCrash { CoreConfig::CoreConfig(const QString &path) @@ -16,6 +19,9 @@ #if !KCRASH_CORE_PATTERN_RAISE return; // Leave everything false unless enabled. #endif + + // https://www.kernel.org/doc/html/latest/admin-guide/sysctl/kernel.html#core-pattern + QFile file(path); if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) { return; @@ -25,16 +31,25 @@ return; } m_supported = true; - m_process = first == '|'; - if (file.readLine().contains(QByteArrayLiteral("systemd-coredump"))) { - m_coredumpd = true; + if (first == '|') { // process + m_isFile = false; + if (file.readLine().contains("systemd-coredump"_ba)) { + m_coredumpd = true; + } + } + + if (first == '@') { // socket + m_isFile = false; + if (file.readLine().contains("systemd/coredumpd"_ba)) { + m_coredumpd = true; + } } } -bool CoreConfig::isProcess() const +bool CoreConfig::isFile() const { - return m_supported && m_process; + return m_supported && m_isFile; } bool CoreConfig::isCoredumpd() const diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/src/coreconfig_p.h new/kcrash-6.32.0/src/coreconfig_p.h --- old/kcrash-6.31.0/src/coreconfig_p.h 2026-10-02 15:19:00.000000000 +0200 +++ new/kcrash-6.32.0/src/coreconfig_p.h 2026-11-07 16:24:43.000000000 +0100 @@ -1,5 +1,5 @@ /* - SPDX-FileCopyrightText: 2016-2021 Harald Sitter <[email protected]> + SPDX-FileCopyrightText: 2016-2026 Harald Sitter <[email protected]> SPDX-License-Identifier: LGPL-2.0-or-later */ @@ -16,13 +16,17 @@ public: CoreConfig(const QString &path = QStringLiteral("/proc/sys/kernel/core_pattern")); - bool isProcess() const; - // should this need expansion please refactor to enum. could also store cmdline and compare in kcrash.cpp - bool isCoredumpd() const; + //! Returns true if the core pattern is a legacy file path (if this is false it could be a socket or a process pattern) + [[nodiscard]] bool isFile() const; + + //! Returns true if the core pattern is definitely a systemd-coredump pattern. + [[nodiscard]] bool isCoredumpd() const; + + // NOTE: should this need expansion beyond coredumpd please refactor to enum private: bool m_supported = false; - bool m_process = false; + bool m_isFile = true; bool m_coredumpd = false; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.31.0/src/kcrash.cpp new/kcrash-6.32.0/src/kcrash.cpp --- old/kcrash-6.31.0/src/kcrash.cpp 2026-10-02 15:19:00.000000000 +0200 +++ new/kcrash-6.32.0/src/kcrash.cpp 2026-11-07 16:24:43.000000000 +0100 @@ -4,7 +4,7 @@ SPDX-FileCopyrightText: 2000 Tom Braun <[email protected]> SPDX-FileCopyrightText: 2010 George Kiagiadakis <[email protected]> SPDX-FileCopyrightText: 2009 KDE e.V. <[email protected]> - SPDX-FileCopyrightText: 2021 Harald Sitter <[email protected]> + SPDX-FileCopyrightText: 2021-2026 Harald Sitter <[email protected]> SPDX-FileContributor: 2009 Adriaan de Groot <[email protected]> SPDX-License-Identifier: LGPL-2.0-or-later @@ -245,7 +245,7 @@ // we enable drkonqi. This causes the signal handler to directly fork drkonqi opening us to race conditions. // NOTE: depending on the specific signal other threads are running while the signal handler runs and may trip over // the signal handler's closed FDs. That is primarily why we do not like JIT debugging. - if (enableDrKonqi && (!s_coreConfig.isProcess() || qEnvironmentVariableIntValue("KCRASH_JIT_DRKONQI") == 1)) { + if (enableDrKonqi && (s_coreConfig.isFile() || qEnvironmentVariableIntValue("KCRASH_JIT_DRKONQI") == 1)) { KCrash::setDrKonqiEnabled(true); } else { // Don't qDebug here, it loads qtlogging.ini very early which prevents unittests from doing QStandardPaths::setTestModeEnabled(true) in initTestCase() @@ -695,7 +695,7 @@ fprintf(stderr, "Unable to start Dr. Konqi\n"); } - if (s_coreConfig.isProcess()) { + if (!s_coreConfig.isFile()) { fprintf(stderr, "Re-raising signal for core dump handling.\n"); KCrash::setCrashHandler(nullptr); raise(sig); @@ -780,7 +780,7 @@ // If the process was started directly, use waitpid(), as it's a child... while (waitpid(pid, nullptr, 0) != pid) { } } - if (!s_coreConfig.isProcess()) { + if (s_coreConfig.isFile()) { // Only exit if we don't forward to core dumps _exit(253); }
