[CM] s7_load_c_string

Woody Douglass wdouglass at carnegierobotics.com
Wed Sep 1 12:13:06 PDT 2021


Hi all,

I'm experimenting with compressing a long s7 .scm file. My program
takes in a gzipped file, uncompresses it, and feeds it to s7
`s7_load_c_string`.

while loading, the script loads other scripts, as well as calls several
C extensions to s7.

If i run the script directly `(load "script.scm")', it works fine. But
if i use my "gzip loader", i get some unresolved symbols, etc... it
looks like a GC issue

short of turning off the GC while i'm loading my C string, how can i
debug this?

Thanks,
Woody Douglass



More information about the Cmdist mailing list