-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup file crashing on Windows 8.1 & 10 #1269
Comments
To me it seems to be some race condition: I executed the same setup file multiple times and that worked. Running Delta Chat 0.901.0 now... |
We don't generate the setup file ourselves. It gets generated by electron builder. |
Well, I did nothing to make the setup file run successfully, I just executed it several times, like starting the engine of a car, and suddenly the setup process started, showing up the progress bar. I guess further investigation is needed to find the cause. Should you need any information about my Windows system, please let me know, thanks. |
Did this happen too on Deltachat Setup 0.900,1.exe? |
@Jikstra Do you mean 0.900.1 or 0.900.0? I had the latter one installed without any problem. If you want me to do a comparison, just let me know where I can grab 0.900.1, thanks. |
Ah sorry, mean 0.900.0, so just the previous setup file. |
Never mind. I just ran multiple tests with 0.900.0 and 0.901.0 and both have the very same issue. So it seems I was lucky in my first attempt of installing 0.900.0 (before 0.901.0 was released). See electron-userland/electron-builder#2751 as well. (Note: The exception offset is always the same, 0x00001581, so this should be the same issue.) |
Windows 7 and 10 seem to be affected as well, though I cannot test on such systems. Electron Builder 20.6.0 (pre-release) addresses an identical bug: electron-userland/electron-builder#2518 @Jikstra or @ another DC developer: Should the issue be solved with a higher version of Electron Builder, maybe you want to give it a try, compile a new Delta Chat setup file with it and send it over to me for testing, because this failure is thrown statistically in three of four tries on my system. |
@gerryfrancis we're using 21.2.0 so this should be fixed already Does the portable zip file work for you? |
@Jikstra The portable file works, but I have to enter my login credentials with every run, which is not so neat. FYI: Inspired by this comment vladimiry/ElectronMail#6 (comment) , I copied the setup file from the "Downloads" folder of my user profile to another location ("C:\test") to execute it from there for appx. five times, and I could not reproduce the issue. Then I ran the (original) downloaded file located in the "Downloads" folder again, which resulted in an "APPCRASH" right away. So, it seems that the path or working directory of/to the executable setup file has an influence. Merry Christmas to the whole team, you are doing a fantastic job! |
Gosh, I think I just nailed it... Pre-information: In my first post, I replaced my real name inside the path of my Windows user profile to "PC_USER". My full name consists of six characters for the first, and seven for the last (sir) name, with a space character in between. You might want to do the following test to reproduce the issue:
Result: No issues.
Result: At least one "APPCRASH" occurs. (I performed three tries, and all of them failed consistently.) My conclusion: Either the length of the full path name or a space character inside can be a huge problem for the installer. |
Sorry, I accidentally closed the issue by pressing the wrong button... |
The issue most likely will not occur with Windows 10 under Microsoft user accounts, because usually the first five characters of the mail address are applied to the user directory name (e.g.: A Microsoft user account "[email protected]" will have the profile path "C:\Users\first", considering that "C:" is the Windows OS volume.). However, earlier user profiles with longer user names might exist when the Windows OS has been upgraded to Windows 10... |
Still an issue in version 0.999.1. |
We didn't update electron builder in 0.999.1 but shortly after. I want to trigger some preview builds including a recent electron builder to see if it works for you. Probably tomorrow or the next days. |
Sorry, it is still an issue in version 1.0.0: - Logs: Looks like it has something to do with this: #1269 (comment) |
Still an issue in version 1.1.0: Name der fehlerhaften Anwendung: DeltaChat Setup 1.1.0.exe, Version: 1.1.0.0, Zeitstempel: 0x5c157f86 |
It seams like i have the exact same issue on windows 10. edit: on my previous install I was using 0.999 successfully, however i just reformatted and started with a fresh install of win10-64 and only now i got this bug |
hi. thank you for your reply. In fact, sometimes my program installed on windows 7 has a similar crash problem. How do you solve this problem? Can you share it?thanks! I also used electron-builder |
@xiajingren we probably didn't fix it yet, let's ask @gerryfrancis about this as he reproduced it most often i think? |
@Jikstra thank you very much. my situation is the same as this issue: electron-userland/electron-builder#3545 |
@Jikstra Sorry for the late reply, I was not able to test earlier. Yes, unfortunately the issue still exists, I cannot install version 1.14.1 right now, same behavior... |
Still an issue in version 1.15.1. |
Still an issue in version 1.15.3. |
Still an issue in version 1.15.5. |
Still an issue in version 1.20.1. |
Still an issue in version 1.20.2. |
Still an issue in version 1.20.3. |
electron-userland/electron-builder#5119 might help debugging this, but changing stuff in cache directories is not a clean solution in my eyes. Also there is the option to disable the oneclick installer and allow the user to choose where to install DC to: https://www.electron.build/configuration/nsis |
somebody could look in the NSIS issue tracker if they find our issue there, if someone has time to do it currently: https://sourceforge.net/p/nsis/bugs/ |
Still an issue in version 1.21.0. |
Still an issue in version 1.36.2. |
|
@farooqkz Why do you think the issue might be related? That crash occurs at the end of the Installation process, while our crash happens immediately after the launch of the setup program. |
my bad. didn't read carefully |
does this still happen with https://download.delta.chat/desktop/v1.45.4/ ? Also we gave up on the certificate / windows signing for now as it is too annoying & expensive to get a signing key, maybe we'll pick it up in the future again, but you can already get deltachat over the microsoft store, so might not be needed (especially as you still get the annoying warnings, even when you have a certificate). |
@gerryfrancis sorry for repeating the same question since years now... :-( |
Lasted status that I know: Anyways after many years nobody managed to fix it, so I'll close it as won't fix. |
I think we should distinguish two issues here:
|
- Platform (linux/mac/windows):
Windows 8.1 Pro (x64).
- Delta Chat Desktop Version:
0.901.0-1.34.1.
- Expected behavior:
Setup starts and installs Delta Chat.
- Actual behavior:
Setup starts but fails to install Delta Chat.
- Logs:
From Windows Event Log (unfortunately in German):
Name der fehlerhaften Anwendung: DeltaChat Setup 0.901.0.exe, Version: 0.901.0.0, Zeitstempel: 0x5a6fed7c
Name des fehlerhaften Moduls: System.dll, Version: 0.0.0.0, Zeitstempel: 0x5a6fed15
Ausnahmecode: 0xc0000005
Fehleroffset: 0x00001581
ID des fehlerhaften Prozesses: 0x20f8
Startzeit der fehlerhaften Anwendung: 0x01d5b89db8f3119f
Pfad der fehlerhaften Anwendung: C:\Users\PC_USER\Downloads\DeltaChat Setup 0.901.0.exe
Pfad des fehlerhaften Moduls: C:\Users\PC_USER\AppData\Local\Temp\nsd4150.tmp\System.dll
Berichtskennung: f7848027-2490-11ea-8357-5c514fe0a33e
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
- Comments:
"DeltaChat Setup 0.900.0.exe" executes successfully, the prior version has been uninstalled.
The text was updated successfully, but these errors were encountered: