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.

Crash when using recrypt in electron mac

See original GitHub issue

I 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 ?

error.log

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
vinaynbcommented, Sep 27, 2018

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.

0reactions
chunyenHuangcommented, Sep 22, 2018

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~

Read more comments on GitHub >

github_iconTop 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 >

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