The following code will cause CS to crash
u: (crash)
$$tmp = ^jsonparse("{}")
^jsongather(@10 $$tmp)
The crash is in jsonGather() because a member of the FACT struct is accessed without checking to see that the FACT actually exists.
In my code base I’ve just extended the line
if (!F || !(F->flags & JSON_FLAGS)) return; // not a json fact