morgando
morgando
[dbtable passed to `sc_del_unused_files`](https://github.com/bloomberg/comdb2/blob/3d8e861b64b827075dc05a2cd047bea4bec60aef/schemachange/sc_logic.c#L1626) has a completely uninitialized handle: ``` (gdb) p *(s->db->handle) $5 = {pthread_attr_detach = {__size = '\377' , __align = -1}, seqnum_info = 0xffffffffffffffff, attr = 0xffffffffffffffff,...
Error prior to crash: ``` 2024/05/09 18:24:36 [ERROR] >>> SCHEMA CHANGE ERROR: TABLE t, RC 12 2024/05/09 18:24:36 sc_set_running(table=t running=0): from bplog_schemachange:1314 rc=0 2024/05/09 18:24:36 >>> DDL SCHEMA CHANGE RC...
#4415 and #4414 are possibly the cause