Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Causes for segfaults
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-11-06 (02:51)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Causes for segfaults

On Sat, Nov 06, 2010 at 12:14:31AM +0100, Jamie Brandon wrote:

I had a Segmentation Fault some days ago in native code. Compiling
with bytecode, it raised Stack_overflow. The bug was that I called
a non tail-recursive function.

Is your stack size unlimited ? (command: ulimit -a)

If it is, perhaps try to limit it and try again in bytecode to see
if the Segmentation Fault is transformed into a Stack Overflow.

Daniel de Rauglaudre