Version française
Home     About     Download     Resources     Contact us    
Browse thread
Memory leak with ocaml 3.09 but not with ocaml <= 3.08.1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Florian Weimer <fw@d...>
Subject: Re: [Caml-list] Memory leak with ocaml 3.09 but not with ocaml <= 3.08.1
* Vincenzo Ciancia:

> My C callbacks, which then call back ocaml, look like this:

>   leave_blocking_section();

>   vpath = copy_string(path);

I don't think it's allowed to invoke the Caml allocator while not
holding the run-time library lock.