From: <da...@2g...> - 2003-04-14 09:07:08
|
Hello, Now I have made a small example that has the following properties: 1) The server works standalone 2) The server works in valgrind 1.0.4 3) The server does not work in valgrind 1.9.5 My system is RedHat Linux 8 with the latest updates. Output from `uname -a`: Linux zion.2good.net 2.4.18-27.8.0 #1 Fri Mar 14 06:45:49 EST 2003 i686 i686 i386 GNU/Linux Some RPM versions: glib-1.2.10-8 glib-devel-1.2.10-8 glibc-2.3.2-4.80.6 glibc-devel-2.3.2-4.80.6 Download my example code here: http://www.2good.nu/tmp/server.tar.gz Just type make to build. Start the server in one shell and run the client in another shell. Expected output from server: connect now! <-- when the server starts client found? condition=1 <-- when a client connects New client! (6) In thread Socket closed <-- this never happens in valgrind 1.9.5 The client does not provide any output, it should just connect and then exit when the server closes the connection. Thank you very much, David Eriksson |