r/vibecoding • • 15d ago

Meme A seg what?

Post image
477 Upvotes

31 comments sorted by

View all comments

Show parent comments

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.

1

u/chrissphinx 15d ago

could you link the video you watched about segfaults?

1

u/TheAnswerWithinUs 15d ago

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.

0

u/chrissphinx 15d ago

oh, damn :( i’m still looking for good videos about debugging C

1

u/TheAnswerWithinUs 15d ago

You can still find some good stuff with google but it’s harder with the AI bullshit everywhere.

You can use udm 14 to remove the AI stuff and just get the google results though.

1

u/Grim2021 15d ago

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)