https://bugs.winehq.org/show_bug.cgi?id=53588
Bug ID: 53588 Summary: listening tcp socket is removed after some time Product: Wine Version: 3.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: marcsamuro@gmail.com Distribution: ---
Hi,
i'm testing a rather simple background windows application that uses only disk, network, memory, processes and threads. When starting, the application opens a pair (ip4 & ip6) of listening socket on TCP port 80, and another pair of listening sockets on UDP port 13000. They are always kept open.
At first everything works fine, all listening ports appear when doing netstat and the application works great :
netstat -nap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 15897/wineserver64 tcp6 0 0 :::80 :::* LISTEN 15897/wineserver64 udp 0 0 0.0.0.0:13000 0.0.0.0:* 15897/wineserver64 udp6 0 0 :::13000 :::* 15897/wineserver64
However, after some time (a few hours ?) suddenly the tcp listening sockets do no longer appear when doing netstat :
netstat -nap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name udp 0 0 0.0.0.0:13000 0.0.0.0:* 15897/wineserver64 udp6 0 0 :::13000 :::* 15897/wineserver64
The UDP listening socket still appear, and the application responds fine to requests on the UDP port. However the TCP (http) connection on port 80 does not respond anymore.
What could be the cause of that, what can i test to pinpoint the problem ? I saw the sockets are owned by wineserver64 so i guess they are managed by wine. Why does only the TCP disappear and not the UDP ? Is there a timeout or some other settings ?
On pure Windows, the application works fine since years, so it must be some problem with linux or wine.
I'm using wine-3.0 (Ubuntu 3.0-1ubuntu1)
i'm starting the app with the command line :
nohup wine planet_server.exe &
Thank you.