FREEZE

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.
BoseRoHS
Member
Posts: 16
Joined: Wed Jan 15, 2014 1:58 pm

FREEZE

Post by BoseRoHS » Wed Jan 15, 2014 2:04 pm

It's a trap! No, really, seriously.

Just installed XMOUSE after not using it for such a long time and the program slipped my mind, it's been years though. Excellent tool!

Anyway, when I launch and exit out of XMOUSE my system hangs, freezes, for about 10-30 seconds. Then all is ok.

Edit:
I uninstalled the windows installer version and now using the portable, nothing freezes. Will report back if issues continue. .... well, back after 2 minutes, portable version hangs, freezes, the system too.

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

Re: FREEZE

Post by phil » Wed Jan 15, 2014 2:29 pm

By "windows installer version" do you mean the installation kit? It does not use windows installer and has not for about 4 years, so either you are using a really old version or you meant the "installable" version.

I wonder if there Is anything in the log file(s) - it does log timing information so it might be able narrow down where this freeze is happening. The portable version uses different settings, but assuming everything is configured in the same way, it should be no different during startup/shutdown.

Do both the mouse and keyboard freeze? If so my guess would be something is causing it to take time while installing the hooks, I dont know what though, we might need to start in debug mode (using a command line option) so we get diagnostic logging of the startup sequence.

Thanks,
Phil
--[ 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)

BoseRoHS
Member
Posts: 16
Joined: Wed Jan 15, 2014 1:58 pm

Re: FREEZE

Post by BoseRoHS » Wed Jan 15, 2014 2:46 pm

Yes, I mean your method of packing your software. I'm using 2.6.2 version, latest.

Log file:

Code: Select all

********************************************************************************
15-01-2014 07:10:30.0845> X-Mouse Button Control v2.6.2 (x64) Startup. Commandline ''
15-01-2014 07:10:30.0845> Running on Microsoft Windows 8  (build 9200), 64-bit, Hook Timeout: 5000 ms
15-01-2014 07:10:30.0845> Automatically enabling portable mode, using settings file 'F:\DATA_HYPER\HYPER.2\System_Utilites\INPUT DEVICES\XMOUSE\64bit (x64)\XMBCSettings.xml'
15-01-2014 07:10:30.0845> Hooking the mouse...
15-01-2014 07:10:30.0845> Successfully hooked into the mouse messages.
15-01-2014 07:10:30.0845> HookThread: Successfully set the mouse hook 0x1E000C3D
15-01-2014 07:10:30.0845> HookThread: Successfully set the keyboard hook 0x1560D65
15-01-2014 07:10:30.0876> Successfully created the main message window.
15-01-2014 07:10:37.0335> CMyMessageWnd::OnSetup   -   Clear hotkeys...
15-01-2014 07:10:37.0335> CMyMessageWnd::OnSetup   -   Opening setup dialog.
15-01-2014 07:10:42.0685> CMyMessageWnd::OnSetup   -   Setup dialog closed.

********************************************************************************
15-01-2014 07:13:44.0317> X-Mouse Button Control v2.6.2 (x64) Startup. Commandline ''
15-01-2014 07:13:44.0317> Startup. Sending commandline to existing instance of X-Mouse Button Control
15-01-2014 07:13:44.0317> Successfully finished communicating with first X-Mouse Button Control instance. Exiting.
15-01-2014 07:13:44.0317> X-Mouse Button Control Shutdown.
15-01-2014 07:13:44.0317> Received message with data 0x80000004 from another instance of X-Mouse Button Control.
15-01-2014 07:13:44.0317> CMyMessageWnd::OnSetup   -   Clear hotkeys...
15-01-2014 07:13:44.0317> CMyMessageWnd::OnSetup   -   Opening setup dialog.

15-01-2014 07:29:30.0619> Adding new application specific settings for 'l2.exe'.
15-01-2014 07:29:33.0895> Applying changes to X-Mouse Button Control settings...
15-01-2014 07:30:58.0713> Applying changes to X-Mouse Button Control settings...
15-01-2014 07:33:47.0225> Applying changes to X-Mouse Button Control settings...
15-01-2014 07:34:28.0127> CMyMessageWnd::OnSetup   -   Setup dialog closed.
As with the freeze, everything freezes. I have process explorer running and by viewing the tray icon I can view CPU performance and everything hangs. It doesn't always freeze on startup of XMOUSE, just noticed, but sometimes, though the freeze always occurs when attempting to exit out of XMOUSE. When I exit out of XMOUSE I can count from 9-11s and I can move the mouse again, but after 2-3 seconds the system freezes for another 20s, then everything is normal, the same when starting the application.

