caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Bus errors and 3.08
@ 2004-08-02  2:53 David McClain
  0 siblings, 0 replies; only message in thread
From: David McClain @ 2004-08-02  2:53 UTC (permalink / raw)
  To: caml

... as for the Bus Errors generated in migrating up to 3.08, it seems that
(my fault really) the new failwith() primitive can trigger a GC cycle
whereas it did not in 3.07 and earlier.

I was playing (too!) fast and loose with the C interfacing guidelines and
did not declare the input value arguments in camlParam macros at the start
of my routines, except where I anticipated allocating fresh OCaml objects in
the C heap. That's now a no-no... at least on the Windows version of 3.08. I
have yet to go back and clean up my code for another try in Mac OS X.

Shame on me!

David McClain
Senior Corporate Scientist
Avisere, Inc.

+1.520.390.7738 (USA)
david.mcclain@avisere.com



-------------------
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-02  2:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-02  2:53 [Caml-list] Bus errors and 3.08 David McClain

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).