---------- Forwarded message --------- From: Fernando Q. Gouvea <fqgou...@colby.edu> Date: Wed, Sep 22, 2021 at 12:26 PM Subject: Re: [sage-support] Sage 9.3 for Windows crashing To: William Stein <wst...@gmail.com>
At this point, only plotting has caused the problem. For example: sage: K=Qp(7) sage: K 7-adic Field with capped relative precision 20 sage: a=K(8) sage: a 1 + 7 + O(7^20) sage: sqrt(a) 1 + 4*7 + 2*7^2 + 7^3 + 3*7^4 + 2*7^5 + 4*7^6 + 2*7^7 + 5*7^8 + 7^11 + 4*7^12 + 4*7^13 + 6*7^14 + 2*7^15 + 4*7^16 + 4*7^17 + 5*7^18 + O(7^20) sage: log(a) 7 + 3*7^2 + 7^3 + 6*7^4 + 5*7^5 + 2*7^6 + 7^7 + 5*7^8 + 4*7^9 + 4*7^10 + 2*7^11 + 5*7^12 + 7^13 + 5*7^14 + 6*7^15 + 2*7^16 + 2*7^17 + 2*7^18 + 7^19 + O(7^20) That all works fine. Fernando On 9/22/2021 2:46 PM, William Stein wrote: > On Wed, Sep 22, 2021 at 11:36 AM Fernando Q. Gouvea <fqgou...@colby.edu> > wrote: >> I just had SageMath 9.2 crash, so I tried installing 9.3. Alas, I get the >> same problem. The offending command is pretty innocuous: >> >> sage: plot(ln(1+x),(-1,5)) >> >> The Sage window then crashes. In the notebook I get a message that the >> kernel just died. Running it in the Sage Terminal, sage crashes and leaves >> this message behind: >> >> ------------------------------------------------------------------------ >> 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.3/src/bin/sage-python: line 2: 1535 Segmentation fault >> (core dumped) sage -python "$@" >> >> Any ideas as to what is going on? > Do lots of things you try cause problems like this or is it just plotting? > > E.g., what if you do some basic arithmetic with p-adic numbers, e.g., > some examples from here: > > https://doc.sagemath.org/html/en/reference/padics/sage/rings/padics/tutorial.html > > (Sorry, I can't help asking that given that I learned all about > p-adics from your book decades ago...) > >> Fernando >> >> >> -- >> ================================================================== >> Fernando Q. Gouvea >> Carter Professor of Mathematics >> Colby College >> Mayflower Hill 5836 >> Waterville, ME 04901 >> fqgou...@colby.edu http://www.colby.edu/~fqgouvea >> >> Humility engenders learning because it beats back the arrogance >> that puts blinders on. It leaves you open for truths to reveal >> themselves. You don't stand in your own way. >> -- Wynton Marsalis >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-support" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to sage-support+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-support/e587c471-9ffa-4364-5fa2-fbf40d63e7d6%40colby.edu. > > -- ================================================================== Fernando Q. Gouvea Carter Professor of Mathematics Colby College Mayflower Hill 5836 Waterville, ME 04901 fqgou...@colby.edu http://www.colby.edu/~fqgouvea What garlic is to food, insanity is to art. -- William (http://wstein.org) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CACLE5GBMwzpooJF4OfctdATv%3DXc_VGb1OpsDvdn4SVHdAcgYcQ%40mail.gmail.com.