Browse thread
[Caml-list] Bus errors and 3.08
- David McClain
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| 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) 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