|
From: Nicholas N. <nj...@ca...> - 2004-01-18 17:56:02
|
On Tue, 13 Jan 2004, Lauren A wrote: > Hi. I'm having a strange problem, and I was wondering > if you had any ideas about it. My program, written in > OCaml and C, has a seg fault in it. But when I run the > program under Valgrind, there's no seg fault. Any > ideas on why that would happen? Programs run under Valgrind have their memory laid out in somewhat different ways to normal running, this can hide/unhide seg faults. If everything is working properly, Valgrind should give some kind of error message just before the seg fault happens. If this isn't the case, do you know what could be causing the error? N |