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
Segfaults with Dynlink with OCaml 3.11
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-08-23 (11:06)
From: Stéphane Glondu <steph@g...>
Subject: Re: [Caml-list] Segfaults with Dynlink with OCaml 3.11
Le 23/08/2010 12:57, Paul Steckler a écrit :
> I'm getting segmentation faults when using dynamically linked native
> code in 64-bit OCaml 3.11 running
> on Linux (Fedora 12 x64). [...]
> I've written some small example programs with a similar structure, and
> those work just fine.  In my real,
> large program, which pulls in a lot of OCaml libraries, I get segfaults.

Does your real large program use C bindings? Are you able to reproduce
the segfaults with pure OCaml code?