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
[Caml-list] Segmentation fault at process initialization
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-09-18 (16:54)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] Segmentation fault at process initialization
On Thursday, September 18, 2003, at 03:21 PM, Alex Baretta wrote:

> Let me point out that it is not ocamlc which crashes, but it is my 
> bytecode executable which crashes immediately, before any of my code 
> is executed--otherwise I'd get some diagnostic output, which I do not 
> get.

You should use ocamldebug, it will tell you in which library's
initialisation code your program crashes.  With ocamldebug you
can step back, even from a segfault.

-- Damien

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners