1
monnef
5y

After few weeks I got back to an Electron app. Rebuilt the thing, copied fresh binaries to a Win 10 VM, and the app doesn't even start, it instantly crashes. Literally nothing changed - libraries (and their versions) are same, source code is the same, node version is same, it was built on same machine, VM wasn't even started since then.

Tried a fresh Tux binary, and of course it runs fine.

God, I hate Windows. 😩

Comments
  • 0
    > God, I hate Windows.
    Okay. But what is the actual cause of the crashes? I don't see how "Windows bad!" follows from "neither app nor OS have changed". (Or how "Electron bad!" would follow OTOH)
  • 0
    @VaderNT So far it seems ASLR is responsible for the crashes (enabled by default in Windows). Weirdly enough, Linux implements this feature as well (and I verified it's enabled on my system), but it doesn't have any negative effect on the application. Not really sure if Windows and/or Electron are responsible 🤷‍♂️, only thing I can say is it works flawlessly on Linux.
Add Comment