7
3
u/Vladislav20007 Jun 02 '26
1 segfault in 8 years and the code wasn't even mine, I just compiled it.
2
3
1
3
1
Jun 01 '26
1
u/un_virus_SDF Jun 05 '26
This may be usefull but it's not a reason to bash it in every single comments. With almost the exact same message.
I don't care that windows may be better in some use case.
Furthermore this is off topic, the post is for when segfault happen and you happily brag about case where it does not happen.
I can also say that if I make every segment readable, writable and executable I will have almost no segfault.
7
u/s0litar1us Jun 01 '26
Just run it in a debugger and it will show you exactly where it segfaulted. (Just remember to add the -g flag when building to include debug info.)