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

Segmentation Fault with Multivariate Polynomial Ring #6160

Closed
sagetrac-stankewicz mannequin opened this issue May 30, 2009 · 4 comments
Closed

Segmentation Fault with Multivariate Polynomial Ring #6160

sagetrac-stankewicz mannequin opened this issue May 30, 2009 · 4 comments

Comments

@sagetrac-stankewicz
Copy link
Mannequin

sagetrac-stankewicz mannequin commented May 30, 2009

This is an example over a 2- variable polynomial ring over QQ (although sage does not see K as isomorphic to QQ)

----------------------------------------------------------------------
| Sage Version 3.4.1, Release Date: 2009-04-21                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: K.<j> = NumberField(x-1728)
sage: R.<b,c> = K[]
sage: f = b-j*c


------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occured in SAGE.
This probably occured because a *compiled* component
of SAGE has a bug in it (typically accessing invalid memory)
or is not properly wrapped with _sig_on, _sig_off.
You might want to run SAGE under gdb with 'sage -gdb' to debug this.
SAGE will now terminate (sorry).
------------------------------------------------------------

Note that this does not pose a problem if the number field is not QQ

sage: K.<j> = NumberField(x^2 - 2)
sage: R.<b,c> = K[]
sage: f = b-j*c
sage: f
b + (-j)*c

Nor if the Polynomial Ring is Univariate

sage: F.<i> = NumberField(x-1728)
sage: S.<y> = F[]
sage: y - i
y - 1728
sage: g = y - i
sage: g = i*y^2 + 1
sage: g
1728*y^2 + 1

Also note that this has nothing to do with Pari's occasional trouble with the ordering of variables

sage: K.<j> = NumberField(x-1728)
sage: R.<k,l> = K[]
sage: f = k - j*l


------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occured in SAGE.
This probably occured because a *compiled* component
of SAGE has a bug in it (typically accessing invalid memory)
or is not properly wrapped with _sig_on, _sig_off.
You might want to run SAGE under gdb with 'sage -gdb' to debug this.
SAGE will now terminate (sorry).
------------------------------------------------------------

CC: @malb @wjp

Component: algebra

Keywords: singular

Author: Burcin Erocal

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

@aghitza

This comment has been minimized.

@burcin
Copy link

burcin commented Jan 17, 2010

comment:2

The patch attached to #7582 fixes this. I'm closing this as a duplicate.

@burcin
Copy link

burcin commented Jan 17, 2010

Changed keywords from none to singular

@burcin
Copy link

burcin commented Jan 17, 2010

Author: Burcin Erocal

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

2 participants