Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.8
-
None
-
Windows 10 64-bit
PsTools Version in this package: 2.45
Description
Using PsExec to launch a Qt application on another computer will crash. Command to launch (do NOT include a username and password):
PsExec \\COMPUTERNAME -h -accepteula -i -d C:\pathto\Win32Test.exe
This will crash with the following callstack:
Error: Qt: INTERNAL ERROR: failed to install GetMessage hook: 5, Access is denied. Call Stack: ucrtbase.dll!_abort() Unknown Qt5Core.dll!QMessageLogger::fatal(const char * msg, ...) Line 795 C++ Qt5Core.dll!QEventDispatcherWin32::installMessageHook() Line 481 C++ Qt5Core.dll!QEventDispatcherWin32::createInternalHwnd() Line 466 C++ qwindows.dll!715b2ef8() Unknown [Frames below may be incorrect and/or missing, no symbols loaded for qwindows.dll] qwindows.dll!7156b543() Unknown Qt5Gui.dll!QGuiApplicationPrivate::createEventDispatcher() Line 1300 C++ Qt5Core.dll!QCoreApplicationPrivate::init() Line 787 C++ Qt5Gui.dll!QGuiApplicationPrivate::init() Line 1320 C++ Qt5Widgets.dll!QApplicationPrivate::init() Line 570 C++ ...
I was able to reproduce this using a small test app and confirmed that using "SetWindowsHookEx" will cause the crash.
Specifying a username/password in the PsExec command will bypass this issue. Assuming the user has Administrative privileges.