[Bug 36647] New: Windows 7 USB/DVD download tool hangs on startup (DrawTextExW/TEXT_NextLineW live loop)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 2 14:12:58 CDT 2014


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 at winehq.org
          Reporter: focht at 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_dwnTool

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

-- 
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.



More information about the wine-bugs mailing list