New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/34030#issuecomment-1000492922 Comment: > File "sage/rings/integer.pyx", line 4478, in sage.rings.integer.Integer.factorial (build/cythonized/sage/rings/integer.c:29386) At least it's consistently failing always on `sage.rings.integer.Integer.factorial()`. I don't think this is related to cysignals, rather it seems the call to `mpz_fac_ui(z.value, mpz_get_ui(self.value))` is segfaulting and this is catched by cysignals. Can you try something like: ``` sage: for i in srange(1000000): print(sage.rings.integer.Integer.factorial(i)) 1 1 2 6 24 120 720 5040 40320 362880 3628800 39916800 479001600 6227020800 87178291200 1307674368000 20922789888000 355687428096000 6402373705728000 121645100408832000 ... ```