thanks guys, I had upgraded sage to 9.3 yesterday. And it is really a funny bug :)
William Stein <wst...@gmail.com> 于2021年12月8日周三 00:56写道: > I can confirm that this is broken in sage-9.2, but it works fine in > sage-9.3. You should upgrade. > > On Cocalc.com we keep a couple of older versions of Sage around: > > ~/cocalc/src/packages/next/components/account/config$ sage-.[tab] > sage-9.1 sage-9.2 sage-9.3 sage-9.4 > > > On Tue, Dec 7, 2021 at 1:55 AM Eric Gourgoulhon <egourgoul...@gmail.com> > wrote: > >> Hi, >> >> It works for me with SageMath 9.4. Maybe you should upgrade to that >> version (the last stable one). >> >> Eric. >> >> Le mardi 7 décembre 2021 à 09:59:42 UTC+1, duan...@gmail.com a écrit : >> >>> If I running 3 lines codes below: >>> >>> PR.<x,y> = PolynomialRing(Zmod(0x10001)) >>> f = (x + y) ^ 3 >>> print(f.factor()) >>> >>> sagemath will crash: >>> ------------------------------------------------------------------------ >>> Unhandled SIGSEGV: A segmentation fault occurred. This probably occurred >>> because a *compiled* module has a bug in it and is not properly wrapped >>> with sig_on(), sig_off(). Python will now terminate. >>> ------------------------------------------------------------------------ >>> /opt/sagemath-9.2/src/bin/sage-python: line 2: 1044 Segmentation fault >>> (core dumped) sage -python "$@" >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-devel" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to sage-devel+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/a6d546f4-0799-4bb3-983d-b48fc3fe92afn%40googlegroups.com >> <https://groups.google.com/d/msgid/sage-devel/a6d546f4-0799-4bb3-983d-b48fc3fe92afn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > William (http://wstein.org) > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CACLE5GAe-BLoYVHV4NcJmFz6dWB6eAWn6pjwUK7ruvMDz8zYrQ%40mail.gmail.com > <https://groups.google.com/d/msgid/sage-devel/CACLE5GAe-BLoYVHV4NcJmFz6dWB6eAWn6pjwUK7ruvMDz8zYrQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAt00gfemaLsaVGCGMtQuK5gbpAViZyW84b2YeHx7yMw%2B-Fn%3DQ%40mail.gmail.com.