Skip to content

Check for permissions before starting crashpad #792

Closed

Description

@bitsandfoxes

I've come across this from the Unreal perspective. sentry-native gets initialized during startup but the crashpad_handler does not have executable permission (i.e. -rw-r--r--)
This leads to the following logs

Log          LogSentrySdk              background worker thread started
Log          LogSentrySdk              failed to start crashpad client handler
Log          LogSentrySdk              failed to initialize backend
Log          LogSentrySdk              `sentry_init` failed
Log          LogSentrySdk              shutting down transport
Log          LogSentrySdk              shutting down background worker thread
Log          LogSentrySdk              submitting task to background worker thread
Log          LogSentrySdk              background thread failed to shut down cleanly within timeout
Log          LogSentrySdk              executing task on worker thread
Log          LogSentrySdk              background worker thread shut down
Log          LogSentrySdk              Sentry initialization completed with result 1 (0 on success).

Which is fair enough, but it'd be great if it could check permissions to execute the backend first and let me know what's wrong and how to fix it, to make this a bit more actionable.

Activity

  1. Codball commented on Dec 4, 2023

    @Codball

    Ran across this, how would you fix it? I'm uploading builds to aws, was hoping it would work out of the box.

  2. moved this to Waiting for: Product Owner in GitHub Issues with 👀on Dec 4, 2023
  3. supervacuus commented on Dec 6, 2023

    @supervacuus
    Collaborator

    Ran across this, how would you fix it? I'm uploading builds to aws, was hoping it would work out of the box.

    What do you mean? What did you run across? What would you want to fix? How does uploading to AWS affect this situation? What didn't work out of the box?

    This issue is about adding explicit checks to the crashpad backend to determine whether the crashpad_handler is executable for the current user. How does your problem relate to that?

  4. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀on Dec 6, 2023
  5. added
    Improvement
    on Apr 8, 2025
  6. added
    Native
    and removed on Aug 8, 2025
  7. added
    Errors
    on Mar 26, 2026
  8. added 2 commits that reference this issue on Jul 15, 2026
    a7d432e
    3c33875
  9. added a commit that references this issue on Jul 28, 2026
    36f5fd2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ErrorsImprovementNative

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions