https://bugs.winehq.org/show_bug.cgi?id=54608
Bug ID: 54608 Summary: shell32:shlexec - test_dde() fails on Windows 10 1607 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
shell32:shlexec - test_dde() fails on Windows 10 1607:
shlexec.c:2509: Adding SEE_MASK_WAITFORINPUTIDLE for Windows 10 shlexec.c:204: childTimeout called shlexec.c:2515: Test failed: ShellExecuteEx(mask="0x2008540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="0", cmdtail="", ddeexec="[open("%1")]", app="shlexec", topic="dde" failed: rc=29 err=2 shlexec.c:204: childTimeout called shlexec.c:2515: Test failed: ShellExecuteEx(mask="0x2008540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="0", cmdtail=""%1"", ddeexec="[open("%1")]", app="shlexec", topic="dde" failed: rc=29 err=2 shlexec.c:2515: Test failed: ShellExecuteEx(mask="0x2008540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="0", cmdtail="%1", ddeexec="[open(%1)]", app="shlexec", topic="dde" failed: rc=29 err=2 shlexec.c:204: childTimeout called shlexec.c:2515: Test failed: ShellExecuteEx(mask="0x2008540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="0", cmdtail="", ddeexec="[open("%1")]", app="shlexec", topic="dde", ifexec="[ifexec("%1")]" failed: rc=29 err=2 shlexec.c:2515: Test failed: ShellExecuteEx(mask="0x2008540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="0", cmdtail="", ddeexec="[open("%1")]", app="shlexec" failed: rc=29 err=2 shlexec.c:204: childTimeout called shlexec.c:2515: Test failed: ShellExecuteEx(mask="0x2008540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="0", cmdtail="", ddeexec="[open("%1")]", topic="dde" failed: rc=29 err=2 shlexec.c:2692: Test failed: ShellExecuteEx(mask="0x8540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="1", cmdtail="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.exe", ddeexec="[test]", topic="shlexec" failed: rc=5 err=0 shlexec.c:2687: DDE result variant 1 shlexec.c:2692: Test failed: ShellExecuteEx(mask="0x8540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="1", cmdtail="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.exe param", ddeexec="[test]", topic="shlexec" failed: rc=5 err=0 shlexec.c:2692: Test failed: ShellExecuteEx(mask="0x8540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="1", cmdtail=""C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.exe"", ddeexec="[test]", topic="shlexec" failed: rc=5 err=0 shlexec.c:2692: Test failed: ShellExecuteEx(mask="0x8540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="1", cmdtail=""C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.exe" param", ddeexec="[test]", topic="shlexec" failed: rc=5 err=0 shlexec.c:2692: Test failed: ShellExecuteEx(mask="0x8540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="1", cmdtail=""C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test2 file.exe"", ddeexec="[test]", topic="shlexec" failed: rc=5 err=0 shlexec.c:2692: Test failed: ShellExecuteEx(mask="0x8540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="1", cmdtail=""C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test2 file.exe" param", ddeexec="[test]", topic="shlexec" failed: rc=5 err=0 shlexec.c:2692: Test failed: ShellExecuteEx(mask="0x8540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="1", cmdtail="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\notexist.exe", ddeexec="[test]", topic="shlexec" failed: rc=5 err=0 shlexec.c:2692: Test failed: ShellExecuteEx(mask="0x8540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="1", cmdtail="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\notexist.exe param", ddeexec="[test]", topic="shlexec" failed: rc=5 err=0 shlexec.c:2692: Test failed: ShellExecuteEx(mask="0x8540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="1", cmdtail="cmd", ddeexec="[test]", topic="shlexec" failed: rc=29 err=0 Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. C:\Users\Public\Documents\tests>shlexec.c:2692: Test failed: ShellExecuteEx(mask="0x8540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="1", cmdtail="cmd param", ddeexec="[test]", topic="shlexec" failed: rc=29 err=0 Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. C:\Users\Public\Documents\tests>shlexec.c:2692: Test failed: ShellExecuteEx(mask="0x8540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="1", cmdtail="xyzwxyzwxyz", ddeexec="[test]", topic="shlexec" failed: rc=5 err=0 shlexec.c:2692: Test failed: ShellExecuteEx(mask="0x8540", file="C:\Users\winetest\AppData\Local\Temp\wtShlexecDir\test file.sde") Assoc class="shlexec.sde", verb="Open", rawcmd="1", cmdtail="xyzwxyzwxyz param", ddeexec="[test]", topic="shlexec" failed: rc=5 err=0
See https://test.winehq.org/data/patterns.html#shell32:shlexec
Where 5 == SE_ERR_ACCESSDENIED 29 == SE_ERR_DDEFAIL 2 == ERROR_FILE_NOT_FOUND
The first few failures correspond exactly to the condition that "Adding SEE_MASK_WAITFORINPUTIDLE" is supposed to avoid. Also increasing the wait timeouts does not help so it's not just that this VM is slow.
https://bugs.winehq.org/show_bug.cgi?id=54608
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase