I don't know python, but it's everywhere, so I use it if I must.
It's always a third party connector to a C/C++ library, that I'm trying to debug
I'll find like someone's old project, that uses av external lib. I'll notice that it's not working well, and attempt to fix it. It's usually due to a liberty taken with that library. Then segfault.
A segfault is always a bug. A user shouldn't be able to cause a segfault in any way. Additionally, causing a segfault is frequently the first step to finding exploits
That was a joke on the typo in the first comment of the file but I realize that might not have been obvious
Also he're we do not have a user but a developer, so doing something wrong with a library could justify a default from the library But indeed it should never be possible for the user
315
u/Solomoncjy Apr 13 '26
Prob the pygame lib due to it being in cpp
139
u/Dull-Ambassador-4039 Apr 13 '26
brother what is your steam friend's username??
73
u/codydafox Apr 13 '26
r/addressme
31
u/Single-Virus4935 Apr 13 '26
I managed to segfault mariadb. Turns out mariadb (at this time?) confused CTEs and tables with the same name.
7
u/countsachot Apr 13 '26
Surprisingly easy, for me anyway
5
u/DT-Sodium Apr 13 '26
You seem to sure have mature friends....
3
u/barthanismyname Apr 13 '26
They are a rare event, but they do happen once every eon or so
2
u/PhilosopherShot5434 Apr 13 '26
Something something elephant in the room
2
u/SimplexFatberg Apr 14 '26
You use Python to call some functions in a third party library that isn't written in Python and they segfaulted.
1
u/CherryFlavouredCake Apr 13 '26
Maybe you used some incompatable flag or something
7
u/[deleted] Apr 13 '26
[removed] — view removed comment