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] Bus errors and 3.08
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-08-02 (02:52)
From: David McClain <dmcclain1@m...>
Subject: [Caml-list] Bus errors and 3.08
... 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)

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: