leif
2017-5-7 23:15:59

@mflatt hmm…It looks like having the custodian manage the proc that calls close is good enough:



leif
2017-5-7 23:16:31

Specifically, this seems to segfault when the package is installed with raco setup


leif
2017-5-7 23:17:03

I gave the custodian the proc so it wouldn’t get GCed: (scheme_add_managed_close_on_exit #f free-proc free-proc #f)


leif
2017-5-7 23:23:40

I should also note that when run directly or the scribble file tha crashes it in raco setup runs that I don’t get a segfault, which does seem like a GC related issue to me.