The segfault was showing up when using the sequence viewer in an application without a GostyApp instance.