http://bugs.winehq.org/show_bug.cgi?id=21089
Summary: MIDAS application (SamoTourAgent) fails to connect to server - regression Product: Wine Version: 1.1.34 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wininet AssignedTo: wine-bugs@winehq.org ReportedBy: savelov@gmail.com CC: jacek@codeweavers.com
Regression after this commit -
c952e81a898006a4c0789f523859827d2620c146 is first bad commit commit c952e81a898006a4c0789f523859827d2620c146 Author: Jacek Caban jacek@codeweavers.com Date: Thu Dec 3 14:48:54 2009 +0100
wininet: Directly return error from HTTP_HttpSendRequest.
:040000 040000 e6a6dc02f9dfebbb2c7f1cd6fbe74003730e05a0 f7d18a8ffeef3eb22fa93caefa96af6cfb8da07a M dlls
Now application fails to connect to host server. It is using Borland MIDAS 3.0 library
http://bugs.winehq.org/show_bug.cgi?id=21089
--- Comment #1 from Eugene Savelov savelov@gmail.com 2009-12-20 01:45:16 --- Created an attachment (id=25297) --> (http://bugs.winehq.org/attachment.cgi?id=25297) output of correctly working application
http://bugs.winehq.org/show_bug.cgi?id=21089
--- Comment #2 from Eugene Savelov savelov@gmail.com 2009-12-20 01:48:37 --- I have performed regression testing between 1.1.33 and 1.1.34 according to http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=21089
--- Comment #3 from Eugene Savelov savelov@gmail.com 2009-12-20 01:55:10 --- application description - http://appdb.winehq.org/objectManager.php?sClass=application&iId=8803
http://bugs.winehq.org/show_bug.cgi?id=21089
--- Comment #4 from Eugene Savelov savelov@gmail.com 2009-12-20 01:59:52 --- bug still present in latest 1.1.35 wine
http://bugs.winehq.org/show_bug.cgi?id=21089
--- Comment #5 from Eugene Savelov savelov@gmail.com 2009-12-20 02:49:23 --- Created an attachment (id=25298) --> (http://bugs.winehq.org/attachment.cgi?id=25298) trace of WINEDEBUG=+wininet with wine 1.1.35
http://bugs.winehq.org/show_bug.cgi?id=21089
--- Comment #6 from Eugene Savelov savelov@gmail.com 2009-12-20 03:05:20 --- Created an attachment (id=25299) --> (http://bugs.winehq.org/attachment.cgi?id=25299) trace of WINEDEBUG=+wininet with wine 1.1.33
http://bugs.winehq.org/show_bug.cgi?id=21089
--- Comment #7 from Eugene Savelov savelov@gmail.com 2009-12-20 03:27:33 --- this is trace that is causing application to fail - dwError=183 in InternetErrorDlg()
trace:wininet:InternetErrorDlg 0x10020 0x3 183 00000007 0x32fa18
when application working correctly, dwError=0
http://bugs.winehq.org/show_bug.cgi?id=21089
--- Comment #8 from Eugene Savelov savelov@gmail.com 2009-12-20 04:13:52 --- Created an attachment (id=25301) --> (http://bugs.winehq.org/attachment.cgi?id=25301) debug with +relay shows that error code (183) is returned from KERNEL32.GetLastError
http://bugs.winehq.org/show_bug.cgi?id=21089
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #9 from Hans Leidekker hans@meelstraat.net 2009-12-20 04:40:21 --- 183 == ERROR_ALREADY_EXISTS, which comes from the cache code trying to find a new cache file name.
The app checks the return code from GetLastError() even though HttpSendRequest returns success. We should probably clear last error on success, but first we need a test case to confirm that.
http://bugs.winehq.org/show_bug.cgi?id=21089
--- Comment #10 from Hans Leidekker hans@meelstraat.net 2009-12-20 07:32:57 --- Created an attachment (id=25306) --> (http://bugs.winehq.org/attachment.cgi?id=25306) wininet: Always set last error in HttpSendRequest{,Ex}.
Try this patch.
http://bugs.winehq.org/show_bug.cgi?id=21089
--- Comment #11 from Eugene Savelov savelov@gmail.com 2009-12-20 10:49:45 --- yes, application succesfully works with the patch applied.
http://bugs.winehq.org/show_bug.cgi?id=21089
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|MIDAS application |MIDAS application |(SamoTourAgent) fails to |(SamoTourAgent) fails to |connect to server - |connect to server |regression |
http://bugs.winehq.org/show_bug.cgi?id=21089
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #12 from Hans Leidekker hans@meelstraat.net 2009-12-22 02:17:16 --- Fixed by 68453a525133529e601b74f6922477514495c349.
http://bugs.winehq.org/show_bug.cgi?id=21089
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Jeff Zaroyko jeffz@jeffz.name 2010-01-09 04:51:03 --- Closing bugs fixed in 1.1.36.