Can you provide the gdb backtrace for the second case, exiting by signal 6?
—Reply to this email directly or view it on GitHub.