In article <
f46cd37b-0993-4e6a-9150-1163855b0e27@googlegroups.com>,
Andrew Pennebaker <
andrew.pennebaker@gmail.com> wrote:
I can valgrind my C/C++ apps in Debian, but when I try to run valgrind
in OpenBSD, it complains "Invalid write" :/
It's possible the memory model is more strict.
It's also possible that valgrind does some things wrong.
Try running it on OpenBSD using strong malloc flags ? refer to malloc's manpage. If you're running -current, it's now a sysctl, it used to be
a symlink called /etc/malloc.conf.
Setting it to "S" should help you debug things.
One big difference is that OpenBSD now has clang as default compiler.
And uses libc++ by default for C++ apps. Some sloppy stuff you're doing
might not agree with that...
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)