http://bugs.winehq.org/show_bug.cgi?id=14731
Summary: Crash upon starting a network server in 1000 game Product: Wine Version: CVS/GIT Platform: All URL: http://the1000.narod.ru/1000net.exe OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: t.artem@mailcity.com
Created an attachment (id=15221) --> (http://bugs.winehq.org/attachment.cgi?id=15221) crash dump
Steps to reproduce:
1) Install 2) Run 3) Choose "Be server for network game" - followed by immediate crash
http://bugs.winehq.org/show_bug.cgi?id=14731
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #1 from Artem S. Tashkinov t.artem@mailcity.com 2008-08-02 14:16:45 --- Mirror: http://the1000.mail333.com/1000net.exe
This game is absolutely free.
http://bugs.winehq.org/show_bug.cgi?id=14731
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Version|CVS/GIT |1.1.2
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2008-08-02 22:31:25 --- Not major.
http://bugs.winehq.org/show_bug.cgi?id=14731
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2008-08-03 21:31:07 --- Please set correct hardware.
http://bugs.winehq.org/show_bug.cgi?id=14731
--- Comment #4 from Andrew Nguyen arethusa26@gmail.com 2008-10-29 18:11:56 --- Created an attachment (id=16976) --> (http://bugs.winehq.org/attachment.cgi?id=16976) 1000net.exe +relay,+seh log (rzipped)
Confirming the crash in today's Git (wine-1.1.7-106-g38815e1). It seems to be a problem with winsock:
0009:Call ws2_32.WSAEnumProtocolsA(00000000,00000000,0032e3d8) ret=004326a3 0009:Ret ws2_32.WSAEnumProtocolsA() retval=ffffffff ret=004326a3 0009:Call ntdll.RtlAllocateHeap(00720000,00000000,00000b50) ret=004352be 0009:Ret ntdll.RtlAllocateHeap() retval=00729340 ret=004352be 0009:Call ws2_32.WSAEnumProtocolsA(00000000,00729340,0032e3d8) ret=00432701 0009:Ret ws2_32.WSAEnumProtocolsA() retval=00000005 ret=00432701 0009:Call KERNEL32.lstrlenA(code=c0000005 flags=0 addr=0xb7d30283 ... 8000a38c (invalid)) ret=00441fcd
The lstrlenA trace line seems to have been mangled in the log with the trace output for SEH. Relay log is attached.
http://bugs.winehq.org/show_bug.cgi?id=14731
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arethusa26@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14731
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #5 from Hans Leidekker hans@meelstraat.net 2008-10-30 03:40:15 --- The problem seems to be that wsock32.EnumProtocolsA forwards to ws2_32.WSAEnumProtocolsA where it should wrap it because the structures are not compatible (PROTOCOL_INFO vs WSAPROTOCOL_INFO).
http://bugs.winehq.org/show_bug.cgi?id=14731
--- Comment #6 from Hans Leidekker hans@meelstraat.net 2008-10-30 05:31:00 --- Created an attachment (id=16983) --> (http://bugs.winehq.org/attachment.cgi?id=16983) wsock32: Make EnumProtocols a wrapper around WSAEnumProtocols instead of forwarding directly.
Can you try this untested patch?
http://bugs.winehq.org/show_bug.cgi?id=14731
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wintab32
http://bugs.winehq.org/show_bug.cgi?id=14731
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wintab32 |winsock
http://bugs.winehq.org/show_bug.cgi?id=14731
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-30 06:08:59 --- Hans, your patch works for me.
http://bugs.winehq.org/show_bug.cgi?id=14731
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-30 10:29:12 --- The patch has been committed.
http://bugs.winehq.org/show_bug.cgi?id=14731
--- Comment #9 from Artem S. Tashkinov t.artem@mailcity.com 2008-10-30 10:33:52 --- Your patch has fixed the bug.
http://bugs.winehq.org/show_bug.cgi?id=14731
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2008-11-07 10:46:59 --- Closing bugs fixed in 1.1.8.