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
Re: [Caml-list] Segfault using malloc within stubs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-02-08 (17:51)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] Segfault using malloc within stubs
On Feb 6, 2005, at 15:05, julius wrote:

> Actually, this is just un exemple that illustrates the real function I 
> used. We can add some use of the test pointer and result value but it 
> changes nothing: in this function you can't do anything that someway 
> malloc the test pointer.
> As you say it's very weird and much disapointing :)

Except for the "CAML" macro that doesn't exist and the uninitialized 
of the "result" variable, your code is correct.  The bug must be within
the part that you removed.

-- Damien