Skip to content
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

crash in polynomial remainder #2497

Closed
sagetrac-dmharvey mannequin opened this issue Mar 12, 2008 · 5 comments
Closed

crash in polynomial remainder #2497

sagetrac-dmharvey mannequin opened this issue Mar 12, 2008 · 5 comments

Comments

@sagetrac-dmharvey
Copy link
Mannequin

sagetrac-dmharvey mannequin commented Mar 12, 2008

sage: R.<x> = PolynomialRing(Integers(4))
sage: f = x^2 + 3
sage: f % 2
InvMod: inverse undefined
/Users/david/sage/local/bin/sage-sage: line 222: 11351 Abort trap              sage-ipython "$@" -c "$SAGE_STARTUP_COMMAND;"

This is an NTL error message, which is not being trapped or something.

Component: basic arithmetic

Issue created by migration from https://trac.sagemath.org/ticket/2497

@dfdeshom
Copy link

comment:1

This also happens in __florrdiv__(), quo_rem()

@garyfurnish garyfurnish mannequin added this to the sage-2.11 milestone Mar 21, 2008
@sagetrac-dmharvey
Copy link
Mannequin Author

sagetrac-dmharvey mannequin commented Apr 5, 2008

Attachment: 2497.patch.gz

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Apr 7, 2008

comment:4

#2592 seems related and is not fixed by this patch.

Cheers,

Michael

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Apr 7, 2008

comment:5

The patch fixes the issue, adds a doctest for the crash and passes doctests. Positive review.

Cheers,

Michaek

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Apr 7, 2008

comment:6

Merged in Sage 3.0.alpha2

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Apr 7, 2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant