Sentry.init() causes app to hang on arm64
See original GitHub issue- Review the documentation: https://docs.sentry.io/platforms/javascript/electron/
- Search for existing issues: https://github.com/getsentry/sentry-electron/issues
- Use the latest release: https://github.com/getsentry/sentry-electron/releases
- Provide a link to the affected event from your Sentry account
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:
- Created 10 months ago
- Comments:8
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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!