http://bugs.winehq.org/show_bug.cgi?id=34908
Bug #: 34908 Summary: TERA Online patcher fails to start since wine 1.7.6 Product: Wine Version: 1.7.6 Platform: x86-64 URL: http://patch.tera.enmasse-game.com/TERA-Setup.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winhttp AssignedTo: wine-bugs@winehq.org ReportedBy: envil@vexar.de CC: jacek@codeweavers.com Classification: Unclassified Regression SHA1: 92426b5136355200bfbc9561fcd9601ac130c66a
Created attachment 46525 --> http://bugs.winehq.org/attachment.cgi?id=46525 debug output, patcher does not work.
Since wine 1.7.6 the patcher of TERA Online (NA version) no longer starts (it just exits without any error). This is caused by commit 92426b5136355200bfbc9561fcd9601ac130c66a. After reverting only this commit the patcher works again.
The game can be downloaded for free: http://patch.tera.enmasse-game.com/TERA-Setup.exe. This will install the patcher.
http://bugs.winehq.org/show_bug.cgi?id=34908
--- Comment #1 from Steffen envil@vexar.de 2013-11-14 14:46:16 CST --- Created attachment 46526 --> http://bugs.winehq.org/attachment.cgi?id=46526 debug output, patcher works.
http://bugs.winehq.org/show_bug.cgi?id=34908
--- Comment #2 from Steffen envil@vexar.de 2013-11-14 14:49:55 CST --- I attached two log files with debug output (+relay,+winhttp) grepped for "winhttp" to reduce the size. One is with this commit (patcher not working) and the other one is with the problematic commit reverted (patcher working).
http://bugs.winehq.org/show_bug.cgi?id=34908
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=34908
treeki@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |treeki@gmail.com
--- Comment #3 from treeki@gmail.com 2013-11-14 17:06:34 CST --- Hi,
I can confirm this regression in some software I work on. I cannot provide a download link as it's unreleased proprietary software, but I've done some exhaustive debugging and I'm extremely confident that this is the cause. Our HTTP code works perfectly when WINE commit 92426b5136355200bfbc9561fcd9601ac130c66a is reverted, but fails almost instantly when that commit is applied.
In my case, WinHttpQueryDataAvailable is reporting that more data is available than there really is. When I try to call WinHttpReadData, passing this amount, it appears to succeed but the extra data copied into the buffer is actually garbage -- whatever is located after read_buf inside request_t -- and after a couple of reads, QueryDataAvailable sends a callback saying there's 0 bytes available.
There doesn't seem to be any reliable way to detect or work around this bug.
http://bugs.winehq.org/show_bug.cgi?id=34908
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|TERA Online patcher fails |TERA Online patcher fails |to start since wine 1.7.6 |to start
http://bugs.winehq.org/show_bug.cgi?id=34908
--- Comment #4 from Hans Leidekker hans@meelstraat.net 2013-11-15 02:25:16 CST --- Created attachment 46531 --> http://bugs.winehq.org/attachment.cgi?id=46531 patch
Does this patch help?
http://bugs.winehq.org/show_bug.cgi?id=34908
--- Comment #5 from Steffen envil@vexar.de 2013-11-15 12:07:57 CST --- Yes with the patch applied it works.
http://bugs.winehq.org/show_bug.cgi?id=34908
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com 2013-11-15 15:41:39 CST --- Patch commited: http://source.winehq.org/git/wine.git/commitdiff/e894c897d52c3e5852498164e24...
http://bugs.winehq.org/show_bug.cgi?id=34908
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e894c897d52c3e5852498164e24 | |6b473e0c6a786 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #7 from Jacek Caban jacek@codeweavers.com 2013-11-16 05:13:55 CST --- Fixed in Git.
http://bugs.winehq.org/show_bug.cgi?id=34908
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2013-11-22 12:51:16 CST --- Closing bugs fixed in 1.7.7.