Debugging segfaults further

Hey,

I am trying to get libgit2.cr 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

–Alex

Maybe try with gdb? : https://github.com/crystal-lang/crystal/issues/2785#issuecomment-225119380

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