http://bugs.winehq.org/show_bug.cgi?id=9395
Summary: Wine Explorer crashes before first screen of Dragon Naturally Speaking 7 Product: Wine Version: CVS Platform: Other URL: http://scansoft.com OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: wine-programs AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
[This is a simplified repeat of part of bug 8279, which was getting unwieldy.] To repeat: rm -rf ~/.wine sh winetricks fakeie6 wine /media/cdrom/autorun.exe (and do default install) cd ~/".wine/drive_c/Program Files/ScanSoft/NaturallySpeaking" wine Program/natspeak.exe The crash happens before the first real screen (probably after the splash screen). It's in wine's explorer, and does not terminate the app.
Oddly, it seems to crash during a server call. Here's a simplified log:
trace:explorer:desktop_wnd_proc got msg 8 wp 1008c lp 0 ... trace:hook:call_hook calling hook 0x2b002210 WH_GETMESSAGE code 0 wp 1 lp 34f76c module L"" trace:seh:raise_exception code=c0000005 flags=0 addr=0x2b002210 =>1 0x2b002210 (0x0034f3f8) 2 0x7ebd5944 HOOK_CallHooks+0x164(id=0x3, code=0x0, wparam=0x1, lparam=0x34f76c, unicode=0x1) [dlls/user32/hook.c:429] in user32 (0x0034f748) 3 0x7ebf5b6b PeekMessageW+0x16b(msg_out=0x34f8fc, hwnd=0x0, first=0x0, last=0x0, flags=<register EDI not in topmost frame>) [dlls/user32/message.c:2897] in user32 (0x0034f798) 4 0x7ebf5c98 GetMessageW+0xd8(msg=0x34f8fc, hwnd=0x0, first=0x0, last=0x0) [dlls/user32/message.c:2938] in user32 (0x0034f858) 5 0x7ecb382c manage_desktop+0x3ac(arg=<is not available>) [programs/explorer/desktop.c:208] in explorer (0x0034f988) 6 0x7ecb4ab5 WinMain+0x2e5(hinstance=0x7ecb0000, previnstance=0x0, cmdline=0x11084a, cmdshow=0x1) [programs/explorer/explorer.c:136] in explorer (0x0034fe58)
Line 429 of user32/hook.c in HOOK_CallHooks is the server call:
427 ret = call_hook( &info, code, wparam, lparam ); 428 429 SERVER_START_REQ( finish_hook_chain ) 430 { 431 req->id = id;
http://bugs.winehq.org/show_bug.cgi?id=9395
--- Comment #1 from Dan Kegel dank@kegel.com 2007-08-20 22:39:14 --- *** Bug 8279 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=9395
--- Comment #2 from Dan Kegel dank@kegel.com 2007-08-20 22:43:12 --- Created an attachment (id=7705) --> (http://bugs.winehq.org/attachment.cgi?id=7705) +explorer,+hook,+seh log of startup of DNS 7
http://bugs.winehq.org/show_bug.cgi?id=9395
--- Comment #3 from Alexandre Julliard julliard@winehq.com 2007-08-21 06:42:11 --- The hook should definitely not be called in the explorer process. Could you please post a +server trace?
http://bugs.winehq.org/show_bug.cgi?id=9395
--- Comment #4 from Dan Kegel dank@kegel.com 2007-08-21 07:59:11 --- Created an attachment (id=7710) --> (http://bugs.winehq.org/attachment.cgi?id=7710) +server,+hook,+seh trace, compressed with rzip
Here y'go.
http://bugs.winehq.org/show_bug.cgi?id=9395
--- Comment #5 from Alexandre Julliard julliard@winehq.com 2007-08-21 08:08:14 --- Thanks, it looks like it expects dd10hook.dll to be loaded in the explorer process.
Did it by any chance create an AppInit_DLLs key under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Windows?
http://bugs.winehq.org/show_bug.cgi?id=9395
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |susancragin@earthlink.net Severity|enhancement |normal
http://bugs.winehq.org/show_bug.cgi?id=9395
--- Comment #6 from Dan Kegel dank@kegel.com 2007-08-21 11:49:05 --- I'd tell you, but regedit crashes the same way explorer does!
Lessee, looking at the .reg files, I see no mention of dd10hook.dll, nor of AppInit_DLLs.
http://bugs.winehq.org/show_bug.cgi?id=9395
--- Comment #7 from Alexandre Julliard julliard@winehq.com 2007-08-21 12:32:12 --- Created an attachment (id=7716) --> (http://bugs.winehq.org/attachment.cgi?id=7716) SetWindowsHookEx patch
Does this patch help?
http://bugs.winehq.org/show_bug.cgi?id=9395
--- Comment #8 from Dan Kegel dank@kegel.com 2007-08-21 12:44:59 --- Nope, still crashes, same place. (The line number's different, but 434 is still the line where it calls the server.)
wine: Unhandled page fault on read access to 0x00002210 at address 0x2210 (thread 000b), starting debugger... Backtrace: =>1 0x00002210 (0x0034f3f8) 2 0x7ecfe944 HOOK_CallHooks+0x164(id=0x3, code=0x0, wparam=0x1, lparam=0x34f76c, unicode=0x1) [dlls/user32/hook.c:434] in user32 (0x0034f748) 3 0x7ed1ebab PeekMessageW+0x16b(msg_out=0x34f8fc, hwnd=0x0, first=0x0, last=0x0, flags=<>) [dlls/user32/message.c:2897] in user32 (0x0034f798)
http://bugs.winehq.org/show_bug.cgi?id=9395
--- Comment #9 from Alexandre Julliard julliard@winehq.com 2007-08-21 13:34:49 --- Can you please get the full trace again, with the patch?
http://bugs.winehq.org/show_bug.cgi?id=9395
--- Comment #10 from Alexandre Julliard julliard@winehq.com 2007-08-21 14:58:40 --- Created an attachment (id=7720) --> (http://bugs.winehq.org/attachment.cgi?id=7720) server side patch
You'll need this patch too.
http://bugs.winehq.org/show_bug.cgi?id=9395
--- Comment #11 from Dan Kegel dank@kegel.com 2007-08-21 22:26:03 --- Yum. With the second patch, all seems to be well. Ship it! :-)
http://bugs.winehq.org/show_bug.cgi?id=9395
Alexandre Julliard julliard@winehq.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Alexandre Julliard julliard@winehq.com 2007-08-23 10:49:03 --- Fixed by http://source.winehq.org/git/wine.git/?a=commit;h=04a9f93f6221959babec203a98...
http://bugs.winehq.org/show_bug.cgi?id=9395
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Dan Kegel dank@kegel.com 2007-11-29 12:58:48 --- Closing...
http://bugs.winehq.org/show_bug.cgi?id=9395
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified