antimicrox icon indicating copy to clipboard operation
antimicrox copied to clipboard

Freezes on quit, does not terminate

Open grnassar opened this issue 2 years ago • 7 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

Running AntiMicroX in Windows 10, running as administrator. When I choose "quit" the program freezes, and rather than terminate its icon remains in the tray. If I instead close via the "X" window button, the window itself closes but the icon remains in the tray. ("Close to tray" is explicitly turned off in the settings, as is "minimize to taskbar" coincidentally.) Opening Task Manager confirms that the executable is still running, at which point it can be forcibly closed from there.

Expected Behavior

Program terminates on quit.

Steps To Reproduce

Start program Either go to the menu bar and choose "App -> Quit," or right-click on the icon in the tray and select "Quit" from the pop-up menu.

Environment

- OS: Windows 10 (21H2)
- AntiMicroX version: 3.2.4

Anything else?

No response

grnassar avatar Jul 01 '22 08:07 grnassar

antimicrox.log

grnassar avatar Jul 01 '22 08:07 grnassar

Possibly duplicate of https://github.com/AntiMicroX/antimicrox/issues/465

Could you try to re-download and reinstall AntiMicroX installer?

pktiuk avatar Jul 01 '22 11:07 pktiuk

I did, though I didn't uninstall first. Should I uninstall/reinstall?

On Fri, Jul 1, 2022, 6:17 AM Paweł Kotiuk @.***> wrote:

Possibly duplicate of #465 https://github.com/AntiMicroX/antimicrox/issues/465

Could you try to re-download and reinstall AntiMicroX installer?

— Reply to this email directly, view it on GitHub https://github.com/AntiMicroX/antimicrox/issues/480#issuecomment-1172236928, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFB4AZMKKQZZ5AANLLLPLDVR3HUPANCNFSM52L4LEGQ . You are receiving this because you authored the thread.Message ID: @.***>

grnassar avatar Jul 04 '22 17:07 grnassar

Apologies - ignore. I didn't redownload, just reinstalled. Misunderstood the request until I read the related but report. Thank you. I will try that shortly.

On Mon, Jul 4, 2022, 12:59 PM George Nassar @.***> wrote:

I did, though I didn't uninstall first. Should I uninstall/reinstall?

On Fri, Jul 1, 2022, 6:17 AM Paweł Kotiuk @.***> wrote:

Possibly duplicate of #465 https://github.com/AntiMicroX/antimicrox/issues/465

Could you try to re-download and reinstall AntiMicroX installer?

— Reply to this email directly, view it on GitHub https://github.com/AntiMicroX/antimicrox/issues/480#issuecomment-1172236928, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFB4AZMKKQZZ5AANLLLPLDVR3HUPANCNFSM52L4LEGQ . You are receiving this because you authored the thread.Message ID: @.***>

grnassar avatar Jul 04 '22 18:07 grnassar

@grnassar
Did it help?

pktiuk avatar Jul 26 '22 16:07 pktiuk

I have the same issue, but only with self-built app on Windows using MinGW-w64:

Building AntiMicroX from master branch at 1722f6d631a61c0147f4d8cd2529fa2f8bdcd814.

System info:

$ echo $OS
Windows_NT

$ uname -rv
3.3.5-341.x86_64 2022-07-04 21:33 UTC

According to #465 & #472 it is an incompatible version of SDL2.

$ sdl2-config --version
2.0.22

The fix in #472 is to downgrade SDL2 to version 2.0.20. Downgrading from 2.0.22 to 2.0.20 did indeed fix the problem.

Any clues as to what might be the conflict between *.20 & *.22?

Edit: Actually, the problem appears to be with a patch or configuration change added by MSYS2/MinGW-w64 between 2.0.22-1 & 2.0.22-2. I installed 2.0.22-1 & was able to shut down without any problems. I will check changes from MSYS2/MinGW-w64 project.

Edit: This is the patch that MSYS2/MinGW-w64 added that seems to be the problem. But it has been removed for version 2.24.0. So we will see if it is fixed when the new package is built. I suspect if the patch was submitted upstream to SDL devs the problem will persist.

AntumDeluge avatar Aug 26 '22 23:08 AntumDeluge

The patch was added upstream but the problem does not persist in 2.24.0.

AntumDeluge avatar Aug 27 '22 04:08 AntumDeluge