https://bugs.kde.org/show_bug.cgi?id=378494
--- Comment #6 from Milian Wolff <m...@milianw.de> --- Indeed, that work-arounds this issue: diff --git a/src/track/libheaptrack.cpp b/src/track/libheaptrack.cpp index b21b00b..6df2101 100644 --- a/src/track/libheaptrack.cpp +++ b/src/track/libheaptrack.cpp @@ -30,6 +30,8 @@ #include <fcntl.h> #include <link.h> #include <stdio_ext.h> +#include <pthread.h> +#include <signal.h> #include <atomic> #include <cinttypes> @@ -487,6 +489,14 @@ private: fprintf(stderr, "WARNING: Failed to open /proc/self/statm for reading.\n"); } timerThread = thread([&]() { + sigset_t mask; + sigfillset(&mask); + int ret = pthread_sigmask(SIG_SETMASK, &mask, nullptr); + if (ret < 0) { + perror("failed to block signals, disabling timer thread"); + return; + } + RecursionGuard::isActive = true; debugLog<MinimalOutput>("%s", "timer thread started"); while (!stopTimerThread) { I'm simply a bit reluctant applying it, as I don't know what else it could potentially break... -- You are receiving this mail because: You are watching all bug changes.