|
From: Eyal L. <ey...@ey...> - 2003-03-25 09:22:20
|
valgrind version 1.9.4. I am having a problem with a program that spawn. Everything works fine until I wrap valgrind aroung one (call it A). After a while A starts running a set of programs. It works for a short while and then one program (call it B) runs, completes and just hangs there. I checked and am rather sure that B executed its exit(). The whole system stops at this point. The interesting thing is that A is actually multithreaded, and once the fork() is done all activity stop. One thread of A wakes up every second (so I it can be used as a hreartbeat) but anymore. I finally kill B, at which point A reports the fact and the other threads of A work again. I suspect a problem with fork/wait. I plan to investigate further but wonder is anyone already knows of any issues in this area. And I do understand that multithreading is a bit shaky at this point. I run with --follow-children=no. -- Eyal Lebedinsky (ey...@ey...) <http://samba.org/eyal/> |