[Bug 16047] Wine and WSASendTo GARENA crash access violation

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jul 14 08:56:32 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=16047


Pigeon <pigeon at pigeond.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pigeon at pigeond.net




--- Comment #17 from Pigeon <pigeon at pigeond.net>  2010-07-14 08:56:31 ---
I've been testing this recently, using wine 1.2 + acceptex patch or
git://repo.or.cz/wine/hacks.git

Both still have the same problem when you actually join a game.

My understand is:

war3 calls WS_send or WSASend
WS_send/WSASend calls WSASendTo with a NULL lpTo
war3hook.dll catches WSASendTo, and not checking the NULL lpTo.

I have tried sending a dummy lpTo and it seems to fix the NULL dereference, but
it fails to join a game. I guess I'm not sure about how I should setup lpTo
(addr, port, etc).

Another interesting thing is, if I have WINEDEBUG=+relay, the problem somehow
goes away, I can join and play a full game.

P.S. Since wine 1.1.26, Garena GUI won't come up unless you kill the
winedevice.exe GarenaPEngine process.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list