http://bugs.winehq.org/show_bug.cgi?id=18180
Summary: License server problem Product: Wine Version: 1.1.19 Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: natarajsn@gmail.com
The client exe tried to connect to a windows server on tcp port 9000. Client needs to get a licence from the server. The wine client gives error 'Unable to get license from 192.168.0.2:9000". But there same client exe gets the license in while executed in Windows OSes.
http://bugs.winehq.org/show_bug.cgi?id=18180
--- Comment #1 from Nataraj S Narayan natarajsn@gmail.com 2009-04-24 02:44:49 --- Created an attachment (id=20655) --> (http://bugs.winehq.org/attachment.cgi?id=20655) Trace Log file
http://bugs.winehq.org/show_bug.cgi?id=18180
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-24 02:45:57 --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
http://bugs.winehq.org/show_bug.cgi?id=18180
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #3 from Hans Leidekker hans@meelstraat.net 2009-04-24 03:09:42 --- Thank you for filing a bug.
It doesn't use winhttp or msxml3. It does use wininet. It's installing an odbc driver and dies shortly after that, so you should run winetricks mdac28 and try again.
http://bugs.winehq.org/show_bug.cgi?id=18180
--- Comment #4 from Nataraj S Narayan natarajsn@gmail.com 2009-04-24 03:46:13 --- Created an attachment (id=20657) --> (http://bugs.winehq.org/attachment.cgi?id=20657) WINEDEBUG=+relay,+seh,+wininet ~/wine-git/wine tall9.ex
Second Trace file with WINEDEBUG=+relay,+seh,+wininet ~/wine-git/wine tally9.exe
http://bugs.winehq.org/show_bug.cgi?id=18180
--- Comment #5 from Hans Leidekker hans@meelstraat.net 2009-04-24 05:02:15 --- 0009:Call ntdll.RtlAllocateHeap(014e0000,00000000,53455240) ret=004d8090 0009:Ret ntdll.RtlAllocateHeap() retval=00000000 ret=004d8090 0009:Call KERNEL32.InterlockedExchange(007c0dc4,7ed3fd54) ret=006d2c7c 0009:Ret KERNEL32.InterlockedExchange() retval=006d216b ret=006d2c7c 0009:Call user32.MessageBoxW(00000000,007d8a82 L"\nExiting TALLY!\n\n Out of memory. \n\n\n\n",007443a0 L"Error!",00002000) ret=0052a3df
This happens right after it has read all data from the http request. It tries to allocate 0x53455240 bytes which fails. Possibly it miscalculates the size because the payload is not what it should be. You should compare wireshark traces from running on wine and windows and concentrate on the data that is being transfered.
http://bugs.winehq.org/show_bug.cgi?id=18180
--- Comment #6 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-04-24 07:18:32 --- Created an attachment (id=20660) --> (http://bugs.winehq.org/attachment.cgi?id=20660) Test fix for this problem
Patch to attempt to fix the problem. The log in attachment 20657 shows
trace:wininet:HTTP_HttpAddRequestHeadersW copying header: L"\r\nUNICODE: Yes\r\nCOMPRESSED: Yes"
which HttpAddRequestHeadersW will reject at the first 0-length string, and stop processing there.
If this patch fixes the problem, I'll see about a proper fix and unit test.
http://bugs.winehq.org/show_bug.cgi?id=18180
Paul "TBBle" Hampson Paul.Hampson@Pobox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20660|0 |1 is obsolete| |
--- Comment #7 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-04-24 07:50:28 --- Created an attachment (id=20663) --> (http://bugs.winehq.org/attachment.cgi?id=20663) Corrector fix
Try this patch instead. Forgot to stop the loop exiting...
http://bugs.winehq.org/show_bug.cgi?id=18180
Nataraj S Narayan natarajsn@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |natarajsn@gmail.com Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #8 from Nataraj S Narayan natarajsn@gmail.com 2009-04-24 08:10:20 --- The bug has been fixed by patching with "Corrector fix'
http://bugs.winehq.org/show_bug.cgi?id=18180
Nataraj S Narayan natarajsn@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|FIXED |
--- Comment #9 from Nataraj S Narayan natarajsn@gmail.com 2009-04-24 08:20:18 --- patch has'nt reached wine yet.
http://bugs.winehq.org/show_bug.cgi?id=18180
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #10 from Dan Kegel dank@kegel.com 2009-04-25 13:06:24 --- He sent the patch in: http://www.winehq.org/pipermail/wine-patches/2009-April/072289.html but it won't be official until Alexandre commits it.
What's the name of this app, by the way?
http://bugs.winehq.org/show_bug.cgi?id=18180
Nataraj S Narayan natarajsn@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wininet
--- Comment #11 from Nataraj S Narayan natarajsn@gmail.com 2009-04-27 03:08:42 --- (In reply to comment #10)
He sent the patch in: http://www.winehq.org/pipermail/wine-patches/2009-April/072289.html but it won't be official until Alexandre commits it.
What's the name of this app, by the way?
Tally9.exe
http://bugs.winehq.org/show_bug.cgi?id=18180
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Austin English austinenglish@gmail.com 2009-04-27 10:41:59 --- Patch was committed:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=4d57ee3409222d67057935...
http://bugs.winehq.org/show_bug.cgi?id=18180
--- Comment #13 from Dan Kegel dank@kegel.com 2009-04-27 10:47:13 --- Please update the Tally AppDB page with your test results; see http://appdb.winehq.org/objectManager.php?sClass=application&iId=328
http://bugs.winehq.org/show_bug.cgi?id=18180
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2009-05-08 12:52:40 --- Closing bugs fixed in 1.1.21.