Bug 1895556

Summary: sagemath instantly crashes on startup since recent updates on F33 and F32
Product: [Fedora] Fedora Reporter: Gregory Maxwell <gmaxwell>
Component: sagemathAssignee: Paulo Andrade <paulo.cesar.pereira.de.andrade>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 33CC: loganjerry, paulo.cesar.pereira.de.andrade
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-09 16:54:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Sage crash report on F33 none

Description Gregory Maxwell 2020-11-07 04:32:20 UTC
Created attachment 1727313 [details]
Sage crash report on F33

Description of problem:

Sage crashes instantly on startup since updates that happened in the last week or so (more recently on F33 than on F32.)

$ sage
...
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.1, Release Date: 2020-05-20                     │
│ Using Python 3.9.0. Type "help()" for help.                        │
└────────────────────────────────────────────────────────────────────┘
---------------------------------------------------------------------------
---------------------------------------------------------------------------
SystemError                                  Python 3.9.0: /usr/bin/python3
                                                   Sat Nov  7 04:26:19 2020
A problem occurred executing Python code.  Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.

...

cypari2/stack.pyx in cypari2.stack.new_gen()

cypari2/stack.pyx in cypari2.stack.new_gen_noclear()

SystemError: new_gen() argument not on PARI stack, not on PARI heap and not a universal constant

See the attached crash report for more details.


Version-Release number of selected component (if applicable):

sagemath-9.1-4.fc33.x86_64
pari-2.11.4-2.fc33.x86_64
python3-cypari2-2.1.1-8.fc33.x86_64
python3-ipython-7.18.1-1.fc33.noarch

How reproducible:
Perfectly.

Steps to Reproduce:
1. type 'sage'
2. Observe crash
3. Cry

Actual results:

Crash

Expected results:

Amazing mathematics

Additional info:

Tried deleting .sage directly as well as installing sagemath freshly on a F33 host that has never had sage on it before, same result.

Comment 1 Gregory Maxwell 2020-11-07 04:55:13 UTC
Here is someone elses upstream bug report:  https://trac.sagemath.org/ticket/30868

Comment 2 Gregory Maxwell 2020-11-07 05:13:18 UTC
Oh man, I really boned my system bad trying to force downgrade it to python 3.8. :(

Comment 3 Jerry James 2020-11-09 16:54:37 UTC

*** This bug has been marked as a duplicate of bug 1895038 ***

Comment 4 Jerry James 2020-11-10 22:15:23 UTC
Just a note, for those who haven't jumped over to bug 1895038: python 3.8 vs. 3.9 has nothing to do with the problem, so please put your python installations back the way they were.  You might try downgrading giac to see if that helps.  I'll get this fixed as quickly as I can.