broken basic segfaults but code save