[GH-ISSUE #1220] [Windows] App crashes on startup after update from version 4.7.0.0 to 4.8.1.9/4.8.2.3 #456

Open
opened 2026-10-13 20:21:56 +00:00 by bsakaguchi · 7 comments
Owner

Originally created by @Eg32 on GitHub (Oct 30, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1220

App starts , shows "Preparing status", then freezes for second and crush without errors.

To Reproduce

  1. Install AmneziaVPN 4.7.0.0 x64 for Windows
  2. Set up self hosted vpn
  3. UPD: Turn on autoconnect BEFORE update
  4. Update AmneziaVPN to 4.8.2.3 (installer from Releases page)
  5. Start app

Expected behavior
App starts and working normally.

Log files
AmneziaVPN.log

Desktop (please complete the following information):

  • OS: Windows 10 22H2
  • App version 4.8.2.3

Additional context
Previosly I used 4.7.0.0 with self-host server. Around week ago the application started to work unstably: sometimes it did not connect when the system started, and did not disconnect correctly (required a PC reboot to restore the network). Then I decided to update to a newer version hoping for a fix.
I installed 4.8.2.3. After app launching, I see "Preparing" status for 1-2 sec and it's crash, without any errors. The same behavior when I downgrade to 4.8.1.9. When I downgrade to 4.7.0.0, app starts normally.

UPD: Turning off autoconnect in the older version and then update works for me.
If I turning it on in newer version after successful first launch, it's breaks down again. I suppose, it's known bug for these versions/update from older versions, but it's still unpleasant.

Originally created by @Eg32 on GitHub (Oct 30, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1220 App starts , shows "Preparing status", then freezes for second and crush without errors. **To Reproduce** 1. Install AmneziaVPN 4.7.0.0 x64 for Windows 2. Set up self hosted vpn 3. **UPD: Turn on autoconnect BEFORE update** 4. Update AmneziaVPN to 4.8.2.3 (installer from Releases page) 5. Start app **Expected behavior** App starts and working normally. **Log files** [AmneziaVPN.log](https://github.com/user-attachments/files/17576169/AmneziaVPN.log) **Desktop (please complete the following information):** - OS: Windows 10 22H2 - App version 4.8.2.3 **Additional context** Previosly I used 4.7.0.0 with self-host server. Around week ago the application started to work unstably: sometimes it did not connect when the system started, and did not disconnect correctly (required a PC reboot to restore the network). Then I decided to update to a newer version hoping for a fix. I installed 4.8.2.3. After app launching, I see "Preparing" status for 1-2 sec and it's crash, without any errors. The same behavior when I downgrade to 4.8.1.9. When I downgrade to 4.7.0.0, app starts normally. **UPD:** Turning off autoconnect in the older version and then update works for me. If I turning it on in newer version after successful first launch, it's breaks down again. I suppose, it's known bug for these versions/update from older versions, but it's still unpleasant.
Author
Owner

@a1termoon commented on GitHub (Oct 30, 2024):

Problem in autoconnect. Disable it and program will start normaly.

<!-- gh-comment-id:2448302485 --> @a1termoon commented on GitHub (Oct 30, 2024): Problem in autoconnect. Disable it and program will start normaly.
Author
Owner

@Yoti commented on GitHub (Oct 31, 2024):

Same here. Win11 and clean install of the 4.8.1.9.
The program has autorun and autoconnect enabled.
The program has 100% crash rate when I run it from taskbar.
And I have good successful rate by clicking on AmneziaVPN.exe.

<!-- gh-comment-id:2450020124 --> @Yoti commented on GitHub (Oct 31, 2024): Same here. Win11 and clean install of the 4.8.1.9. The program has autorun and autoconnect enabled. The program has 100% crash rate when I run it from taskbar. And I have good successful rate by clicking on AmneziaVPN.exe.
Author
Owner

@40OIL commented on GitHub (Nov 1, 2024):

4.7.0.0 on Windows 10 LTSC Ver 21H2 Assembly 19044.5011
autorun enabled, autoconnect disabled.

Имя сбойного приложения: AmneziaVPN.exe, версия: 4.7.0.0, метка времени: 0x66c4952e
Имя сбойного модуля: ucrtbase.dll, версия: 10.0.19041.3636, метка времени: 0x81cf5d89
Код исключения: 0xc0000409
Смещение ошибки: 0x000000000007286e
Идентификатор сбойного процесса: 0x1468
Время запуска сбойного приложения: 0x01db2c1409a48394
Путь сбойного приложения: C:\Program Files\AmneziaVPN\AmneziaVPN.exe
Путь сбойного модуля: C:\Windows\System32\ucrtbase.dll
Идентификатор отчета: f3b305ff-af81-43ab-87cc-bb4aa0e7ccd9
Полное имя сбойного пакета: 
Код приложения, связанного со сбойным пакетом: 

rolled back to 4.6.0.3 - starts normally

<!-- gh-comment-id:2451264023 --> @40OIL commented on GitHub (Nov 1, 2024): 4.7.0.0 on Windows 10 LTSC Ver 21H2 Assembly 19044.5011 autorun enabled, autoconnect disabled. ``` Имя сбойного приложения: AmneziaVPN.exe, версия: 4.7.0.0, метка времени: 0x66c4952e Имя сбойного модуля: ucrtbase.dll, версия: 10.0.19041.3636, метка времени: 0x81cf5d89 Код исключения: 0xc0000409 Смещение ошибки: 0x000000000007286e Идентификатор сбойного процесса: 0x1468 Время запуска сбойного приложения: 0x01db2c1409a48394 Путь сбойного приложения: C:\Program Files\AmneziaVPN\AmneziaVPN.exe Путь сбойного модуля: C:\Windows\System32\ucrtbase.dll Идентификатор отчета: f3b305ff-af81-43ab-87cc-bb4aa0e7ccd9 Полное имя сбойного пакета: Код приложения, связанного со сбойным пакетом: ``` rolled back to 4.6.0.3 - starts normally
Author
Owner

@Eg32 commented on GitHub (Nov 3, 2024):

Problem in autoconnect. Disable it and program will start normaly.

Thanks, that's works for me. Updated initial issue for more clarity.

<!-- gh-comment-id:2453240272 --> @Eg32 commented on GitHub (Nov 3, 2024): > Problem in autoconnect. Disable it and program will start normaly. Thanks, that's works for me. Updated initial issue for more clarity.
Author
Owner

@Yoti commented on GitHub (Nov 5, 2024):

Autoconnect disabler fix:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf]
"autoConnect"="false"

amneziavpn_autoconnect_disable.zip

<!-- gh-comment-id:2456889140 --> @Yoti commented on GitHub (Nov 5, 2024): Autoconnect disabler fix: ``` Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf] "autoConnect"="false" ``` [amneziavpn_autoconnect_disable.zip](https://github.com/user-attachments/files/17631437/amneziavpn_autoconnect_disable.zip)
Author
Owner

@40OIL commented on GitHub (Nov 5, 2024):

autoconnect disabled.

autoconnect is disabled for me, it still won't start.
maybe that's the problem? and how can I find a fix?

<!-- gh-comment-id:2458053624 --> @40OIL commented on GitHub (Nov 5, 2024): > autoconnect disabled. autoconnect is disabled for me, it still won't start. maybe [that's](https://overclockers.ru/blog/ITznaniya/show/188606/Microsoft-predlagaet-ispravlenie-dlya-prilozhenij-kotorye-ne-rabotajut-na-Windows-10) the problem? and how can I find a fix?
Author
Owner

@e-t-l commented on GitHub (Feb 10, 2025):

Problem in autoconnect. Disable it and program will start normaly.

Thanks, that's works for me. Updated initial issue for more clarity.

If that's the case, is there any way to make it start up and connect without manually clicking through the GUI? Does Amnezia have any command-line parameters?

<!-- gh-comment-id:2647183734 --> @e-t-l commented on GitHub (Feb 10, 2025): > > Problem in autoconnect. Disable it and program will start normaly. > > Thanks, that's works for me. Updated initial issue for more clarity. If that's the case, is there any way to make it start up and connect without manually clicking through the GUI? Does Amnezia have any command-line parameters?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#456
No description provided.