Git Product home page Git Product logo

Comments (4)

Cherkah avatar Cherkah commented on June 16, 2024 1

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.

supervacuus avatar supervacuus commented on June 16, 2024

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.

Cherkah avatar Cherkah commented on June 16, 2024

@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

from sentry-native.

supervacuus avatar supervacuus commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.