stack for shell thread was too small