test demonstrating segfault