http://bugs.winehq.org/show_bug.cgi?id=29231
Bug #: 29231 Summary: Tango (Freeware video chat application) fails in WSALookupServiceBegin, needs WSALookupServiceBeginW Product: Wine Version: 1.3.34 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock AssignedTo: wine-bugs@winehq.org ReportedBy: robbak@robbak.com Classification: Unclassified
Created attachment 37765 --> http://bugs.winehq.org/attachment.cgi?id=37765 Full Terminal output of running software. Expands to 76MB.
Freeware video chat application Tango fails to connect to its server. The console log complains with thousands of fixme:winsock:WSALookupServiceBeginW (0x23fe794 0x00000000 0x1d2d5a4) Stub! 2011 12 03 22:34:20.037 [0.39] <connectivity.ERROR> Failed to begin service from WSALookupServiceBegin error = 8
Full log, gzipped, until it was killed with ^C, attached. (no other way of ending application). Not very interesting: It is mostly 76 Meg (!) of the above two lines, repeated endlessly, from ~20 seconds of operation.
http://bugs.winehq.org/show_bug.cgi?id=29231
Robert Backhaus robbak@robbak.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://update-cdn.tango.me/ | |windows/SetupTango.exe
http://bugs.winehq.org/show_bug.cgi?id=29231
Robert Backhaus robbak@robbak.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=2195
http://bugs.winehq.org/show_bug.cgi?id=29231
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |00cpxxx@gmail.com Ever Confirmed|0 |1
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2011-12-03 16:57:02 CST --- I can confirm the bug in 1.3.34. I'll take a look and see what I can do about the stub functions.
http://bugs.winehq.org/show_bug.cgi?id=29231
TJ johansen.priv@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johansen.priv@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29231
Robert Backhaus robbak@robbak.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=29231
Luke Bratch l_bratch@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
http://bugs.winehq.org/show_bug.cgi?id=29231
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com 2011-12-14 18:53:09 CST --- I have made a small change to dump the values of the query and after testing it in Windows (possibly MY mistake) it didn't work too. I'm still trying to get a working example in Windows...
Tango query dump: lpqsRestrictions->dwSize=60 lpqsRestrictions->lpszServiceInstanceName=(nil) lpqsRestrictions->lpServiceClassId=(nil) lpqsRestrictions->lpVersion=(nil) lpqsRestrictions->lpszComment=(nil) lpqsRestrictions->dwNameSpace=15 lpqsRestrictions->lpNSProviderId=(nil) lpqsRestrictions->lpszContext=(nil) lpqsRestrictions->dwNumberOfProtocols=0 lpqsRestrictions->lpafpProtocols=(nil) lpqsRestrictions->lpszQueryString=(nil) lpqsRestrictions->dwNumberOfCsAddrs=0 lpqsRestrictions->lpcsaBuffer=(nil) lpqsRestrictions->dwOutputFlags=0 lpqsRestrictions->lpBlob=(nil)
http://bugs.winehq.org/show_bug.cgi?id=29231
Igor Demyanov igor.demyanov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |igor.demyanov@gmail.com
--- Comment #3 from Igor Demyanov igor.demyanov@gmail.com 2012-10-20 06:30:59 CDT --- Wine 1.5.15, Ubuntu 12.10 64bit Game "The Hunter" also need this API. Console out: fixme:winsock:WSALookupServiceBeginW (0xdee620 0x00000ff0 0xdee610) Stub! [1020/152138:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8
http://bugs.winehq.org/show_bug.cgi?id=29231
git tester kdebugs@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kdebugs@hotmail.com
--- Comment #4 from git tester kdebugs@hotmail.com 2013-01-30 17:59:27 CST --- The HawkenInstaller.exe is also affected by this bug in the latest git as of this message.
http://bugs.winehq.org/show_bug.cgi?id=29231
Bernd Buschinski b.buschinski@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |b.buschinski@googlemail.com
http://bugs.winehq.org/show_bug.cgi?id=29231
--- Comment #5 from Dan Kegel dank@kegel.com 2013-07-06 20:54:35 CDT --- Created attachment 45129 --> http://bugs.winehq.org/attachment.cgi?id=45129 Example with source code
Here's the source from http://www.winsocketdotnetworkprogramming.com/winsock2programming/winsock2ad... plus the output of 'cl nla.cc ws2_32.lib'.
Running it on a windows 7 laptop in a cmd.exe window outputs:
WSAStartup() should be OK! WSALookupServiceBegin() should be OK! WSACreateEvent() should be fine! Querying for Networks...
Network Name: socal.rr.com Comment (if any): (null) NLA Data Type: NLA_CONNECTIVITY Network Type: Unmanaged Internet connectivity: Yes NLA Data Type: NLA_INTERFACE Type: 0 Speed: 0 Adapter Name: {2A5D3F54-F991-49B7-8E0F-C76A1C607010} No more data, exit...
Finished query, Now wait for change notification... ^C
Running it on Wine produces just an error about WSALookupServiceBegin failing.
http://bugs.winehq.org/show_bug.cgi?id=29231
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |00cpxxx@gmail.com
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com 2013-10-01 09:55:09 CDT --- Dan, thanks for the example. I think I know what to do now.
http://bugs.winehq.org/show_bug.cgi?id=29231
chemacg@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chemacg@gmail.com
--- Comment #7 from chemacg@gmail.com --- I get this error every 2 minutes while playing Guild Wars 2
[0209/163820:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8 [0209/164020:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8 [0209/164220:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8 [0209/164420:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8 [0209/164620:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8 [0209/164820:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8
Is it related?
http://bugs.winehq.org/show_bug.cgi?id=29231
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- Yes, but if it's not affecting the game play there is no need to worry.
https://bugs.winehq.org/show_bug.cgi?id=29231
Paul Mason latepaul@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |latepaul@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=29231
lizhenbo litimetal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=29231
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
https://bugs.winehq.org/show_bug.cgi?id=29231
Mike Ellery mellery@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mellery@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=29231
--- Comment #9 from Mike Ellery mellery@gmail.com --- *** Bug 39392 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=29231
--- Comment #10 from Mike Ellery mellery@gmail.com --- Also affects Marvel Heroes 2015, logging in gives the error
"Login was canceled. This is usually caused by a lack of memory or internet connectivity problems."
and console output
fixme:winsock:WSALookupServiceBeginW (0x293a384 0x00000ff0 0x293a3cc) Stub! [1005/162339:ERROR:network_change_notifier_win.cc(160)] WSALookupServiceBegin failed with: 8
tested with wine-staging 1.7.52
https://bugs.winehq.org/show_bug.cgi?id=29231
Andreas Fuchs anduchs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anduchs@gmail.com
--- Comment #11 from Andreas Fuchs anduchs@gmail.com --- Black Desert Online Launcher seems to be affected as well...
https://bugs.winehq.org/show_bug.cgi?id=29231
--- Comment #12 from Andreas Fuchs anduchs@gmail.com --- (In reply to Andreas Fuchs from comment #11)
Black Desert Online Launcher seems to be affected as well...
Ok, I take this back, its something else... But in case someone likes to debug their problems, here's some code-snipped...
Cheers...
INT WINAPI WSALookupServiceBeginW( LPWSAQUERYSETW lpqsRestrictions, DWORD dwControlFlags, LPHANDLE lphLookup) { FIXME("(%p 0x%08x %p) Stub!\n", lpqsRestrictions, dwControlFlags, lphLookup); if (!lpqsRestrictions) { FIXME("lpqsRestrictions == NULL\n"); } else { FIXME("Restrictions->size: %d\n", lpqsRestrictions->dwSize); FIXME("Restrictions->lpszServiceInstanceName: %s\n", lpqsRestrictions->lpszServiceInstanceName); FIXME("Restrictions->lpServiceClassId: %p\n", lpqsRestrictions->lpServiceClassId); FIXME("Restrictions->lpVersion: %p\n", lpqsRestrictions->lpVersion); FIXME("Restrictions->lpszComment: %s\n", lpqsRestrictions->lpszComment); FIXME("Restrictions->dwNameSpace: %d\n", lpqsRestrictions->dwNameSpace); FIXME("Restrictions->lpNSProviderId: %p\n", lpqsRestrictions->lpNSProviderId); FIXME("Restrictions->lpszContext: %s\n", lpqsRestrictions->lpszContext); FIXME("Restrictions->dwNumberOfProtocols: %d\n", lpqsRestrictions->dwNumberOfProtocols); FIXME("Restrictions->lpafpProtocols: %p\n", lpqsRestrictions->lpafpProtocols); FIXME("Restrictions->lpszQueryString: %s\n", lpqsRestrictions->lpszQueryString); FIXME("Restrictions->dwNumberOfCsAddrs: %d\n", lpqsRestrictions->dwNumberOfCsAddrs); FIXME("Restrictions->lpcsaBuffer: %p\n", lpqsRestrictions->lpcsaBuffer); FIXME("Restrictions->dwOutputFlags: %04x\n", lpqsRestrictions->dwOutputFlags); FIXME("Restrictions->lpBlob: %p\n", lpqsRestrictions->lpBlob); }
SetLastError(WSASERVICE_NOT_FOUND); return SOCKET_ERROR; }
https://bugs.winehq.org/show_bug.cgi?id=29231
Jason Bagavatsingham jason.bagavatsingham@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jason.bagavatsingham@gmail. | |com
--- Comment #13 from Jason Bagavatsingham jason.bagavatsingham@gmail.com --- Created attachment 57631 --> https://bugs.winehq.org/attachment.cgi?id=57631 Black Desert Online Launcher backtrace
This issue is indeed occurring on the latest launcher for Black Desert online (Feb 27th 2017).
When the Launcher attempts to download the games data (akamai-gamecdn.blackdesertonline.com/live001/game/download/059/BlackDesertOnline369.bcab) the client will either soft-lock or report the following error: "An error occurred while downloading file. (errorcode : 12006)"
Wine backtrace have been attached.
https://bugs.winehq.org/show_bug.cgi?id=29231
--- Comment #14 from Bruno Jesus 00cpxxx@gmail.com --- This function affects negatively only a few handful of applications, for example launching Steam will always show the fixme. The issue you are seeing is most likely unrelated to this. You have a libcef crash that is common in many other bugs. The 12006 error looks interesting, you could open a new bug report attaching a +wininet log for that.
https://bugs.winehq.org/show_bug.cgi?id=29231
--- Comment #15 from Jason Bagavatsingham jason.bagavatsingham@gmail.com --- Created attachment 57632 --> https://bugs.winehq.org/attachment.cgi?id=57632 Error message when attempting to download Black Desert Online's game data.
https://bugs.winehq.org/show_bug.cgi?id=29231
--- Comment #16 from Jason Bagavatsingham jason.bagavatsingham@gmail.com --- (In reply to Bruno Jesus from comment #14)
This function affects negatively only a few handful of applications, for example launching Steam will always show the fixme. The issue you are seeing is most likely unrelated to this. You have a libcef crash that is common in many other bugs. The 12006 error looks interesting, you could open a new bug report attaching a +wininet log for that.
Thanks for the info. I've opened a new ticket (42677) for the error message with a +wininet log. As for the libcef.dll crash, is it a generic crash or is there a global ticket tracking it?
https://bugs.winehq.org/show_bug.cgi?id=29231
Mike Ellery mellery@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|mellery@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=29231
Andreas Gnau Rondom@Rondom.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Rondom@Rondom.de