kiwix-js-pwa icon indicating copy to clipboard operation
kiwix-js-pwa copied to clipboard

NWJS app crashes randomly with some Wikipedia articles in Service Worker mode

Open Jaifroid opened this issue 2 years ago • 3 comments

The NWJS app is crashing on some Wikipedia articles in Service Worker mode only. It is a complete app crash and exit, with an exit code of 3221225477, which seems to represent a memory segmentation fault at a very low level, which is quite bizarre. An example of an article which causes this crash systematically is "Atmospheric carbon dioxide".

The same articles trigger no fault in the UWP or Electron apps in Service Worker mode.

As a workaround, for now, release 1.9.3 sets JQuery mode as the default for the NWJS app, since the fault does not occur in JQuery mode.

Jaifroid avatar Mar 06 '22 16:03 Jaifroid

App still randomly crashes and exits when running in SW mode even with NWJS vestion 0.70.0.

Jaifroid avatar Oct 30 '22 14:10 Jaifroid

Confirmed to be an issue still in v2.5.0. Module memory management hasn't fixed it. The use case for NWJS is almost non-existent: the only reason to use it now is for Windows XP/Vista, and in those contexts this bug does not occur (because they only support jQuery mode).

Jaifroid avatar Jun 04 '23 08:06 Jaifroid

Updated NWJS app to 64bit. Let's see if it helps.

Jaifroid avatar Apr 25 '24 14:04 Jaifroid