question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sentry.init() causes app to hang on arm64

See original GitHub issue

Versions + Platform

  • SDK version - @sentry/electron@v4.1.2
  • Electron version - electron@v21.3.1
  • Platform - Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-1018-raspi aarch64)

Description

When deploying an electron-app which calls Sentry.init() on a RPi, the app seems to stop right at the line the init ist called. The only log that is printed is:

chrome_crashpad_handler: --database is required
Try 'chrome_crashpad_handler --help' for more information.
[9860:1125/163121.082983:ERROR:socket.cc(120)] recvmsg: Connection reset by peer (104)
Sentry.init(SentryConfig);

is the first line in the code, if I remove it, the app starts up fine.

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
Gmentsikcommented, Nov 28, 2022

My electron app is super simple, so I wouldn’t take it for granted. Only fs operation I did before is reading a config file, which worked.

Would be still nice to have any output or clue what’s wrong.

0reactions
timfishcommented, Dec 4, 2022

Oh sorry, I completely missed that in the description. It looks like this error is coming directly from Electron and no doubt due to the permissions.

I just double checked our file read/write code and everything is wrapped in try/catch so it shouldn’t cause any issues.

This can safely be closed!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android 11 + targetSdkVersion 30 crashes Sentry on start #904
React-Native. IDE: Android Studio; IntelliJ; Other ... I have the following issue: When I set the targetSdkVersion to 30 for my app and...
Read more >
App Hangs for Apple - Sentry Documentation
This integration tracks app hangs. This feature is available on iOS, tvOS, macOS, and watchOS. There are many reasons an app can become...
Read more >
iOS | Sentry Documentation
App Hang Detection · Out of memory · HTTP Client Errors; Start-up crashes. The SDK init waits synchronously for up to 5 seconds...
Read more >
Troubleshooting for JavaScript - Sentry Documentation
If your application started to misbehave because of performing additional OPTIONS requests, it is most likely an issue with unwanted sentry-trace request ......
Read more >
Android - Sentry Documentation
Sentry's Android SDK reports an error automatically whenever a thrown exception goes uncaught in your application causing the application to crash.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found