On Mon, 24 Nov 2003, David Wuertele wrote: > James> Your printf's were like this > James> fprintf (stderr, "%u ", totalmalloc); > James> So it could fail somewhere between the first and last fprintf. > > Actually I noticed that bug and fixed it right after sending the > email, the fprintfs now look like this: > > fprintf (stderr, "M%u\n", totalmalloc); > > since stderr gets flushed after every newline, I know that the program > is actually hanging in the malloc. Whats the output from strace on your program ? this should tell you wether its hanging in a system call or not at least. James -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/