New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug in quadratic field embedding into QQbar #8415
Comments
This comment has been minimized.
This comment has been minimized.
comment:1
The fault is when refine_embedding is called; and in that function (in sage.rings.number_field.number_field) the line which hangs is
So a minimal hang-causing session is simply
|
comment:2
hangs. So it's the sorting -- in fact the comparison! -- of two elements of QQbar which is the problem. |
comment:3
Ah, I bet it's trying to compare them lexicographically! Wonder why this doesn't happen with other quadratic number fields... |
comment:4
It's in the QQbqr code... The actual hanging is happening in a call to pari's nffactor on line 1632 of qqbar.py. So I think it's yet another manifestation of pari's nnffactor bugs:
( from inside sage, this just hangs). According to http://old.nabble.com/New-PARI-stable-release-2.3.5-td27467266.html there are 3 bug-fixes to nffactor in 2.3.5 which is a bug-fix release. Current development version is 2.4.3, in which the above example works fine. I have not tried 2.3.5. |
comment:5
All the problems listed here are solved after the new spkg and patches at #8453. This ticket can be closed after that one is merged. |
Reviewer: John Cremona |
comment:7
I'm marking this as "positive review", to bring it to the attention of the release maintainer who can close it. |
Merged: 4.4.1.alpha0 |
comment:10
Close as fixed by #8453. |
Changed merged from 4.4.1.alpha0 to sage-4.4.1.alpha0 |
GDB Backtrace:
The problem is actually here:
CC: @JohnCremona
Component: number theory
Reviewer: John Cremona
Merged: sage-4.4.1.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/8415
The text was updated successfully, but these errors were encountered: