Construct 2 - NW.js Preview Leaves Ghost Processes

Report Construct 2 bugs here.

Post » Mon May 22, 2017 12:36 am

Problem Description
It seems like the recent NW.js release leaves ghost processes behind again.
I could only notice this happening in preview though so I assume that C2 is at fault.

Attach a Capx
Download HERE

Description of Capx
Random example to make use of NW.js preview.

Steps to Reproduce Bug
  • Open the example (make sure that NW.js v0.22.0 is installed)
  • Preview in NW.js
  • Notice that it previews just fine
  • Close the preview
  • Start The preview again and notice that it doesn't work
  • You should be able to notice 2 ghost processes
Observed Result
NW.js preview seems to have issues when used multiple times.
It leaves processes behind which seem to hinder all future previewing attempts.
(Manually closing those processes doesn't fix the issue either, which is very odd.)

Task manager processes:
Image

Expected Result
NW.js previewing should work fine, just like it did in earlier versions of NW.js / C2.

Affected Browsers
  • NW.js: (YES)
  • Chrome: (NO)
  • FireFox: (NO)
  • Internet Explorer: (NO)
Operating System and Service Pack
Win 7 SP1, everything up to date.

Construct 2 Version ID
Release 244 (64bit/Steam)
Last edited by TheRealDannyyy on Fri Jul 07, 2017 2:46 pm, edited 1 time in total.
ImageImageImageImage
B
56
S
20
G
76
Posts: 634
Reputation: 43,357

Post » Thu Jun 22, 2017 3:49 pm

With NW.js 0.23.0 I can't reproduce any problem, it always closes fine here.
Scirra Founder
B
387
S
230
G
87
Posts: 24,245
Reputation: 192,210

Post » Thu Jun 22, 2017 4:22 pm

Ashley wrote:With NW.js 0.23.0 I can't reproduce any problem, it always closes fine here.

Hmm... might be an issue caused by something on my end. Is there a way to completely "reset" NW.js (e.g. registry values)?
Please note that this only happens using C2 preview, the exported game runs and closes fine.
ImageImageImageImage
B
56
S
20
G
76
Posts: 634
Reputation: 43,357

Post » Thu Jul 27, 2017 3:23 am

Alright I finally found the issue and it's caused by the --in-process-gpu chromium arg. Removing that arg fixes all the "ghost process" problems.
EDIT: I have reported this issue to the NW.js dev's and they have confirmed it: https://github.com/nwjs/nw.js/issues/6059

This issue is not caused by Construct 2 and therefor can be closed.
Last edited by TheRealDannyyy on Thu Jul 27, 2017 3:22 am, edited 3 times in total.


Last bumped by TheRealDannyyy on Thu Jul 27, 2017 3:23 am.
ImageImageImageImage
B
56
S
20
G
76
Posts: 634
Reputation: 43,357


Return to Bugs

Who is online

Users browsing this forum: jagi and 0 guests