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
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..