http://bugs.winehq.org/show_bug.cgi?id=19351
Summary: RootsMagic 4 installer hangs while downloading place database Product: Wine Version: 1.1.25 Platform: PC URL: http://dl.filekicker.com/send/file/219954-2T11/RM4Setu p.exe OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: wininet AssignedTo: wine-bugs@winehq.org ReportedBy: arethusa26@gmail.com
Created an attachment (id=22410) --> (http://bugs.winehq.org/attachment.cgi?id=22410) RootsMagic 4 installer +wininet trace
With today's Git (wine-1.1.25-487-gf59a309), when the "Download Place Database for geocoding and gazetteering" option is selected (by default), the installer attempts to retrieve the relevant file. Instead of working as expected, the installer simply hangs at "Getting file information..." and the download attempt cannot be aborted. winedbg seems to indicate that the download thread is hung trying to read from the stream:
Backtrace: =>0 0xb7f0042e (0x029fb62c) 1 0x7df0a858 HTTPREQ_Read+0x368(req=<register ESI not in topmost frame>, buffer=0x29fb6bc, size=<register EDI not in topmost frame>, read=0x29fb6b8, sync=1) [/home/andrew/wine-git/dlls/wininet/http.c:2119] in wininet (0x029fb68c) 2 0x7df0a9ae HTTP_DrainContent+0x7e(req=<register ESI not in topmost frame>) [/home/andrew/wine-git/dlls/wininet/http.c:2551] in wininet (0x029fbecc) 3 0x7df11a05 HTTP_HttpSendRequestW+0x1975(lpwhr=0x16eec0, lpszHeaders=(nil), dwHeaderLength=0, lpOptional=(nil), dwOptionalLength=0, dwContentLength=0, bEndRequest=1) [/home/andrew/wine-git/dlls/wininet/http.c:3819] in wininet (0x029fe0cc)
From the +wininet trace, what seems to happen is that the installer sends a
HEAD request:
trace:wininet:HttpOpenRequestW (0x2, L"HEAD", L"/send/file/221146-Z3UX/PlaceDBSetup.exe", (null), (null), 0x16ee20, a0000000, 00000000) ... trace:wininet:HTTP_HttpSendRequestW full request -> "HEAD /send/file/221146-Z3UX/PlaceDBSetup.exe HTTP/1.1\r\nAccept: */*\r\nHost: dl.filekicker.com\r\nContent-Length: 0\r\nUser-Agent: IS Download DLL\r\n\r\n"
and gets back:
trace:wininet:HTTP_GetResponseHeaders raw headers: L"HTTP/1.1 302 Object moved\r\nDate: Fri, 17 Jul 2009 07:59:26 GMT\r\nX-Powered-By: ASP.NET\r\nP3P: CP='NOI ADM DEV COM NAV OUR IND'\r\nLocation: http://dl5.filekicker.net/private/$adv-rgn1$1247860766$160ac4f01d68678bfbb5d..."...
A HEAD request is not supposed to contain any message body, so wininet may not be handling the HEAD request correctly and tries to read further data when there is none to be expected.