XMBC dehooks and/or freezes after away for a long time

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links or images until they have at least 4 posts.
Post Reply
gillius
New User
Posts: 2
Joined: Fri May 22, 2020 2:54 pm

XMBC dehooks and/or freezes after away for a long time

Post by gillius »

XMBC Version: 2.19.1
Windows Version: Windows 10 build 18363
Mouse Information (brand/model): Logitech G5
Relevant Computer Information (CPU, RAM etc): i5-8365U, 16GB
Did the problem occur after an upgrade of XMBC? (If so, from what version?): maybe
Did the problem occur after a Windows update/upgrade? (If so, from what version?): no
How long have you used XMBC?: many years
What language and keyboard layout do you use in Windows?: US English

Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).:

Got a new laptop and installed 2.19.1 latest version on it. Copied my Roaming profile over from old machine, so XBMC settings did come over, and everything works, except when computer is locked for awhile, XBMC zombies. The process is still running, but the system tray icon is there only about half the time. If it is there, it shows red X as if it is disabled; re-enabling does not work. If the tray icon is gone, launching XMBC does not work. The only way to fix it is to end task the process from task manager, then it is possible to restart XMBC (otherwise XMBC shortcut appears to try to re-awaken the zombie XBMC). I've tried several different hook timeout settings. It only happens when my machine is locked for awhile. Maybe the trigger is when the monitors finally power off, or maybe it's the screensaver, but just simply locking and unlocking does not trigger it.

Here are the logs. At 13:38 is when I returned back to the machine to unlock it.

Code: Select all

*******************************************************************************************************************************************
22-05-2020 09:19:06.607> X-Mouse Button Control v2.19.1 (x64) Startup. Commandline '/notportable'
22-05-2020 09:19:06.609> Running in high integrity mode (0x00003000)
22-05-2020 09:19:06.622> Loaded 3 application specific profiles (3 normal and 0 custom window).
22-05-2020 09:19:06.623> Running on Microsoft Windows 10 Enterprise Edition (build 18363), 64-bit, Hook Timeout: 1000 ms
22-05-2020 09:19:06.623> Startup folder: 'C:\Program Files\Highresolution Enterprises\X-Mouse Button Control\'
22-05-2020 09:19:06.623> Settings (and log) folder: 'C:\Users\n9944491\AppData\Roaming\Highresolution Enterprises\XMouseButtonControl\'
22-05-2020 09:19:06.634> Warning: SendSPI(3, 0) called but the thread is not running!
22-05-2020 09:19:06.737> Using keyboard language 0x04090409
22-05-2020 09:43:51.417> CMyMessageWnd::OnSetup   -   Opening setup dialog.
22-05-2020 09:43:51.450> Loaded 3 application specific profiles (3 normal and 0 custom window).
22-05-2020 09:44:00.874> CMyMessageWnd::OnSetup   -   Setup dialog closed.
22-05-2020 09:44:00.878> Loaded 3 application specific profiles (3 normal and 0 custom window).
22-05-2020 09:45:10.200> Warning: SendSPI(3, 0) called but the thread is not running!
22-05-2020 09:45:10.303> Using keyboard language 0x04090409
22-05-2020 09:47:44.977> CMyMessageWnd::OnSetup   -   Opening setup dialog.
22-05-2020 09:47:44.998> Loaded 3 application specific profiles (3 normal and 0 custom window).
22-05-2020 09:56:36.981> CMyMessageWnd::OnSetup   -   Setup dialog closed.
22-05-2020 09:56:36.985> Loaded 3 application specific profiles (3 normal and 0 custom window).
22-05-2020 11:57:23.754> OnTaskBarCreated: Recreating systray icon
22-05-2020 13:38:09.407> OnTaskBarCreated: Recreating systray icon
22-05-2020 13:38:15.992> OnTaskBarCreated: Recreating systray icon
22-05-2020 13:38:20.245> SPIThread did not exit in a timely fashion!
22-05-2020 13:38:41.502> OnTaskBarCreated: Recreating systray icon

*******************************************************************************************************************************************

User avatar
phil
Site Admin
Posts: 6389
Joined: Sun Apr 06, 2003 11:12 pm

Re: XMBC dehooks and/or freezes after away for a long time

Post by phil »

Known issue - 2.19.2 out soon will fix it...
A search should have revealed at least this :):
https://forums.highrez.co.uk/viewtopic. ... 5fb2517c11
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

gillius
New User
Posts: 2
Joined: Fri May 22, 2020 2:54 pm

Re: XMBC dehooks and/or freezes after away for a long time

Post by gillius »

Thanks Phil for the quick response. I did try a search and scanned the list of recent posts. Clearly I did not do that well enough, because that post is pretty clear. I searched the titles on the XMBC page and probably used the word "hang" instead and searched for "lock". If it helps I did find the docs around hook timeout so I had something to try, and log files :).

I did see in the 2.19.1 changelog about sleeping and I'm not sleeping but I see what you said in the other post it also triggers other times. I couldn't find an old 2.19.0 link for download though to try. I will wait for 2.19.2.

And BTW, thanks for this tool I have used it many years to map my middle mouse to double click. I got hooked on it since Logitech DOS TSR driver in the 90s and use it on every computer since. And since XMBC > Logitech software and works everywhere, I use XBMC! I'm also a donator!

User avatar
phil
Site Admin
Posts: 6389
Joined: Sun Apr 06, 2003 11:12 pm

Re: XMBC dehooks and/or freezes after away for a long time

Post by phil »

No problem ... 2.19 suffers too - although slightly differently.
Im aiming to get 2.19.2 out this weekend - but it will depend on (B) - should be good for tomorrow fingers crossed - basically its all done and all I have to do it push the right buttons to make it live to all - so not too much trouble :)
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

Post Reply