Skip to content
← Back to Community
segmentation fault (core dumped)
Profile icon
Bobo48

I am making a very simple game to get my percentages in German class up easily but I just started getting this error: segmentation fault (core dumped)

If anyone knows how to fix this or help me make my code better (pretty sure it's a mess to look at)

Voters
Profile icon
JafethLicona
Profile icon
Naplok
Profile icon
Bobo48
Comments
hotnewtop
Profile icon
Nemoiscool

Looks like something could be causing something else to crash. Unfortunately, I'm not sure what. It could be the python interpreter, could be random, could be sys... I'm not really sure what to do about it.

Profile icon
Bobo48

@Nemoiscool Alright thanks for trying to help anyways. The sys.setrecursionlimit is causing this issue but if I remove it a different issue comes up which is: RecursionError: maximum depth exceeded in comparison.

Profile icon
SanjanaIyer2

I have the same issue in my code! Did you manage to fix it, by any chance? @Bobo48