caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Robert Roessler <roessler@rftp.com>
To: Caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] marshal and C structures crash
Date: Wed, 07 Feb 2007 14:59:22 -0800	[thread overview]
Message-ID: <45CA59CA.7030809@rftp.com> (raw)
In-Reply-To: <5F3F8FC7-2C10-4F4A-A7D3-6268AD6D1E5A@gmail.com>

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


  reply	other threads:[~2007-02-07 22:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07 22:05 Andres Varon
2007-02-07 22:59 ` Robert Roessler [this message]
2007-02-08  0:16   ` [Caml-list] " Andres Varon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45CA59CA.7030809@rftp.com \
    --to=roessler@rftp.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).