From 02cda6bebf327e85c8b238961ce0514a66b92709 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Mon, 6 Oct 2025 23:20:21 +0200 Subject: systeminfo: log system package versions (#11946) --- src/debug/CrashReporter.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/debug/CrashReporter.cpp') diff --git a/src/debug/CrashReporter.cpp b/src/debug/CrashReporter.cpp index f52062be..17c4ebf7 100644 --- a/src/debug/CrashReporter.cpp +++ b/src/debug/CrashReporter.cpp @@ -165,6 +165,10 @@ void NCrashReporter::createAndSaveCrash(int sig) { finalCrashReport += "\n\nos-release:\n"; finalCrashReport.writeCmdOutput("cat /etc/os-release | sed 's/^/\t/'"); + finalCrashReport += '\n'; + finalCrashReport += getBuiltSystemLibraryNames(); + finalCrashReport += '\n'; + // dladdr1()/backtrace_symbols()/this entire section allocates, and hence is NOT async-signal-safe. // Make sure that we save the current known crash report information, // so that if we are caught in a deadlock during a call to malloc(), -- cgit v1.2.3