|
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 |
|
From: David E. <da...@2g...> - 2003-04-21 08:54:13
|
On Mon, 2003-04-14 at 11:17, da...@2g... wrote: > 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 I would like to add that this problem does not occur with valgrind 1.9.5 on a Debian Stable (Woody) system with the latest updates. Output from `uname -a`: Linux hotstepper.home.2good.net 2.4.16 #4 Thu Nov 29 21:47:57 CET 2001 i686 unknown Some DEB versions: libglib1.2 1.2.10-4 libglib1.2-dev 1.2.10-4 libc6 2.2.5-11.5 libc6-dev 2.2.5-11.5 -- -\- David Eriksson -/- www.2GooD.nu "I personally refuse to use inferior tools because of ideology." - Linus Torvalds |