#4250: [with patch, needs review] In QQ[t], 2**t should raise an error, but it
crashes
-----------------------------------------------+----------------------------
 Reporter:  SimonKing                          |        Owner:  burcin  
     Type:  defect                             |       Status:  assigned
 Priority:  major                              |    Milestone:  sage-3.2
Component:  commutative algebra                |   Resolution:          
 Keywords:  crash, polynomial ring, rationals  |  
-----------------------------------------------+----------------------------
Changes (by burcin):

  * owner:  malb => burcin
  * status:  new => assigned
  * summary:  In QQ[t], 2**t should raise an error, but it crashes => [with
              patch, needs review] In QQ[t], 2**t should
              raise an error, but it crashes

Comment:

 The segfault is caused by an infinite loop, where 2 is cast to a
 polynomial and its `__pow__` method is called, and the polynomial ring
 calls the `__pow__` method of the base ring on constant polynomials.

 attachment:trac_4250_QQx_pow_segfault.3.patch (thanks trac for screwing up
 the name again) fixes the issue.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4250#comment:2>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to