Hi Panos,

On Sun, 7 Mar 2010 07:19:44 -0800 (PST)
panos <p.tsakn...@gmail.com> wrote:

> I tried the following code on a 64bit Linux machine running Sage
> 4.3.3:
> 
> 
> ----------------------------------------------------------------------
> | Sage Version 4.3.3, Release Date: 2010-02-21                       |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> sage: WW.<x,y> = ZZ[]
> sage: f = x
> sage: g = x^10 + y
> sage: f.resultant(g)
> 
> 
> ------------------------------------------------------------
> 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).
> ------------------------------------------------------------
> 
> I get the same result on both 64bit Linux machines running Sage 4.3.3
> that I have access to.

The resultant works if you define your polynomial ring over QQ:

sage: WW.<x,y> = QQ[]
sage: f = x
sage: g = x^10 + y
sage: f.resultant(g)
y


See here for a patch:

http://trac.sagemath.org/sage_trac/ticket/8173

Cheers,
Burcin

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to