#5316: some elements of NumberField_quadratic are NumberFieldElement_absolute
-->
segfault
---------------------------------+------------------------------------------
Reporter: cwitty | Owner: cwitty
Type: defect | Status: new
Priority: critical | Milestone: sage-3.3
Component: commutative algebra | Keywords:
---------------------------------+------------------------------------------
Based on a question from Alex Raichev (http://groups.google.com/group
/sage-support/browse_thread/thread/71483789bc7fefb7#), I discovered this:
{{{
sage: var('t')
t
sage: F = NumberField(t^2+1, 'a')
sage: R.<x,y> = F[]
sage: type(x.coefficients()[0])
<type
'sage.rings.number_field.number_field_element.NumberFieldElement_absolute'>
sage: F(1) + x.coefficients()[0]
------------------------------------------------------------
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).
------------------------------------------------------------
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5316>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---