15
olback
7y

My life is a segmentation fault and my core is getting dumped all the time :(

Comments
  • 3
    Use smart pointers it will get rid of all your pointer worries for the rest of your dev days.

    Smart pointers save lives. True Story.
  • 2
    Im sure you know this, but use fsanitize=address, look at the call stack that it returns, and check the loops in the function at the top of the stack for an off-by-one error.
  • 3
    Stop dangling your pointer where it doesn't belong. ;)
Add Comment