|
valgrind error: msg#00025lang.haskell.glasgow.bugs
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: | hClose non-terminating, George Russell |
|---|---|
| Next by Date: | Re: valgrind error, Sigbjorn Finne |
| Previous by Thread: | hClose non-terminating, George Russell |
| Next by Thread: | Re: valgrind error, Sigbjorn Finne |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |