Found a reliable way of segfaulting Emacs, without using threads/FFI! https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25684 (last time my Emacs segfaulted was bad memory)
miniblog.
Related Posts
If your Emacs is segfaulting, you can explicitly write to stderr when debugging, so you have trace information! This even works when you are running Emacs with a GUI.
(print "hello world" #'external-debugging-output)