$ lldb ./test (lldb) target create "./test" Current executable set to './test' (x86_64). (lldb) run Process 41607 launched: './test' (x86_64) Loading Guile... Done! Trying to load "init_guile" Done! Trying to run "init_guile" Unloading Guile... Process 41607 stopped * thread #1: tid = 0x23e40d, 0x000000010003eb70, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10003eb70) frame #0: 0x000000010003eb70 error: memory read failed for 0x10003ea00 (lldb) thread backtrace 1 * thread #1: tid = 0x23e40d, 0x000000010003eb70, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10003eb70) * frame #0: 0x000000010003eb70 frame #1: 0x00007fff5fc01cd3 dyld`dyld::removeImage(ImageLoader*) + 338 frame #2: 0x00007fff5fc04fbc dyld`dyld::garbageCollectImages() + 823 frame #3: 0x00007fff5fc0c3e8 dyld`dlclose + 134 frame #4: 0x00007fff8f195808 libdyld.dylib`dlclose + 61 frame #5: 0x0000000100000e97 test`main + 279 at test.c:48 frame #6: 0x00007fff8f1965c9 libdyld.dylib`start + 1