#7382: MonskyWashnitzer segfault
--------------------------------------+------------------------
       Reporter:  jen                 |        Owner:  robertwb
           Type:  defect              |       Status:  new
       Priority:  major               |    Milestone:  sage-6.5
      Component:  algebraic geometry  |   Resolution:
       Keywords:                      |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------
Changes (by jdemeyer):

 * component:  number theory => algebraic geometry
 * milestone:  sage-6.4 => sage-6.5


Old description:

> So I don't actually *need* matrix_of_frobenius_hyperelliptic of a curve
> over an extension field, but I inadvertently passed it in during a
> computation and caused a segfault. It would be nice for this to work
> (coercion?), since the curve is defined over QQ anyway.
>
> {{{
> sage: R.<x> = QQ['x']
> sage: H = HyperellipticCurve(x^3-10*x+9)
> sage: K = Qp(3,5)
> sage: J.<a> = K.extension(x^30-3)
> sage: HJ = H.change_ring(J)
> sage: import sage.schemes.elliptic_curves.monsky_washnitzer as mw
> sage: M_frob, forms = mw.matrix_of_frobenius_hyperelliptic(HJ)
>

> ------------------------------------------------------------
> 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).
> ------------------------------------------------------------
> }}}

New description:

 So I don't actually *need* matrix_of_frobenius_hyperelliptic of a curve
 over an extension field, but I inadvertently passed it in during a
 computation and caused a segfault. It would be nice for this to work
 (coercion?), since the curve is defined over QQ anyway.

 {{{
 sage: R.<x> = QQ['x']
 sage: H = HyperellipticCurve(x^3-10*x+9)
 sage: K = Qp(3,5)
 sage: J.<a> = K.extension(x^30-3)
 sage: HJ = H.change_ring(J)
 sage: import sage.schemes.hyperelliptic_curves.monsky_washnitzer as mw
 sage: M_frob, forms = mw.matrix_of_frobenius_hyperelliptic(HJ)
 ...SIGSEGV...
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/7382#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to