JSPM

electron-atos

1.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q33370F
  • License ISC

Symbolicate Electron macOS crashes

Package Exports

  • electron-atos

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (electron-atos) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

electron-atos

Symbolicate an Electron macOS crash report that is missing symbols using atos.

This library downloads the dSYM assets needed to symbolicate and stores them in a cache folder relative to the module. These files are large (~300MB) and may take some time download initially.

Symbolicating may take some time since the frameworks loaded are quite large. Expect each line in the file to take up to 5 seconds to symbolicate.

npm install electron-atos

Usage

  • Copy the lines missing symbols from a crash report to a local crash.txt file:
0   com.github.electron.framework 	0x000000010d01fad3 0x10c497000 + 12094163
1   com.github.electron.framework 	0x000000010d095014 0x10c497000 + 12574740
  • Run electron-atos and specify the path to the file and the version of Electron that was being used.
electron-atos --file /path/to/crash.txt --version 1.4.14
  • The symbols of the given address(es) will be printed out:
content::RenderProcessHostImpl::Cleanup() (in Electron Framework) (render_process_host_impl.cc:1908)
content::ServiceWorkerProcessManager::Shutdown() (in Electron Framework) (__tree:165)