1
srpatil
38d

I’m new to using gdb to debug. It could detect the places where I was getting SIGSEGV randomly. But there are also rare cases when the program just gets segmentation fault as soon as it starts, and it when that happens, even my gdb gets frozen and I have to shut down my terminal altogether.

What’s with this ? Is this some sort of kernel error (like Bus error) ? I’m using macOS Catalina and gdb 9.1.

Comments
  • 0
    Dang, I thought gdb depended on the Linux kernel.
    Sorry to be that guy, but gdb never crashed on me, have you tried valgrind or even lldb ?
  • 0
    @MagicSowap lldb works well. It doesn’t get the issue I am talking about— stuck at [New Thread].
Add Comment