Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Bigarrays and blocking_section..
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-05-25 (20:10)
From: Romain Beauxis <toots@r...>
Subject: Re: [Caml-list] Bigarrays and blocking_section..
	Hi !

Le mardi 25 mai 2010 14:29:28, vous avez écrit :
> Are you sure that you correctly calculate the bigarray size in your
> Caml code? Why not just use struct caml_ba_array fields? I suspect
> it's not GC problem but just a buffer overrun in memset().

I'm pretty sure the size is not the problem. There may be another origin for 
the segfaults, though, but I would like to know if my assumption that I can 
release the global lock under the mentioned condition is correct..