[ocaml-ctypes] Spinning process on osx

Jeremy Yallop yallop at gmail.com
Fri Feb 21 02:11:40 GMT 2014


On 17 February 2014 14:18, Daniel Bünzli <daniel.buenzli at erratique.ch> wrote:
> The bad news is that my initial report, as the title of the thread indicates, was about a spinning process. And the working tsdl programs I mention above while they work, can't be exited when compiled with 4.01.0, they end up spinning, taking 100% cpu time, in that unwind thing.
>
> For that my analysis about 4.00.1 vs 4.01.0 and the bissect to ocaml's b2636c22d55b15f55a02b3 still holds. A mildly good news (since I don't really understand what I'm doing) is that if I use my switch that applies this patch to 4.01.0:
>
>   https://gist.github.com/dbuenzli/9050340
>
> the programs do not spin on exit. The smallest repro case I have for now is here:
>
>   https://gist.github.com/dbuenzli/9050445

Thanks!  I can reliably reproduce this.  I've started looking into it,
and will have some more time to look at it in a couple of days.  I'll
report back once I know more.


More information about the Ctypes mailing list