More strangeness - I am getting a consistent segfault in scm-hash.cc.
Scheme_hash_table::try_retrieve (SCM k, SCM *v)
It's on the line:
SCM handle = scm_hashq_get_handle (hash_tab_, k);
This doesn't seem like the type of thing that'd usually crash. I'm
guessing that something got garbage collected that shouldn't have. But it
seems like the mark_smob method in context protects all of its scheme
variables (save daddy_context_, but when I include it in mark_smob that
doesn't change anything).
What's difficult, as I said before, is not having a small example. Trying
to debug w/ printf's on something like this is near-impossible.