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

Dev Tools crash when clearing Memory Profiles #6615

Closed
cTn-dev opened this issue May 14, 2018 · 4 comments
Closed

Dev Tools crash when clearing Memory Profiles #6615

cTn-dev opened this issue May 14, 2018 · 4 comments
Assignees

Comments

@cTn-dev
Copy link

cTn-dev commented May 14, 2018

NWJS Version : 0.30.4 SDK x64
Operating System : Windows 10 x64

Expected behavior

Profiles should be cleared

Actual behavior

Error was thrown and dev tools closed

How to reproduce

  1. open NW.js
  2. open inspector
  3. switch to memory tab
  4. take heap snapshot
  5. click clear all profiles (stop icon in the top left corner next to the collect garbage icon)

error

@Christywl
Copy link
Contributor

I can't reproduce this issue on Windows 10 x64 with nwjs-sdk-v0.30.4. The devtools works fine after clear all profiles.
You could upload your crash dump file here.

@cTn-dev
Copy link
Author

cTn-dev commented May 14, 2018

Due to the nature of processed data i am unable to submit a crash dump.

However i was able to hunt down the culprit, enabling node worker should trigger the crash.

add "chromium-args": "--enable-node-worker" to package.json

@Christywl
Copy link
Contributor

Now I can reproduce this issue on Windows/Linux with nwjs-sdk-v0.30.4. The devtools crash after clear all profiles.

A simple app: add "chromium-args": "--enable-node-worker" to package.json

@rogerwang
Copy link
Member

This is fixed in git and will be available in the next nightly build.

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

No branches or pull requests

3 participants