#8772: Maxima interface chokes randomly
-------------------------------+--------------------------------------------
   Reporter:  dunfield         |       Owner:  was     
       Type:  defect           |      Status:  new     
   Priority:  critical         |   Milestone:  sage-4.4
  Component:  interfaces       |    Keywords:  Maxima  
     Author:  Nathan Dunfield  |    Upstream:  N/A     
   Reviewer:                   |      Merged:          
Work_issues:                   |  
-------------------------------+--------------------------------------------
 Sufficiently many calls to Maxima eventually causes that interface to
 throw an exception, some samples of which are given below.    A minimal
 piece of code exhibiting this problem is

 {{{
 def prob():
     for i in xrange(1000000):
         a = var('a')
         eqn = (a - 1)/(a)
         eqn.numerator()
 }}}
 This error has been observed in Sage 4.3.* on OS X.5.* (8-core Xeon Mac
 Pro and 2-core Intel Core 2 Mac Book), and Ubuntu Linux 9.10 (quad-core
 Intel Core 2).  See the sage-devel thread [http://groups.google.com/group
 /sage-devel/browse_thread/thread/3b43147e44324c25] for some discussion.
 In particular, it may be related to #5662 where the synchronization with
 Maxima was getting lost on  certain multi-core CPUs because of something
 related to switching between cores.   It takes some time, e.g. 5-15
 minutes for the problem to manifest itself.

 Typical errors:

 {{{
 TypeError: unable to make sense of Maxima expression
 '"__SAGE_SYNCHRO_MARKER_202188656"' in Sage

 TypeError: Error executing code in Maxima
 CODE:
         _tmp_ : -(a0-1)*a1^2*a3$
 Maxima ERROR:
 _tmp_ : -(a0-1)*a1^2*a3$
 stdin:57338284:Incorrect syntax: Illegal use of delimiter )
 (%i832002)
 stdin:57338357:Incorrect syntax: Premature termination of input at ;.
 (%i832003)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8772>
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