Electron OSX native crashes do not symbolicate


#1

Hi,
We are trying to setup crash handling for our Electron app for OSX, which consists of our own native node module. While we were able to send crash reports easily, they are not symbolicated - we’ve tried to upload both the original dSYM file and locally processed breakpad symbols file. There’s a cryptic “A binary image is referenced that is unknown.” in the crash reports which might be connected.

Also, we’ve tried to use “simple-breakpad-server” (google it) and the crashes symbolicate just fine, so it’s definitely not an issue with the symbols.

To demonstrate the issue, you can download a sample Electron project (based on the tutorials of node.js and electron) from here.

Steps to reproduce the issue:

  1. update main.js with an actual DSN.
  2. update sentry.properties (or just run the wizard again, I guess).
  3. cd to native and run build_native.sh script
  4. run gen_and_send_sym.sh to upload symbols to sentry (you’ll need to update this file also with actual org and project)
  5. back to the root of repo do the normal npm i and npm start
  6. to crash the app, just move the window.

I can also provide in private the actual sentry.io project/organization in case you want to take a look in the real project.

Thanks,
Sagi


#2

Since we didn’t get any response, we’ve integrated a solution from a different service. Hope to see Sentry fixing symoblication someday, as we are currently using different services for JS exceptions and native crashes.