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
[Caml-list] Binding problem.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-05-01 (04:49)
From: David Brown <caml-list@d...>
Subject: Re: [Caml-list] Binding problem.
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 Archives:
Bug reports: FAQ:
Beginner's list: