[Caml-list] Re: Segfaults with Dynlink with OCaml 3.11

2010-08-24 Thread Paul Steckler
On Mon, Aug 23, 2010 at 8:57 PM, Paul Steckler wrote: > I'm getting segmentation faults when using dynamically linked native > code in 64-bit OCaml 3.11 running on Linux (Fedora 12 x64). Many thanks to all who gave useful advice on tracking down this problem. We have three chunks of C code we're

Re: [Caml-list] Re: Segfaults with Dynlink with OCaml 3.11

2010-09-03 Thread Damien Doligez
On 2010-08-25, at 06:00, Paul Steckler wrote: > Today, I found the culprit. Here's the pattern: > > dynamically load .cmxs file > query list mutated by .cmxs file (* no problem *) > Gc.set { (Gc.get()) with Gc.minor_heap_size = ...}; > Gc.set { (Gc.get()) with Gc.major_heap