#11875: Correct general brokenness of Farey symbols
-----------------------------+----------------------------------------------
   Reporter:  davidloeffler  |          Owner:  craigcitro      
       Type:  defect         |         Status:  new             
   Priority:  blocker        |      Milestone:  sage-4.7.2      
  Component:  modular forms  |       Keywords:  modular subgroup
Work_issues:                 |       Upstream:  N/A             
   Reviewer:                 |         Author:                  
     Merged:                 |   Dependencies:                  
-----------------------------+----------------------------------------------

Comment(by davidloeffler):

 Here's a case where it crashes completely:
 {{{
 ----------------------------------------------------------------------
 | Sage Version 4.7.2.alpha3, Release Date: 2011-09-28                |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 **********************************************************************
 *                                                                    *
 * Warning: this is a prerelease version, and it may be unstable.     *
 *                                                                    *
 **********************************************************************
 sage: G = ArithmeticSubgroup_Permutation(L = "(1,2,3)", R = "(1,2,4)")
 sage: FareySymbol(G)
 terminate called after throwing an instance of 'std::string'
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)

 /storage/masiao/sage-4.7.2.alpha3/devel/sage-
 main/sage/modular/arithgroup/<ipython console> in <module>()

 /storage/masiao/sage-4.7.2.alpha3/local/lib/python2.6/site-
 packages/sage/modular/arithgroup/farey_symbol.so in
 sage.modular.arithgroup.farey_symbol.Farey.__cinit__
 (sage/modular/arithgroup/farey_symbol.cpp:1993)()
     191         cdef int p
     192         if hasattr(group, "level"): p=group.level()
 --> 193         sig_on()
     194         if group == SL2Z:
     195             self.this_ptr = new cpp_farey()

 RuntimeError: Aborted
 }}}

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