caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Brown <caml-list@davidb.org>
To: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Binding problem.
Date: Wed, 30 Apr 2003 21:49:18 -0700	[thread overview]
Message-ID: <20030501044918.GA2260@opus.davidb.org> (raw)
In-Reply-To: <20030430052829.GA19254@opus.davidb.org>

On Tue, Apr 29, 2003 at 10:28:29PM -0700, David Brown wrote:

> I'm trying to create a binding to sqlite.  It seems to work most of the
> time, except occasionally it makes the ocaml GC segv.

Well, I've been chasing quite a red herring.  I got so frustrated with
the SQLite binding "causing" the SEGVs that I stubbed all of the calls
out.  My program still randomly SEGVs.

Turns out the problem is in Unix.LargeFile.lstat.  For more information,
see bug 1665.  The binding there suffers from the same problem that I
have no so easily learned to spot: field assignments with something that
can activate the garbage collector.

Dave Brown

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      parent reply	other threads:[~2003-05-01  4:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-30  5:28 David Brown
     [not found] ` <200304300941.19681.snob@metalinkltd.com>
2003-04-30  6:13   ` David Brown
     [not found] ` <20030430060602.GA20670@opus.davidb.org>
2003-04-30 21:20   ` [Caml-list] Binding problem, fixed David Brown
2003-05-01  4:49 ` David Brown [this message]

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=20030501044918.GA2260@opus.davidb.org \
    --to=caml-list@davidb.org \
    --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).