|
Re: valgrind error: msg#00026lang.haskell.glasgow.bugs
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" <aegnor@xxxxxxxxxxxxxxxxxxx> To: <glasgow-haskell-bugs@xxxxxxxxxxx> 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 >
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | valgrind error, Abraham Egnor |
|---|---|
| Next by Date: | LD_LIBRARY_PATH, ghc and Solaris, George Russell |
| Previous by Thread: | valgrind error, Abraham Egnor |
| Next by Thread: | LD_LIBRARY_PATH, ghc and Solaris, George Russell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |