Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiled addon for nwjs not works #332

Open
xueqino1 opened this issue Apr 22, 2024 · 0 comments
Open

compiled addon for nwjs not works #332

xueqino1 opened this issue Apr 22, 2024 · 0 comments

Comments

@xueqino1
Copy link

I compiled iohook addon with command "cmake-js rebuild --runtime=nw --runtimeVersion=0.37.3 --arch=x64", it works fine in nwjs 0.37.3. and nwjs 0.37.4 works fine too with the command "cmake-js rebuild --runtime=nw --runtimeVersion=0.37.4 --arch=x64". then I compile iohook for higher nwjs versions, the processes were all finished successfully, without any errors.but the nwjs crashed when it loads iohook , I test nwjs versions 0.58.0 0.69.1 0.86.0 ,they all crashed. it seems all versions upper than 0.37.4 don't work. I tested some node versions (V17.8.0 , V15.14.0 etc) with compile command "cmake-js rebuild --runtime=node --runtimeVersion=x.x.x --arch=x64", they all work fine.

test step:
run nw.exe, F12 open devtools, input 'const a = require("iohook") ' in console, then the devtools window quit, and the main window show crashed.

I got the crashpad file, but I don't have enough knowledge to analyze it.could you take a look? thanks so much
76f65f70-ca57-4c4a-b95d-5f530f99c7ec.dmp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant