The Crystal Programming Language Forum

Debugging segfaults further


I am trying to get up and running and run into a segfault when trying to read git tag names. Is there any documentation how to debug a segmentation fault further? This pretty much all I am getting

Invalid memory access (signal 11) at address 0x0
[0x10e0d3cdb] *CallStack::print_backtrace:Int32 +107
[0x10e0b9105] __crystal_sigfault_handler +181
[0x7fff753aeb5d] _sigtramp +29

happy to get any help to improve the github issue I opened with further information…

Note: I’m on osx


Maybe try with gdb? :

I would recommend debugging with VSCode, it’s not to hard to setup and you can use GDB as the backend.