#5443: [with patch, needs review] Segfault in congruence subgroup element code
---------------------------+------------------------------------------------
 Reporter:  craigcitro     |       Owner:  craigcitro
     Type:  defect         |      Status:  new       
 Priority:  blocker        |   Milestone:  sage-3.4  
Component:  modular forms  |    Keywords:            
---------------------------+------------------------------------------------

Comment(by craigcitro):

 Ah, touche. Actually, in 3.2.3, I was getting a different crash (a
 `SIGBUS` instead of a `SIGSEGV`) ...

 In any event, I've written a much better fix now (I hope!). The underlying
 problem was that there were two ways to create elements of congruence
 subgroups whose underlying matrix was of type `Matrix_integer_dense`
 instead of `Matrix_integer_2x2` (and, as I said, the latter sadly doesn't
 yet derive from the former). Those came from places where `M2Z` was used
 to create matrices; these have been replaced by calls to create objects of
 the appropriate type. (I also had to add a wee bit of code so that
 congruence subgroup elements could determine their underlying list.)

 Hopefully this will fix the issues -- let me know if you run into anything
 else!

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