English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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