http://bugs.winehq.org/show_bug.cgi?id=59354 Bug ID: 59354 Summary: Artcut 2009 displays unsupported operation dialog box on initial authorization check Product: Wine Version: 11.1 Hardware: x86-64 OS: Linux Status: NEW Keywords: regression Severity: minor Priority: P2 Component: user32 Assignee: wine-bugs@list.winehq.org Reporter: arethusa26@gmail.com CC: piotr@codeweavers.com Regression SHA1: 91eced0ce5279b59715330466742925d89e8d0f5 Distribution: --- Created attachment 80290 --> http://bugs.winehq.org/attachment.cgi?id=80290 Artcut 2009 debug output with +relay,+dialog,+message,+seh channels When launched, Artcut 2009 may prompt with a dialog box for the authorization CD to be inserted for a periodic validation check. When the disc is inserted (and mounted with the "showassoc" mount option to avoid the issue identified in bug 57108) and this check is being performed for the first time after acknowledging the dialog box, Artcut 2009 displays the message box "An unsupported operation was attempted" twice before it exits. This error doesn't seem to happen on subsequent runs of Artcut 2009. On Windows 10, no message boxes appear after the authorization dialog is dismissed before the application exits. Looking at a relay log, I note that both appearances of the error dialog box are due to a call to GetDlgItem failing. For the first instance: 012c:trace:message:spy_enter_message (0x10146) L"Code:" [0111] WM_COMMAND sent from self wp=02000421 lp=0001015c 012c:Call window proc 5F401B81 (hwnd=00010146,msg=WM_COMMAND,wp=02000421,lp=0001015c) 012c:Call user32.GetDlgItem(00010146,00000422) ret=5f4169c0 012c:Ret user32.GetDlgItem() retval=00000000 ret=5f4169c0 012c:Call msvcrt._CxxThrowException(005cdac0,5f4b3f98) ret=5f453a2a 012c:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,005cda64) ret=7a4fba81 ... 012c:Call user32.MessageBoxA(00010146,005cca20 "An unsupported operation was attempted.",00f7e678 "Artcut6",00000030) ret=5f409ccb The second instance occurs immediately after the first error dialog box is dismissed: 012c:Ret user32.MessageBoxA() retval=00000001 ret=5f409ccb 012c:Call user32.GetActiveWindow() ret=5f4013c8 012c:Ret user32.GetActiveWindow() retval=00010146 ret=5f4013c8 012c:Call user32.GetParent(00010146) ret=5f401331 012c:Ret user32.GetParent() retval=00000000 ret=5f401331 012c:trace:seh:__CxxUnregisterExceptionObject (005CCC98) 012c:trace:seh:_FindAndUnlinkFrame (005CCC98) 012c:trace:seh:_IsExceptionObjectToBeDestroyed 005CDAC0 012c:trace:seh:__DestructExceptionObject (005CCEC8) 012c:trace:seh:call_catch_block done, continuing at 5F45CF7B 012c:Call user32.GetDlgItem(00010146,00000422) ret=5f4169c0 012c:Ret user32.GetDlgItem() retval=00000000 ret=5f4169c0 012c:Call msvcrt._CxxThrowException(005cdac0,5f4b3f98) ret=5f453a2a 012c:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,005cda64) ret=7a4fba81 ... 012c:Call user32.MessageBoxA(00010146,005cca20 "An unsupported operation was attempted.",00f7e678 "Artcut6",00000030) ret=5f409ccb Testing with old versions of Wine, I found that wine-1.4 did not exhibit this issue. Regression testing identified the following commit: 91eced0ce5279b59715330466742925d89e8d0f5 is the first bad commit commit 91eced0ce5279b59715330466742925d89e8d0f5 Author: Piotr Caban <piotr@codeweavers.com> Date: Mon Dec 22 16:36:48 2014 +0100 user32: Only store dialog focus when window is hidden or inactive. dlls/user32/defdlg.c | 4 +--- dlls/user32/tests/dialog.c | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) Manually reverting the functional change in wine-11.1 prevents the error message dialog boxes from appearing. Unfortunately, there is no public download for Artcut 2009 available, but I have attached a debug log in case that provides useful information. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.