BoseRoHS
Member
Posts: 16
Joined: Wed Jan 15, 2014 1:58 pm

Re: FREEZE

Post by BoseRoHS » Thu Jan 16, 2014 3:52 pm

So, how would I enter debug mode? I'm unable to locate the information in the documentation or search.

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

Re: FREEZE

Post by phil » Fri Jan 17, 2014 11:55 am

Advanced settings, tick the debug logging checkbox, OK and apply on the main screen.

But I suspect we need to turn on debugging before/during startup which means running XMBC with a commandline argument /debug.

I'm very busy right now but if you need more assistance I will try and give you more detail over the weekend.

Thanks,
Phil
--[ 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)

BoseRoHS
Member
Posts: 16
Joined: Wed Jan 15, 2014 1:58 pm

Re: FREEZE

Post by BoseRoHS » Tue Jan 21, 2014 12:15 am

Doesn't freeze/hang as often when launching xmouse, mostly on exit.

Code: Select all

20-01-2014 17:11:16.0405> Exit requested by the user.
20-01-2014 17:11:16.0436> Hook thread exited with result 1
20-01-2014 17:11:27.0763> RemoveMouseHook took 10327ms

Code: Select all

********************************************************************************
20-01-2014 17:10:11.0760> X-Mouse Button Control v2.6.2 (x64) Startup. Commandline ''
20-01-2014 17:10:11.0760> Running on Microsoft Windows 8  (build 9200), 64-bit, Hook Timeout: 5000 ms
20-01-2014 17:10:11.0760> Automatically enabling portable mode and creating settings file 'F:\DATA_HYPER\HYPER.2\System_Utilites\INPUT DEVICES\XMOUSE\64bit (x64)\XMBCSettings.xml'
20-01-2014 17:10:11.0760> Hooking the mouse...
20-01-2014 17:10:11.0760> Successfully hooked into the mouse messages.
20-01-2014 17:10:11.0760> HookThread: Successfully set the mouse hook 0x6BB0779
20-01-2014 17:10:11.0760> HookThread: Successfully set the keyboard hook 0xA4C076D
20-01-2014 17:10:11.0775> Successfully created the main message window.
20-01-2014 17:10:13.0708> CMyMessageWnd::OnSetup   -   Clear hotkeys...
20-01-2014 17:10:13.0708> CMyMessageWnd::OnSetup   -   Opening setup dialog.
20-01-2014 17:10:20.0245> CMyMessageWnd::OnSetup   -   Setup dialog closed.
20-01-2014 17:10:23.0021> Exit requested by the user.
20-01-2014 17:10:23.0037> Hook thread exited with result 1
20-01-2014 17:10:33.0661> RemoveMouseHook took 10624ms


********************************************************************************
20-01-2014 17:10:56.0562> X-Mouse Button Control v2.6.2 (x64) Startup. Commandline '/debug'
20-01-2014 17:10:56.0562> Enabling extra debug logging.
20-01-2014 17:10:56.0562> Running on Microsoft Windows 8  (build 9200), 64-bit, Hook Timeout: 5000 ms
20-01-2014 17:10:56.0562> Automatically enabling portable mode and creating settings file 'F:\DATA_HYPER\HYPER.2\System_Utilites\INPUT DEVICES\XMOUSE\64bit (x64)\XMBCSettings.xml'
20-01-2014 17:10:56.0562> Hooking the mouse...
20-01-2014 17:10:56.0562> Successfully hooked into the mouse messages.
20-01-2014 17:10:56.0562> Current language is 0x04090409
20-01-2014 17:10:56.0562> Checking installed keyboard layout: 0x04090409
20-01-2014 17:10:56.0562> Using keyboard language 0x04090409
20-01-2014 17:10:56.0562> HookThread: Successfully set the mouse hook 0x71901AF
20-01-2014 17:10:56.0562> HookThread: Successfully set the keyboard hook 0x152108CB
20-01-2014 17:10:56.0577> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=384, Y=284, mouseData=0x00000000, flags=0x00000000, time=5511577, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:10:56.0577> ProcessButton: Detected active HWND changed from 0x00000000 to 0x00030658....
20-01-2014 17:10:56.0577> ProcessButton: Profile has not changed when hWnd changed.
20-01-2014 17:10:56.0577> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:10:56.0577> Successfully created the main message window.
20-01-2014 17:10:56.0577> Starting IPC communications thread ID 0xFFFFFFFE.
20-01-2014 17:10:58.0434> GetProcessName: Got name for PID 2144, 'firefox.exe' for HWND 0x0004082E using GetModuleFileNameEx
20-01-2014 17:10:58.0480> GetProcessName: Got name for PID 1332, 'gom.exe' for HWND 0x000407C8 using GetModuleFileNameEx
20-01-2014 17:10:58.0480> GetProcessName: Got name for PID 1884, 'explorer.exe' for HWND 0x00010104 using GetModuleFileNameEx
20-01-2014 17:10:59.0541> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=3200, Y=3, mouseData=0x00000000, flags=0x00000000, time=5514541, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:10:59.0541> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:10:59.0666> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=3200, Y=3, mouseData=0x00000000, flags=0x00000000, time=5514666, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:10:59.0666> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:00.0900> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=3200, Y=3, mouseData=0x00000000, flags=0x00000000, time=5514900, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:00.0900> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:00.0900> CMyMessageWnd::OnSetup   -   Clear hotkeys...
20-01-2014 17:11:00.0900> CMyMessageWnd::OnSetup   -   Opening setup dialog.
20-01-2014 17:11:00.0900> Setup dialog init took 0ms
20-01-2014 17:11:00.0916> Load Settings took 16ms
20-01-2014 17:11:00.0009> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=3200, Y=3, mouseData=0x00000000, flags=0x00000000, time=5515009, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:00.0009> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:00.0384> CProcessHelper: Got name for PID 1884, 'explorer.exe' for HWND 0x000100A8 using GetModuleFileNameEx
20-01-2014 17:11:01.0101> GetProcessName: Got name for PID 1332, 'gom.exe' for HWND 0x000407C8 using GetModuleFileNameEx
20-01-2014 17:11:01.0101> CProcessHelper: Got name for PID 1332, 'gom.exe' for HWND 0x000407C8 using GetModuleFileNameEx
20-01-2014 17:11:01.0117> GetProcessName: Got name for PID 2144, 'firefox.exe' for HWND 0x0004082E using GetModuleFileNameEx
20-01-2014 17:11:01.0117> CProcessHelper: Got name for PID 2144, 'firefox.exe' for HWND 0x0004082E using GetModuleFileNameEx
20-01-2014 17:11:01.0164> GetProcessName: Got name for PID 5380, 'dopus.exe' for HWND 0x00030568 using GetModuleFileNameEx
20-01-2014 17:11:01.0164> CProcessHelper: Got name for PID 5380, 'dopus.exe' for HWND 0x00030568 using GetModuleFileNameEx
20-01-2014 17:11:01.0179> GetProcessName: Got name for PID 4592, 'xmousebuttoncontrol.exe' for HWND 0x001808A6 using GetModuleFileNameEx
20-01-2014 17:11:01.0179> CProcessHelper: Got name for PID 4592, 'xmousebuttoncontrol.exe' for HWND 0x001808A6 using GetModuleFileNameEx
20-01-2014 17:11:02.0490> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=1027, Y=388, mouseData=0x00000000, flags=0x00000000, time=5517490, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:02.0490> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:02.0630> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=1027, Y=388, mouseData=0x00000000, flags=0x00000000, time=5517630, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:02.0630> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:03.0051> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=982, Y=388, mouseData=0x00000000, flags=0x00000000, time=5518051, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:03.0051> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:03.0192> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=982, Y=388, mouseData=0x00000000, flags=0x00000000, time=5518192, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:03.0192> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:04.0206> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=717, Y=395, mouseData=0x00000000, flags=0x00000000, time=5519206, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:04.0206> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:04.0346> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=717, Y=395, mouseData=0x00000000, flags=0x00000000, time=5519346, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:04.0346> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:04.0580> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=700, Y=404, mouseData=0x00000000, flags=0x00000000, time=5519580, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:04.0580> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:04.0689> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=700, Y=404, mouseData=0x00000000, flags=0x00000000, time=5519689, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:04.0689> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:07.0248> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=633, Y=849, mouseData=0x00000000, flags=0x00000000, time=5522248, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:07.0248> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:07.0372> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=633, Y=849, mouseData=0x00000000, flags=0x00000000, time=5522372, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:07.0372> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:09.0839> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=834, Y=373, mouseData=0x00000000, flags=0x00000000, time=5523839, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:09.0839> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:09.0964> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=834, Y=373, mouseData=0x00000000, flags=0x00000000, time=5523964, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:09.0964> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:11.0727> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=1192, Y=847, mouseData=0x00000000, flags=0x00000000, time=5525727, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:11.0727> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:11.0836> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=1192, Y=847, mouseData=0x00000000, flags=0x00000000, time=5525836, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:11.0836> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:12.0193> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=1344, Y=848, mouseData=0x00000000, flags=0x00000000, time=5527193, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:12.0193> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:12.0318> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=1344, Y=848, mouseData=0x00000000, flags=0x00000000, time=5527318, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:12.0318> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:12.0333> CMyMessageWnd::OnSetup   -   Setup dialog closed.
20-01-2014 17:11:12.0349> HookDLL: Load Settings took 16ms
20-01-2014 17:11:12.0583> GetProcessName: Got name for PID 5380, 'dopus.exe' for HWND 0x0003076E using GetModuleFileNameEx
20-01-2014 17:11:13.0989> GetProcessName: Got name for PID 2144, 'firefox.exe' for HWND 0x0004082E using GetModuleFileNameEx
20-01-2014 17:11:13.0238> GetProcessName: Got name for PID 1332, 'gom.exe' for HWND 0x000407C8 using GetModuleFileNameEx
20-01-2014 17:11:13.0254> GetProcessName: Got name for PID 1884, 'explorer.exe' for HWND 0x00010104 using GetModuleFileNameEx
20-01-2014 17:11:14.0611> MouseHookData: Message=0x0204 (WM_RBUTTONDOWN), X=3195, Y=24, mouseData=0x00000000, flags=0x00000000, time=5529611, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:14.0611> Translating Right Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:15.0736> MouseHookData: Message=0x0205 (WM_RBUTTONUP), X=3195, Y=24, mouseData=0x00000000, flags=0x00000000, time=5529736, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:15.0736> Translating Right Button Up Keystate 0x2: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:15.0970> GetProcessName: Got name for PID 4592, 'xmousebuttoncontrol.exe' for HWND 0x001308A4 using GetModuleFileNameEx
20-01-2014 17:11:15.0313> GetProcessName: Got name for PID 1884, 'explorer.exe' for HWND 0x001103DC using GetModuleFileNameEx
20-01-2014 17:11:16.0124> GetProcessName: Got name for PID 4592, 'xmousebuttoncontrol.exe' for HWND 0x001308A4 using GetModuleFileNameEx
20-01-2014 17:11:16.0296> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=3093, Y=190, mouseData=0x00000000, flags=0x00000000, time=5531296, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:16.0296> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:16.0405> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=3093, Y=190, mouseData=0x00000000, flags=0x00000000, time=5531405, dwExtraInfo=0x0, MouseHookPtr=0x71901AF
20-01-2014 17:11:16.0405> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:16.0405> Exit requested by the user.
20-01-2014 17:11:16.0436> Hook thread exited with result 1
20-01-2014 17:11:27.0763> RemoveMouseHook took 10327ms


********************************************************************************
20-01-2014 17:11:43.0440> X-Mouse Button Control v2.6.2 (x64) Startup. Commandline '/debug'
20-01-2014 17:11:43.0456> Enabling extra debug logging.
20-01-2014 17:11:43.0456> Running on Microsoft Windows 8  (build 9200), 64-bit, Hook Timeout: 5000 ms
20-01-2014 17:11:43.0456> Automatically enabling portable mode and creating settings file 'F:\DATA_HYPER\HYPER.2\System_Utilites\INPUT DEVICES\XMOUSE\64bit (x64)\XMBCSettings.xml'
20-01-2014 17:11:43.0456> Hooking the mouse...
20-01-2014 17:11:43.0456> Successfully hooked into the mouse messages.
20-01-2014 17:11:43.0456> Current language is 0x04090409
20-01-2014 17:11:43.0456> Checking installed keyboard layout: 0x04090409
20-01-2014 17:11:43.0456> Using keyboard language 0x04090409
20-01-2014 17:11:43.0456> HookThread: Successfully set the mouse hook 0x1B6A0901
20-01-2014 17:11:43.0456> HookThread: Successfully set the keyboard hook 0x5B80813
20-01-2014 17:11:43.0456> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=445, Y=291, mouseData=0x00000000, flags=0x00000000, time=5558456, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:43.0456> ProcessButton: Detected active HWND changed from 0x00000000 to 0x00030658....
20-01-2014 17:11:43.0456> ProcessButton: Profile has not changed when hWnd changed.
20-01-2014 17:11:43.0456> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:43.0471> Successfully created the main message window.
20-01-2014 17:11:43.0471> Starting IPC communications thread ID 0xFFFFFFFE.
20-01-2014 17:11:44.0970> GetProcessName: Got name for PID 2144, 'firefox.exe' for HWND 0x0004082E using GetModuleFileNameEx
20-01-2014 17:11:44.0002> GetProcessName: Got name for PID 1332, 'gom.exe' for HWND 0x000407C8 using GetModuleFileNameEx
20-01-2014 17:11:44.0251> GetProcessName: Got name for PID 1884, 'explorer.exe' for HWND 0x00010104 using GetModuleFileNameEx
20-01-2014 17:11:45.0452> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=3199, Y=16, mouseData=0x00000000, flags=0x00000000, time=5560452, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:45.0452> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:45.0562> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=3199, Y=16, mouseData=0x00000000, flags=0x00000000, time=5560562, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:45.0562> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:45.0655> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=3199, Y=16, mouseData=0x00000000, flags=0x00000000, time=5560655, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:45.0655> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:45.0655> CMyMessageWnd::OnSetup   -   Clear hotkeys...
20-01-2014 17:11:45.0655> CMyMessageWnd::OnSetup   -   Opening setup dialog.
20-01-2014 17:11:45.0671> Setup dialog init took 0ms
20-01-2014 17:11:45.0671> Load Settings took 0ms
20-01-2014 17:11:46.0764> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=3199, Y=16, mouseData=0x00000000, flags=0x00000000, time=5560764, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:46.0764> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:46.0560> CProcessHelper: Got name for PID 1884, 'explorer.exe' for HWND 0x000100C8 using GetModuleFileNameEx
20-01-2014 17:11:47.0981> GetProcessName: Got name for PID 1332, 'gom.exe' for HWND 0x000407C8 using GetModuleFileNameEx
20-01-2014 17:11:47.0981> CProcessHelper: Got name for PID 1332, 'gom.exe' for HWND 0x000407C8 using GetModuleFileNameEx
20-01-2014 17:11:47.0997> GetProcessName: Got name for PID 2144, 'firefox.exe' for HWND 0x0004082E using GetModuleFileNameEx
20-01-2014 17:11:47.0997> CProcessHelper: Got name for PID 2144, 'firefox.exe' for HWND 0x0004082E using GetModuleFileNameEx
20-01-2014 17:11:47.0012> GetProcessName: Got name for PID 5380, 'dopus.exe' for HWND 0x00030568 using GetModuleFileNameEx
20-01-2014 17:11:47.0012> CProcessHelper: Got name for PID 5380, 'dopus.exe' for HWND 0x00030568 using GetModuleFileNameEx
20-01-2014 17:11:47.0356> GetProcessName: Got name for PID 4376, 'xmousebuttoncontrol.exe' for HWND 0x001708A4 using GetModuleFileNameEx
20-01-2014 17:11:47.0356> CProcessHelper: Got name for PID 4376, 'xmousebuttoncontrol.exe' for HWND 0x001708A4 using GetModuleFileNameEx
20-01-2014 17:11:48.0510> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=628, Y=833, mouseData=0x00000000, flags=0x00000000, time=5563510, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:48.0510> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:48.0619> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=628, Y=838, mouseData=0x00000000, flags=0x00000000, time=5563619, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:48.0619> ProcessButton: Detected active HWND changed from 0x001708A4 to 0x00120886....
20-01-2014 17:11:48.0619> ProcessButton: Profile has not changed when hWnd changed.
20-01-2014 17:11:48.0619> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:49.0775> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=628, Y=838, mouseData=0x00000000, flags=0x00000000, time=5563775, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:49.0775> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:49.0884> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=628, Y=838, mouseData=0x00000000, flags=0x00000000, time=5563884, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:49.0884> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:50.0852> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=828, Y=372, mouseData=0x00000000, flags=0x00000000, time=5564852, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:50.0852> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:50.0992> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=828, Y=372, mouseData=0x00000000, flags=0x00000000, time=5564992, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:50.0992> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:51.0022> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=1041, Y=745, mouseData=0x00000000, flags=0x00000000, time=5566022, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:51.0022> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
20-01-2014 17:11:51.0162> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=1041, Y=745, mouseData=0x00000000, flags=0x00000000, time=5566162, dwExtraInfo=0x0, MouseHookPtr=0x1B6A0901
20-01-2014 17:11:51.0162> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]

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

Re: FREEZE

Post by phil » Tue Jan 21, 2014 12:18 pm

Wow 10 seconds!....
Thanks for the logs, I will have a look at what it does when it removes the hook (but its normally very fast) and there isn't much code in there. It may even be timing out and just killing the thread.

I will have to try and narrow down exactly the point where its stalling (I may need to send you a special debug version with even more logging) and then try and figure out why it might be doing it. Time to research the RemoveHook API again I guess.

Thanks,
Phil
--[ 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)

BoseRoHS
Member
Posts: 16
Joined: Wed Jan 15, 2014 1:58 pm

Re: FREEZE

Post by BoseRoHS » Tue Jan 21, 2014 7:58 pm

Yeah, 10 seconds, but in total 30 seconds when I time it with a stop watch. Not sure where the extra 10+ seconds are coming from. No hurry, it works for me, but always nice to get the bugs ironed out.

I misspoke, it does freeze/hang as often as exiting. The only difference is...

1st Method: (Preferred method to open GUI)
  1. Initially Launch Xmouse
  2. Open Xmouse via notification icon
  3. Xmouse rarely, if ever, freezes/hangs the system
  4. GUI displays
2nd Method:
  1. Initially Launch Xmouse
  2. Open Xmouse via pinned shortcut on taskbar
  3. Xmouse freezes/hangs system
  4. GUI displays
3rd Method:
  1. Initially Launch Xmouse
  2. Open Xmouse via shortcut in directory ( XMOUSE\64bit (x64)\ )
  3. Xmouse freezes/hangs system
  4. GUI does not display
    -- Attempt to launch Xmouse GUI again --
  5. Open Xmouse via shortcut in directory ( XMOUSE\64bit (x64)\ )
  6. Xmouse freezes/hangs system
  7. GUI does not display
  8. ... repeat

Code: Select all

********************************************************************************
21-01-2014 13:04:17.0121> X-Mouse Button Control v2.6.2 (x64) Startup. Commandline '/debug'
21-01-2014 13:04:17.0121> Enabling extra debug logging.
21-01-2014 13:04:17.0121> Running on Microsoft Windows 8  (build 9200), 64-bit, Hook Timeout: 5000 ms
21-01-2014 13:04:17.0121> Automatically enabling portable mode and creating settings file 'F:\DATA_HYPER\HYPER.2\System_Utilites\INPUT DEVICES\XMOUSE\64bit (x64)\XMBCSettings.xml'
21-01-2014 13:04:17.0121> Hooking the mouse...
21-01-2014 13:04:17.0121> Successfully hooked into the mouse messages.
21-01-2014 13:04:17.0136> Current language is 0x04090409
21-01-2014 13:04:17.0136> Checking installed keyboard layout: 0x04090409
21-01-2014 13:04:17.0136> Using keyboard language 0x04090409
21-01-2014 13:04:17.0136> HookThread: Successfully set the mouse hook 0x1B00F83
21-01-2014 13:04:17.0136> HookThread: Successfully set the keyboard hook 0x34C0CD7
21-01-2014 13:04:17.0152> Successfully created the main message window.
21-01-2014 13:04:17.0152> Starting IPC communications thread ID 0xFFFFFFFE.
21-01-2014 13:04:18.0384> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=1505, Y=64, mouseData=0x00000000, flags=0x00000000, time=77113384, dwExtraInfo=0x0, MouseHookPtr=0x1B00F83
21-01-2014 13:04:18.0384> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
21-01-2014 13:04:18.0525> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=1505, Y=64, mouseData=0x00000000, flags=0x00000000, time=77113525, dwExtraInfo=0x0, MouseHookPtr=0x1B00F83
21-01-2014 13:04:18.0525> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
21-01-2014 13:04:19.0727> GetProcessName: Got name for PID 1884, 'explorer.exe' for HWND 0x00010104 using GetModuleFileNameEx
21-01-2014 13:04:19.0570> GetProcessName: Got name for PID 5668, 'uedit32.exe' for HWND 0x00140640 using GetModuleFileNameEx
21-01-2014 13:04:20.0225> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=2418, Y=521, mouseData=0x00000000, flags=0x00000000, time=77115225, dwExtraInfo=0x0, MouseHookPtr=0x1B00F83
21-01-2014 13:04:20.0225> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
21-01-2014 13:04:20.0350> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=2418, Y=521, mouseData=0x00000000, flags=0x00000000, time=77115350, dwExtraInfo=0x0, MouseHookPtr=0x1B00F83
21-01-2014 13:04:20.0365> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
21-01-2014 13:04:21.0740> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=2331, Y=518, mouseData=0x00000000, flags=0x00000000, time=77115740, dwExtraInfo=0x0, MouseHookPtr=0x1B00F83
21-01-2014 13:04:21.0740> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
21-01-2014 13:04:21.0865> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=2331, Y=518, mouseData=0x00000000, flags=0x00000000, time=77115865, dwExtraInfo=0x0, MouseHookPtr=0x1B00F83
21-01-2014 13:04:21.0865> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
21-01-2014 13:04:21.0145> GetProcessName: Got name for PID 1884, 'explorer.exe' for HWND 0x00010104 using GetModuleFileNameEx
21-01-2014 13:04:22.0816> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=1056, Y=409, mouseData=0x00000000, flags=0x00000000, time=77116816, dwExtraInfo=0x0, MouseHookPtr=0x1B00F83
21-01-2014 13:04:22.0816> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
21-01-2014 13:04:22.0925> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=1056, Y=409, mouseData=0x00000000, flags=0x00000000, time=77116925, dwExtraInfo=0x0, MouseHookPtr=0x1B00F83
21-01-2014 13:04:22.0925> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]
21-01-2014 13:04:26.0732> MouseHookData: Message=0x0201 (WM_LBUTTONDOWN), X=39, Y=51, mouseData=0x00000000, flags=0x00000000, time=77120732, dwExtraInfo=0x0, MouseHookPtr=0x1B00F83
21-01-2014 13:04:26.0732> Translating Left Button Down Keystate 0x0: Action 40 [** No Change (Don't intercept) **]
21-01-2014 13:04:26.0841> MouseHookData: Message=0x0202 (WM_LBUTTONUP), X=39, Y=51, mouseData=0x00000000, flags=0x00000000, time=77120841, dwExtraInfo=0x0, MouseHookPtr=0x1B00F83
21-01-2014 13:04:26.0841> Translating Left Button Up Keystate 0x1: Action 40 [** No Change (Don't intercept) **]

********************************************************************************
21-01-2014 13:04:26.0950> X-Mouse Button Control v2.6.2 (x64) Startup. Commandline ''
21-01-2014 13:04:26.0950> Startup. Sending commandline to existing instance of X-Mouse Button Control
21-01-2014 13:04:26.0950> Received 2048 bytes on the IPC named pipe.
st X-Mouse Button Control instance. Exiting.
21-01-2014 13:04:26.0950> X-Mouse Button Control Shutdown.
21-01-2014 13:04:26.0950> Received message with data 0x80000004 from another instance of X-Mouse Button Control.
21-01-2014 13:04:26.0950> Disabling extra debug logging.
21-01-2014 13:04:26.0950> CMyMessageWnd::OnSetup   -   Clear hotkeys...
21-01-2014 13:04:26.0950> CMyMessageWnd::OnSetup   -   Opening setup dialog.

Though, I wonder if this has anything to do with a couple HDD that are about to fail (knock on wood!), but no issues with other applications.
SSD - Offlne Uncorrectable = 360k+
HDD - Reallocated / Uncorrectable Sector Count 200+

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

Re: FREEZE

Post by phil » Wed Jan 22, 2014 11:47 am

I cant see it being a problem with the HDD/SDD unless the writing of the log is making it worse, but then turning on debug logging would have it freeze every time you pressed a button :)

Its an odd one, especially as no one else seems to have such a problem (I certainly haven't seen it on any of my machines) so there chances are there is some other software conflicting - that might not be easy for me to narrow down - is there anything "unusual" that you also run that might effect mouse hooks (for example, other scripting/automation software)?

Out of interest, when you change a setting and then apply/close the dialog, does it freeze then (because it goes through the same unhook/ re-load settings / hook routines that appear to be hanging at startup/shutdown?

The only other startup issue, is the inter process communication. If XMBC is running and you start it again (to open the setting page) it uses IPC for the second instance to talk to the first. That shouldn't be a problem and is a common way of handling single instance applications.

Thanks,
Phil
--[ 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)

BoseRoHS
Member
Posts: 16
Joined: Wed Jan 15, 2014 1:58 pm

Re: FREEZE

Post by BoseRoHS » Thu Jan 23, 2014 2:02 am

Unfortunately, no. The only application I seem to be having an issue with is Xmouse, that is, if I were to to load the Xmouse GUI with method 2 or 3. Disabled NOD32 and Outpost Firewall (which has Proactive Protection, Anti-Leak, and System/Application Guard), but freezing/hangs still occur.

I tried applying a couple different settings, other than simulated keys, everything works without an issue.

I'll try loading Windows in selective, diagnostic, startup later and will report back.

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

Re: FREEZE

Post by phil » Thu Jan 23, 2014 2:04 am

I've just noticed this....
20-01-2014 17:10:23.0021> Exit requested by the user.
20-01-2014 17:10:23.0037> Hook thread exited with result 1
20-01-2014 17:10:33.0661> RemoveMouseHook took 10624ms
The actual "hook thread exiting" only took a few milliseconds... So my first guess was wrong, and actually the hook has been removed OK.

I will have to investigate further, once the hookthread exit result is logged, it should not take 10 seconds to move on! Maybe I have a deadlock of some sorts.

I will let you know what I find.

Thanks,
Phil
--[ 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)

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

Re: FREEZE

Post by phil » Thu Jan 23, 2014 3:30 am

Hi,

I cant see much wrong, but I have added some additional debug to the latest beta (2.7 beta 6).
Can you give that a try? Its in the beta thread near the top of the XMBC forum.

Do the same with the debug logging - and it might help point out the problem!

Thanks,
Phil
--[ 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)

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

Re: FREEZE

Post by phil » Sat Jan 25, 2014 3:28 pm

Any joy?
--[ 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)

BoseRoHS
Member
Posts: 16
Joined: Wed Jan 15, 2014 1:58 pm

Re: FREEZE

Post by BoseRoHS » Sun Jan 26, 2014 9:29 am

Sorry. Haven't had time to download and run it. Though I just came across "Human Interface Device Access" service set as Manual, while trying to fix my Sidewinder X4 mute/volume buttons from not starting when Windows starts, and having to reset the USB every time I restart finally became too much of a chore. Anyway, I set the service to Automatically start, rebooted and seems it solved the freezing problem with Xmouse, but I'll check back later, perhaps tomorrow, with a debug.

BoseRoHS
Member
Posts: 16
Joined: Wed Jan 15, 2014 1:58 pm

Re: FREEZE

Post by BoseRoHS » Wed Jan 29, 2014 5:30 pm

I'm unable to reproduce the hanging, after having changed the HID service to automatic.

Tried disabling the HID service and rebooted so I can run a debug, but it's not reproducing the issues I was having. It did hang for a second or two, but not as it had prior.

I guess everything is ok now. If anyone ever experiences hanging/freezing when launching Xmouse the issue is, more than likely, that the HID service is set to manual or disabled, which it should be set to automatically start on windows.

Thanks for your help Phil. If you want log files let me know.

Post Reply