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

Sage crashes executing pari.setrand(0) #11825

Closed
jdemeyer opened this issue Sep 21, 2011 · 7 comments
Closed

Sage crashes executing pari.setrand(0) #11825

jdemeyer opened this issue Sep 21, 2011 · 7 comments

Comments

@jdemeyer
Copy link

sage-4.7.2.alpha2 on an Intel 64-bit Gentoo Linux system:

sage: pari.setrand(0)
  ***   incorrect type in setrand.
  ***   Error in the PARI system. End of program.

The error message can vary, but it always causes Sage to quit/crash.

Component: interfaces

Author: Jeroen Demeyer

Reviewer: John Cremona

Merged: sage-4.7.2.alpha4

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

@jdemeyer
Copy link
Author

Author: Jeroen Demeyer

@jdemeyer
Copy link
Author

comment:1

Attachment: 11825.patch.gz

@jdemeyer

This comment has been minimized.

@JohnCremona
Copy link
Member

comment:3

Patch looks good and applies fine to 4.7.2.alpha2, tests pass -- the horrible crash no longer occurs.

I did not test this with 4.7.2.alpha2+#11130.

@JohnCremona
Copy link
Member

comment:4

Replying to @JohnCremona:

Patch looks good and applies fine to 4.7.2.alpha2, tests pass -- the horrible crash no longer occurs.

I did not test this with 4.7.2.alpha2+#11130.

But now I have, and confirm that this still works with 4.7.2.alpha2+#11130.

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Sep 28, 2011

Reviewer: John Cremona

@jdemeyer
Copy link
Author

jdemeyer commented Oct 5, 2011

Merged: sage-4.7.2.alpha4

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

3 participants