summaryrefslogtreecommitdiff
path: root/src/debug/CrashReporter.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-10-06 23:20:21 +0200
committerGitHub <noreply@github.com>2025-10-06 23:20:21 +0200
commit02cda6bebf327e85c8b238961ce0514a66b92709 (patch)
tree305e7c95863c4e91e67546857be07f895d9b3252 /src/debug/CrashReporter.cpp
parent73f06434a43c75b3a81e31a6ed7586a14a9c7a48 (diff)
systeminfo: log system package versions (#11946)
Diffstat (limited to 'src/debug/CrashReporter.cpp')
-rw-r--r--src/debug/CrashReporter.cpp4
1 files changed, 4 insertions, 0 deletions
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(),