The way to tell what's happening is to run pcb under gdb: $ gdb pcb ... (gdb) run myboard.pcb ... segfault (gdb) where ... lots of stack dump stuff ...