|
From: Jeremy F. <je...@go...> - 2003-10-20 18:20:19
|
On Mon, 2003-10-20 at 01:27, Nicholas Nethercote wrote: > On Tue, 14 Oct 2003, Jeremy Fitzhardinge wrote: > > > This is a large, complex change. I've been testing it pretty > > extensively, but I expect there's still some bugs in there (I found one > > just before checking in). Please sync to CVS HEAD and try it out on > > your favorite programs. > > --trace-malloc=yes seems to be broken. Running on 'date', I get hundreds > of these messages: > > ==12538== Warning: bad use of file descriptor 821 in syscall write() > ==12538== Use --logfile-fd=<number> to select an alternative logfile fd. > > but no --trace-malloc output. Kernel 2.4.19 again, glibc-2.3.2. Looks like a bug in --trace-malloc - its printfs seem to be being run in the virtual machine rather than the real one... I think Robert's VALGRIND_PRINTF patch might be in order. J |