Open jsimomaa opened 10 months ago
I've also got the dump file if that is of any help?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
I can confirm that removing the System::Store calls here fixed the crashes for me - I'd submit a PR but I don't fully understand why they're necessary
I have a similar issue with electron-builder version 24.13.3 on Windows 11. When I try to launch the nsis installer it crashes with the following error: Faulting module name: System.dll, version: 0.0.0.0, time stamp: 0x5c157efa Exception code: 0xc0000005 Fault offset: 0x00001581 Faulting process id: 0x0xF30 Faulting application start time: 0x0x1DB05CD5454D5C0 Faulting application path: Faulting module path: C:\Users\\AppData\Local\Temp\nsmD439.tmp\System.dll Report Id: 0e92fa50-e642-47bd-8aac-4b2d8e89f8f8 Faulting package full name: Faulting package-relative application ID:
NSIS-installer randomly crashes for a fresh installation when installing for a single user.
Similar issues:
3545
I was able to catch the crash in WinDBG:
And here is the actual crash:
And the stack:
Only place in the source code that calls
System::Store
can be found here:https://github.com/electron-userland/electron-builder/blob/b8d6905582b28a9b36f11308f9a72ebc32dc2c86/packages/app-builder-lib/templates/nsis/multiUser.nsh#L25-L41