Open johnwhitington opened 9 hours ago
I tried to debug with gdb and found that the space on the stack was constantly being taken up by loops and eventually causing it to overflow backtrace: 0x668841caml c call+25 0x63018f camlstdlib hashtbl find 887+95 0x59fe7b camlPdf lookup obj 879+43 0x5dad38 camlPdfpage fun 2205+120 0x60294b camlstdlib list rmap f 253+43 0x5dabd4 camlPdfpage find pages quick 174+276 0x60294b camlstdlib list rmap f 253+43 0x5dac36 camlPdfpage find pages quick 174+374
(In fact, on MacOS, a segmentation fault: why?)
This is presumably to do with object cycles.
6.pdf