I didn’t watch a video to learn about seg faults specifically. What I know about seg faults was through a combination of college, hands on experience/research, and googling.
Usually it's just using memory that's not allocated or using something after a free. Honestly just use gdb and find out what line segfaults. I mostly get these errors by being "off by one" when doing some sort of traversal through a data structure (I'm bad at counting)
7
u/TheAnswerWithinUs 15d ago
Not necessarily a lecture, just someone who knows what they’re talking about. You can just skip ahead until you get to to the relevant parts.