Thanks for the report. That unnecessary copying operation was removed in HEAD a couple of months back; the upcoming 6.2 release includes the changes.
--sigbjorn ----- Original Message ----- From: "Abraham Egnor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 11, 2003 08:07 Subject: valgrind error > Just for fun, I decided to run valgrind on the "empty program", i.e. main > = return (), compiled with ghc 6.0.1. Much to my surprise, it found an > error: > > ==21117== Source and destination overlap in strcpy(0xbffffc02, 0xbffffc04) > ==21117== at 0x40021E99: strcpy (mac_replace_strmem.c:87) > ==21117== by 0x8063D45: setupRtsFlags (in > /home/abe/src/haskell/test/empty) > ==21117== by 0x402B3DBD: __libc_start_main (in /lib/libc-2.3.2.so) > ==21117== by 0x8049320: (within /home/abe/src/haskell/test/empty) > > I'm not sure whether this is even a bug or just an artifact of weird > memory handing in the RTS, but it's worrying either way. > > Abe > _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
