http://gambaswiki.org/bugtracker/edit?object=BUG.752&from=L21haW4-
Alexander KUIPER reported a new bug. Summary ------- Gambas shows - gbx3: warning: trying to watch fd #-1 Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Gambas3 3.8.1 (and trunk) will give this message in the console on Pi2 and Cubieboard when the ServerSocket is used and other side closes the connection earlier then our side. Only x86/x86_64 this message isn't seen, so most likely a timing issue? The reproduction scenario on Pi2 is as follows: - Create a ServerSocket - The ServerSocket passes it as a Socket, when somebody connects - Socket is handling input/output - Remote closes the connection via the normal TCP/IP FIN - The message "gbx3: warning: trying to watch fd #-1" is sometimes shown on the console An important note: - If Gambas closes the Socket before the client disconnects, no error/message is ever shown Looking into the gb.net/src/CSocket.c it looks Gambas closes the socket (on request of the client), BUT forgets set GB.Watch to none and this message is shown. It isn't shown always, so it looks like a timing issue. ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user