[CM] Possible s7_load bugfix

Woody Douglass wdouglass at carnegierobotics.com
Thu Jul 29 12:41:56 PDT 2021


Bill et al,

Please see the attached patch. I was loading a large binary library,
that in turn loads a bunch of other large libraries, some of which
binary, some of which scheme. I was getting a bunch of segfaults and
strange behavior

Adding some gc_protect calls seems to have fixed the issue. Does the
patch i've attached make sense?

Thanks,
Woody Douglass
Software Engineer
Carnegie Robotics LLC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-protect-init-args.patch
Type: text/x-patch
Size: 1159 bytes
Desc: 0001-protect-init-args.patch
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20210729/cfa1fde8/attachment.bin>


More information about the Cmdist mailing list