Closed Cherkah closed 8 months ago
Hi, @Cherkah. Thanks for the report. We do not officially maintain the AUR package for sentry-native. Please get in touch with the package maintainer directly.
I can see that crashpad
logs the following:
[14044:14044:20240323,213518.333990:WARNING exception_handler_server.cc:204] no ptrace
and that means that your /proc/sys/kernel/yama/ptrace_scope is set to 3 ("no attach"). In that configuration, no process can attach to any other process, even if the to-be-monitored process defines a pid as its ptracer. This makes both breakpad
and crashpad
unable to create a minidump, which is why that assertion fails.
@supervacuus
that means that your /proc/sys/kernel/yama/ptrace_scope is set to 3 ("no attach")
it's strange because i have in my sysctl.conf kernel.yama.ptrace_scope = 2
anay way, i'm gonna report it right to the AUR packager
Thanks
it's strange because i have in my sysctl.conf
kernel.yama.ptrace_scope = 2
In this case, ptrace-attach may also not be allowed because the handler process doesn't have the capability CAP_SYS_PTRACE
, which it typically has when it is run as root.
ok i've defined kernel.yama.ptrace_scope = 1
then reinstall sentry-native without issue:
[100%] Built target sentry_fuzz_json
==> Lancement de check()…
=============================================== test session starts ================================================
platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0
rootdir: /home/sagitarius/.cache/yay/sentry-native/src/sentry-native
plugins: pytest_httpserver-1.0.10
collected 324 items
tests/test_build_static.py ... [ 0%]
tests/test_integration_crashpad.py ..ssssss.....s.. [ 5%]
tests/test_integration_http.py .............. [ 10%]
tests/test_integration_ratelimits.py ... [ 11%]
tests/test_integration_stdout.py ............ [ 14%]
tests/test_unit.py ......................................................................................... [ 42%]
............................................................................................................ [ 75%]
............................................................................... [100%]
==================================== 317 passed, 7 skipped in 135.95s (0:02:15) ====================================
regards
Description probleme during buld on archlinux + KDE plasma6
Environment
Steps To Reproduce
pacman -S sentry-native
Log output