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

[v0.18.1] --single-process Seg Fault #5382

Closed
divinemanwah opened this issue Oct 20, 2016 · 5 comments
Closed

[v0.18.1] --single-process Seg Fault #5382

divinemanwah opened this issue Oct 20, 2016 · 5 comments
Assignees

Comments

@divinemanwah
Copy link

The following errors are displayed when I tried to add --single-process on the CLI or added on the chromium-args property:

[6680:6340:1020/112613:ERROR:proxy_service_factory.cc(127)] Cannot use V8 Proxy resolver in single process mode.
[6680:6340:1020/112613:ERROR:proxy_service_factory.cc(127)] Cannot use V8 Proxy resolver in single process mode.
[1020/112613:ERROR:process_reader_win.cc(233)] ReadMemory at 0xa399fbb of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[1020/112613:ERROR:crash_report_exception_handler.cc(98)] WriteEverything failed
Segmentation fault

Previous app worked with v0.17.3 but without the single process mode.

nwjs-sdk-v0.18.1-win-x64
Windows 7

@divinemanwah
Copy link
Author

divinemanwah commented Oct 20, 2016

Update:

Tried again with the out-of-the-zip distribution (plain, no other codes involved), the following error still happens using --single-process:

$ nw --single-process
[6204:7408:1020/113834:ERROR:proxy_service_factory.cc(127)] Cannot use V8 Proxy resolver in single process mode.
[6204:7408:1020/113834:ERROR:proxy_service_factory.cc(127)] Cannot use V8 Proxy resolver in single process mode.
[6204:3996:1020/113835:ERROR:angle_platform_impl.cc(33)] ANGLE Display::initialize error 5: DXGI 1.2 required to present to HWNDs owned by another process.
[6204:3996:1020/113835:ERROR:gl_surface_egl.cc(612)] eglInitialize D3D11 failed with error EGL_NOT_INITIALIZED, trying next display type
Segmentation fault

@rogerwang rogerwang self-assigned this Oct 21, 2016
@rogerwang
Copy link
Member

It works for me. Could you please provide the crash dump file?

@rogerwang
Copy link
Member

btw, is your second comment under linux? Please try with '--disable-gpu'

@divinemanwah
Copy link
Author

Hi @rogerwang, my package.json already has --disable-gpu option enabled. Here is my crash dump file. Thanks!

reports.zip
Note: The one that starts with 5e655e21 is my app, and the one starting with 5f2e9c47 is the plain NWJS app.

@rogerwang
Copy link
Member

This is fixed in git according to the crash dump 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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants