#9361: Maxima timeout on Mac OS X 10.4 (Tiger)
------------------------+---------------------------------------------------
   Reporter:  kcrisman  |          Owner:  tbd           
       Type:  defect    |         Status:  needs_review  
   Priority:  critical  |      Milestone:  sage-4.8      
  Component:  packages  |       Keywords:                
Work_issues:            |       Upstream:  N/A           
   Reviewer:            |         Author:  Jeroen Demeyer
     Merged:            |   Dependencies:                
------------------------+---------------------------------------------------
Changes (by newvalueoldvalue):

  * status:  new => needs_review
  * author:  => Jeroen Demeyer
 * cc: kcrisman (added)
  * priority:  minor => critical


Old description:

> This has been reported on more than one Mac running OSX 10.4 Tiger.
> {{{
> >
> > ----------------------------------------------------------------------
> > The following tests failed:
> >
> >         sage -t  -long
> > "rro/sage-4.4.4.alpha1/devel/sage/sage/interfaces/maxima.py" #
> > Killed/crashed
> }}}
> This is due to the commands in this file which create the tab completion
> list for use with Sage's Maxima; for some reason even when done 'by hand'
> they often time out, and since they happen a few different times in this
> file it will nearly always time out (even with huge `SAGE_TIMEOUT` set).

New description:

 This has been reported on more than one Mac running OSX 10.4 Tiger:
 {{{
 $ ./sage -t devel/sage/sage/interfaces/maxima.py
 sage -t  "devel/sage/sage/interfaces/maxima.py"
 *** *** Error: TIMED OUT! PROCESS KILLED! *** ***

          [361.3 s]

 ----------------------------------------------------------------------
 The following tests failed:


         sage -t  "devel/sage/sage/interfaces/maxima.py" # Time out
 Total time for all tests: 361.3 seconds
 }}}
 This is because on OS X 10.4, maxima takes a long time (a few seconds to a
 minute) to process an interrupt.  Sage only waits 2 seconds for an
 interrupt and thinks that Maxima is stuck.  It naively sends more
 interrupts which totally lock up Maxima.  The work-around is simply to
 send only 1 interrupt and wait...

 With the patch:
 {{{
 $ ./sage -t devel/sage/sage/interfaces/maxima.py
 sage -t  "devel/sage/sage/interfaces/maxima.py"
          [129.5 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 130.0 seconds
 }}}

--

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