14:41:07BikeDynamicScopeManager is a RAII thing, of course
14:41:09drmeisterThe symbol has _BindingIdx set of 0xffffffff
14:41:49drmeisterSo it should fall back and use the _GlobalValue but it's indexing into thread local value vector at index 0xffffffff
14:42:09Bikei think there's a distinguished "doesn't yet have an index" value that _BindingIdx should be
14:42:49Bikeeach thread has an array of bindings, and each symbol has a global index. when you bind a variable, the thread looks up the symbol's index, or assigns a new one to it globally and atomically, and then accesses that position in the thread lcoal array
14:43:35drmeisterThe ctor for DynamicScopeManager is here:
14:46:17BikeDSM there calls threadLocalSymbolValue, which calls thread_local_value, which calls ensure_binding_index
14:47:10Bikehttps://github.com/clasp-developers/clasp/blob/imagesaveload/include/clasp/core/symbol.h#L114-L118 here it looks like you release the binding index but you don't actually change the symbol's BindingIdx?