Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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 
value
of the "result" variable, your code is correct.  The bug must be within
the part that you removed.

-- Damien