Version française
Home     About     Download     Resources     Contact us    
Browse thread
marshal and C structures crash
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Robert Roessler <roessler@r...>
Subject: Re: [Caml-list] marshal and C structures crash
Andres Varon wrote:
> ...
> For those of you who reached this line of my email, thanks for the 
> effort! I will listen at any ideas that could pop up in your minds.

Hey, I will read the full message just to see what someone is doing 
with 70K lines of OCaml code! :)

The usual comment - you don't mention any version and platform 
details... especially with something that took as long as this 
probably did, those might be of interest (particularly since some 
teams doing a project of this size might have not been keeping up with 
OCaml releases).

It is not crystal clear that you are using "finalize" routines - if 
so, they are an obvious (and easy) place to position check code.  If 
not, why not?  It sounds like you might *need* to wrap some of your 
values created in C-land in smart-but-thin OCaml objects, if for 
nothing else than to more delicately handle lifetime issues.

These "popped up" for me on my initial reading. ;)

Robert Roessler
roessler@rftp.com
http://www.rftp.com