Re: Segfault when doing hs_init()/hs_exit() multiple times

2015-12-02 Thread Karl Cronburg
felicities-ffi So it's a known issue / shortcoming. -Karl Cronburg- On Wed, Dec 2, 2015 at 2:41 PM, Karl Cronburg <karl.cronb...@gmail.com> wrote: > I was having the same problem a while back. If you turn on debugging > symbols and give it to gdb, you > get that the seg fault

Re: Segfault when doing hs_init()/hs_exit() multiple times

2015-12-02 Thread Karl Cronburg
the entire execution of your program? If the RTS / GC is smart enough it should know not to waste time doing a GC when no Haskell code has been run? I too would be interested though in being able to clean up the RTS from C when I know no Haskell code will be run again anytime soon. -Karl Cronburg