fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Fenix 2.0.0 hangs on splash screen - MacOS X 10.12.3

Open ajmas opened this issue 8 years ago • 7 comments

Fenix has recently started hanging on the Splash screen. The animation is happening with the three dots, but that is about it. It is not clear what is going wrong.

Tried removing all files in ~/Library/Application\ Support/fenix and ~/Library/Saved Application State/com.intel.nw.savedState/ but no change

What other Fenix related files could I be checking?

BTW a system restart did not help either.

ajmas avatar Mar 13 '17 20:03 ajmas

So sorry, this slipped through the cracks. Check your user directory. There is most likely a corrupted file at /Users/Shared/Fenix.localized/servers.fnx. It should be an obvious issue (like [Object object] instead of real values)... fixable by hand.

coreybutler avatar Apr 22 '17 04:04 coreybutler

The file looks ok. There was one path that was no long valid, but fixing it up didn't resolve things. The splash screen stays in place, but I do notice that the service on port 8082 does launch. At the same time testing it from the browser I see the connection opens, but does not complete responding.

Removing the file completely enables the Fenix to start normally. Also, removing the second entry from the existing file also allows it to complete starting, while removing the first entry instead does not.

The contents of the file are as follows:

[
  {
    "id": "60f8a8eebef8d83d73355ad1949559a6",
    "name": "Test",
    "domain": null,
    "port": 8881,
    "path": "/Users/ajmas/Downloads/test",
    "running": true,
    "starting": false,
    "stopping": false
  },
  {
    "id": "ef6d8dd59395f24ab864389c4861a588",
    "name": "My Server",
    "domain": null,
    "port": 8082,
    "path": "/Users/ajmas/Development/projectx",
    "running": true,
    "starting": false,
    "stopping": false
  }
]

ajmas avatar Apr 22 '17 08:04 ajmas

This is very odd. Are you using a JS framework or anything on the server that's causing the problem? There is one known framework that caused a similar issue several years ago, but I've never come across anything since.

coreybutler avatar Apr 30 '17 23:04 coreybutler

I have node.js 6.10.2 installed on my computer via MacPorts. Could that be an issue?

Have attached ouput of lsof, in case that helps.

lsof-ouput.txt

ajmas avatar Apr 30 '17 23:04 ajmas

It shouldn't be anything related to the other system apps... I was thinking more along the lines of UI frameworks. Specifically, I'm wondering if you're running into an issue similar to issue #15.

coreybutler avatar May 01 '17 15:05 coreybutler

I am not using that library and I am not sure I am using anything equivalent. I could try investigating myself, but I am not sure how to build a working version of Fenix from the source code in this project?

ajmas avatar May 01 '17 21:05 ajmas

The root cause of that other issue was a page that wasn't triggering a DOMContentLoaded event... which was causing the screenshot system to fail, in turn blocking processing. It's rare, but worth asking.

Even if there is an issue within Fenix, it is unlikely I'd fix or release a PR at this point. Fenix 3 is done, and it was completely re-engineered from the ground up. I just posted another update about the progress, but the likelihood of this issue being present in Fenix v3 is slim at best. If you're on the mailing list, you'll likely receive an invite pretty soon. If you're not, feel free to shoot me a private note and I'll add you to the release list.

coreybutler avatar May 02 '17 18:05 coreybutler