Comments (4)
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
from sentry-native.
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.
from sentry-native.
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
from sentry-native.
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.
from sentry-native.
Related Issues (20)
- Is there a way to get Sentry to use the debug symbols that are compiled in to the executable? HOT 11
- Crashpad linking error on x86_64 windows HOT 9
- Incorrect issue grouping on Windows HOT 5
- Feature Request: Provide explicit timings to the Performance Monitoring API HOT 4
- Add Linux distro meta-data to OS context. HOT 4
- Qt Android integration documentation HOT 7
- [native] Add support for Sentry Metrics
- Proposal: official crashpad handler as application exe HOT 1
- Set user agent string (sdk name + version) HOT 4
- Exception not catched in sentry - how to investigate why HOT 12
- [#inc-517] Re-test repros before and after applying Google Jan 24 updates HOT 2
- [#inc-517] Document caveats of signalhandlers and sigaltstack HOT 3
- [Epic] #inc-517 Followups HOT 1
- [#inc-517] Add basic crashing test with asan (HW Asan, GWP-ASan)
- [linux] RISC-V 32/64 support HOT 1
- Android NDK Segfault crash related to `sentry_value_set_by_key_n` HOT 4
- Craspad under Epic's "Easy Anti-Cheat" HOT 6
- Stack overflow not sent to backend HOT 10
- Extend envelope API to allow event-specific attachments HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-native.