|
From: Hourigan, E. <edw...@lm...> - 2004-03-29 14:29:16
|
Actually, its not hanging up. It jsut takes a long time. No bug. I am all set now; I just have to be more patient. -----Original Message----- From: Nicholas Nethercote [mailto:nj...@he...]On Behalf Of Nicholas Nethercote Sent: Sunday, March 28, 2004 7:21 AM To: Hourigan, Edward Cc: val...@li... Subject: Re: [Valgrind-users] valgrind 'hangs' when program under its control tries to open a file On Wed, 24 Mar 2004, Hourigan, Edward wrote: > I have a C++ app built w/ gcc 2.95.2. > When it attemtpts to open a simple asc-ii file using fstream class, it hangs. > Do I have to do anything special when using the C++ iostream classes? No. It could be a Valgrind bug. But it's hard to tell from the little information you've given. N |
|
From: Nicholas N. <nj...@ca...> - 2004-03-29 14:45:30
|
On Mon, 29 Mar 2004, Hourigan, Edward wrote: > Actually, its not hanging up. It jsut takes a long time. No bug. I am > all set now; I just have to be more patient. How long is "long"? Valgrind, using the default Memcheck tool, normally runs programs about 30 times slower than normal. Older versions (2.0.0 and earlier) don't always handle blocking system calls well; that could be what you are seeing. If you are using an older version, you might find version 2.1.1 to behave better. N |