mostly a shot in the dark, but the description reminds me a bit of this issue i ran into a while back that resulted in a SIGBUS and also happened to involve implicit conversions of non-escaping closures to escaping ones (i think this might be happening with the tail variable when captured by tail2()). perhaps you could try sprinkling withoutActuallyEscaping around to see if it has any effect?
1 Like