Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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 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