Crash when using recrypt in electron mac
See original GitHub issueI am trying to remove decryption from a pdf file and below is my code which crashes right now
function decryptPdf(source, dest) {
return new Promise((resolve, reject) => {
let pwd = 'test';
hummus.recrypt(source, dest, {
password: pwd});
resolve();
});
}
Application crashes on mac but works on linux. I have attached mac system error log below as i am not able to get a hang of it (no experience with native apps in mac).
I have recompiled hummus with electron specific headers so that should not be an issue i think. Do i need to recompile hummus-recipe as well ?
electron version - 1.7.9 hummus recipe - 1.7.4 hummus - 1.0.88 mac os High Sierra 10.13.5
Any help ?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
[Bug]: Mac crash on startup · Issue #34253 · electron ... - GitHub
App not crashing on mac. All other distributions work fine! Actual Behavior. The app crash immediatly after installing/boot up. Testcase Gist ...
Read more >Electron Releases - v17.0.0 Compare To
#32567; Fixed a crash when starting VoiceOver on macOS. #32578; Fixed a potential crash in v8 by using allocation type: kOld in v8...
Read more >Docker Desktop release notes
Implemented docker run —-platform in the containerd integration. Fixed a bug that caused insecure registries not to work with the containerd ...
Read more >Electron v17.0.0-alpha.1 Release - GitClear
:electron: Build cross-platform desktop apps with JavaScript, HTML, ... Electron: v17.0.0-alpha.1 Release ... fix: mac window crash native theme update.
Read more >Advanced Crash Report Symbolication | PSPDFKit
iOS Guides. Advanced Crash Report Symbolication. This guide assumes you've read our Bug Reporting guide and need to manually symbolicate a crash report....
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
I will try to use other features and let you know if they work or not. Let me know if you need anything else from me.
I can not really tell the issue from your log, do you have the same issue for other features or just encryption? No secret, the encryption requires fs read/write, so it could be the issue. https://github.com/chunyenHuang/hummusRecipe/blob/master/lib/encrypt.js#L35 I might need more info from you~