Tweak for plezy
Some checks failed
nightly-build / build (bacula) (push) Successful in 1m23s
nightly-build / build (fchat-horizon-appimage) (push) Successful in 40s
nightly-build / build (openrgb-git) (push) Successful in 1h21m2s
nightly-build / build (paru) (push) Successful in 51s
nightly-build / build (plezy) (push) Failing after 10m39s
nightly-build / build (qownnotes) (push) Successful in 44s
nightly-build / build (ventoy-bin) (push) Successful in 42s
nightly-build / build (visual-studio-code-bin) (push) Successful in 42s
Some checks failed
nightly-build / build (bacula) (push) Successful in 1m23s
nightly-build / build (fchat-horizon-appimage) (push) Successful in 40s
nightly-build / build (openrgb-git) (push) Successful in 1h21m2s
nightly-build / build (paru) (push) Successful in 51s
nightly-build / build (plezy) (push) Failing after 10m39s
nightly-build / build (qownnotes) (push) Successful in 44s
nightly-build / build (ventoy-bin) (push) Successful in 42s
nightly-build / build (visual-studio-code-bin) (push) Successful in 42s
This commit is contained in:
19
plezy/0001-sentry-native-inproc-backend.patch
Normal file
19
plezy/0001-sentry-native-inproc-backend.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt
|
||||
index 29b0af464..721fa7864 100644
|
||||
--- a/linux/CMakeLists.txt
|
||||
+++ b/linux/CMakeLists.txt
|
||||
@@ -81,6 +81,14 @@ set_target_properties(${BINARY_NAME}
|
||||
)
|
||||
|
||||
|
||||
+# Build sentry-native with the in-process backend instead of crashpad. The
|
||||
+# crashpad backend forks a handler and calls setsid(), which fails (EPERM) when
|
||||
+# plezy is launched as a systemd app scope / session leader, tripping a fatal
|
||||
+# CHECK in crashpad that SIGTRAPs on startup. inproc installs in-process signal
|
||||
+# handlers and avoids the fork/setsid path. Overrides the plugin's forced
|
||||
+# SENTRY_BACKEND=crashpad via the env-var escape hatch in sentry-native.cmake.
|
||||
+set(ENV{SENTRY_NATIVE_BACKEND} "inproc")
|
||||
+
|
||||
# Generated plugin build rules, which manage building the plugins and adding
|
||||
# them to the application.
|
||||
include(flutter/generated_plugins.cmake)
|
||||
Reference in New Issue
Block a user