Ask coding questions

← Back to all posts
segmentation fault (core dumped)
Bobo48 (2)

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)

Comments
hotnewtop
Nemoiscool (47)

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.

Bobo48 (2)

@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.