https://bugs.winehq.org/show_bug.cgi?id=36647
Bug ID: 36647 Summary: Windows 7 USB/DVD download tool hangs on startup (DrawTextExW/TEXT_NextLineW live loop) Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
as the summary says.
Prerequisite: 'winetricks -q dotnet20'
Download and install 'Image Mastering API 2.0' (work around bug 6194 and bug 16876)
http://www.microsoft.com/en-us/download/details.aspx?id=17073
'Windows 7 USB/DVD download tool' download:
http://www.microsoftstore.com/store/msusa/html/pbPage.Help_Win7_usbdvd_dwnTo...
Unpack the installer manually and install the .msi (work around bug 36646)
--- snip --- $ pwd /home/focht/.wine/drive_c/users/focht/Local Settings/Application Data/Apps/Windows 7 USB DVD Download Tool
$ WINEDEBUG=+tid,+seh,+loaddll,+process,+text wine ./Windows7-USB-DVD-Download-Tool.exe >>log.txt 2>&1 ... 0023:trace:text:DrawTextExW L"[SCREEN TITLE]", 14, [(0,0)-(2147483647,2147483647)] 00002400 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=3, iRightMargin=5 0023:trace:text:DrawTextExW L"|", 1, [(0,0)-(2147483647,2147483647)] 00002400 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=3, iRightMargin=4 0023:trace:text:DrawTextExW L"Online help", 11, [(0,0)-(2147483647,2147483647)] 00002400 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=3, iRightMargin=4 0023:trace:text:DrawTextExW L"Terms of use", 12, [(0,0)-(2147483647,2147483647)] 00002400 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=3, iRightMargin=4 0023:trace:text:DrawTextExW L"Step 1 of 4: Choose ISO file", 28, [(0,0)-(2147483647,2147483647)] 00002400 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=3, iRightMargin=5 0023:trace:text:DrawTextExW L"Minimize", -1, [(0,0)-(12,12)] 00000524 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=0, iRightMargin=0 0023:trace:text:DrawTextExW L"Close", -1, [(0,0)-(12,12)] 00000524 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=0, iRightMargin=0 0023:trace:text:DrawTextExW L"Browse", -1, [(0,0)-(67,24)] 00000524 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=0, iRightMargin=0 0023:trace:text:DrawTextExW L"Next", -1, [(0,0)-(51,24)] 00000524 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=0, iRightMargin=0 0023:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\usp10.dll" at 0x7db80000: builtin 0023:fixme:gdiplus:GdipCreateHalftonePalette stub 0023:trace:text:DrawTextExW L"Step 1 of 4: Choose ISO file", 28, [(0,0)-(218,18)] 00000000 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=3, iRightMargin=5 0023:fixme:gdiplus:GdipGetLineSpacing ignoring style 0023:fixme:gdiplus:GdipGetLineSpacing ignoring style 0023:trace:text:DrawTextExW L"Online help", 11, [(0,0)-(68,13)] 00000400 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=3, iRightMargin=4 0023:trace:text:DrawTextExW L"Online help", 11, [(0,0)-(68,13)] 00000000 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=3, iRightMargin=4 0023:trace:text:DrawTextExW L"Online help", 11, [(0,0)-(68,13)] 00000000 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=3, iRightMargin=4 0023:trace:text:DrawTextExW L"Minimize", 8, [(0,0)-(8,4)] 00002415 0023:trace:text:DrawTextExW Params: iTabLength=0, iLeftMargin=3, iRightMargin=4 <never returns from DrawTextExW, live loop here> --- snip ---
Debugger:
--- snip --- Wine-dbg>info process pid threads executable (all id:s are in hex) 00000022 3 'Windows7-USB-DVD-Download-Tool.exe' 00000020 1 'explorer.exe' 0000000e 5 'services.exe' 00000019 3 _ 'plugplay.exe' 00000012 4 _ 'winedevice.exe' 00000008 1 'notepad.exe'
Wine-dbg>attach 0x22
TEXT_NextLineW () at /home/focht/projects/wine/wine.repo/src/dlls/user32/text.c:718 0x7ec1a7ea TEXT_NextLineW+0x4b7 [/home/focht/projects/wine/wine.repo/src/dlls/user32/text.c:718] in user32: movl 0x38(%ebp),%eax 718 pellip->len = 0;
Wine-dbg>bt Backtrace:
=>0 0x7ec1a7ea TEXT_NextLineW+0x4b7(hdc=0x40034, str="Minimize", count=0x33dd94, dest="Minimize??", len=0x33dd98, width=0x8, format=0x2515, retsize=0x33e5a0, last_line=0, p_retstr=0x33e59c, tabwidth=0, pprefix_offset=0x33dd54, pellip=0x33dd44) [/home/focht/projects/wine/wine.repo/src/dlls/user32/text.c:718] in user32 (0x0033dcd8)
1 0x7ec1b1ea DrawTextExW+0x4eb(hdc=<couldn't compute location>, str=<couldn't compute location>, i_count=<couldn't compute location>, rect=<couldn't compute location>, flags=<couldn't compute location>, dtp=<couldn't compute location>) [/home/focht/projects/wine/wine.repo/src/dlls/user32/text.c:977] in user32 (0x0033e628)
2 0x0037beb1 (0x0033e668) --- snip ---
$ sha1sum Windows7-USB-DVD-tool.exe ed1108a525066d1f850023cb5bfa05fc4ed21983 Windows7-USB-DVD-tool.exe
$ du -sh Windows7-USB-DVD-tool.exe 2.6M Windows7-USB-DVD-tool.exe
$ wine --version wine-1.7.19-70-gd6a59f7
Regards
https://bugs.winehq.org/show_bug.cgi?id=36647
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download URL| |http://www.microsoftstore.c | |om/store/msusa/html/pbPage. | |Help_Win7_usbdvd_dwnTool
https://bugs.winehq.org/show_bug.cgi?id=36647
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f25317a6086700ec5c895cab9a1 | |c791a17d8ff01 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
this was fixed by commit http://source.winehq.org/git/wine.git/commitdiff/f25317a6086700ec5c895cab9a1...
Thanks Henri
Regards
https://bugs.winehq.org/show_bug.cgi?id=36647
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.21.
https://bugs.winehq.org/show_bug.cgi?id=36647
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.microsoftstore.c |https://web.archive.org/web |om/store/msusa/html/pbPage. |/20140214210531/http://imag |Help_Win7_usbdvd_dwnTool |es2.store.microsoft.com/pro | |d/clustera/framework/w7udt/ | |1.0/en-us/Windows7-USB-DVD- | |tool.exe