Adding a print statement to debug a segfault.