Re: [Caml-list] Exception values may crash GC when interfacing C and Caml

2012-05-03 Thread Alexey Rodriguez
Thank you Wojciech. I just added ticket 5606 [1] with the patch to the documentation. Cheers, Alexey [1] http://caml.inria.fr/mantis/view.php?id=5606 On Wed, May 2, 2012 at 9:37 PM, Wojciech Meyer wrote: > > Dear Alexey, > > Alexey Rodriguez writes: > >> I added a warning to the documentation

Re: [Caml-list] Exception values may crash GC when interfacing C and Caml

2012-05-02 Thread Wojciech Meyer
Dear Alexey, Alexey Rodriguez writes: > I added a warning to the documentation. Can someone with commit rights > have a look at it and apply it? This would have definitely saved us a > lot of time. And I am sure this will help other people too. Yes, patches to the documentation are always welc

Re: [Caml-list] Exception values may crash GC when interfacing C and Caml

2012-05-02 Thread Alexey Rodriguez
I added a warning to the documentation. Can someone with commit rights have a look at it and apply it? This would have definitely saved us a lot of time. And I am sure this will help other people too. Cheers, Alexey On Wed, May 2, 2012 at 1:28 PM, David Allsopp wrote: > Alexey Rodriguez wrote:

RE: [Caml-list] Exception values may crash GC when interfacing C and Caml

2012-05-02 Thread David Allsopp
Alexey Rodriguez wrote: > Dear all, > > We are experiencing crashes in Caml-calling C code. This happens if > garbage collection runs after Caml code has raised an exception. We now > understand why this happens but we are puzzled as to why the "Interfacing > C with Ocaml" chapter of the Ocaml man