#7095: os x 10.6 port -- numerous mysterious errors caused by weird "abort trap"
issue
------------------------+---------------------------------------------------
   Reporter:  was       |       Owner:  tbd       
       Type:  defect    |      Status:  new       
   Priority:  critical  |   Milestone:  sage-4.3.1
  Component:  porting   |    Keywords:            
Work_issues:            |      Author:            
   Upstream:  N/A       |    Reviewer:            
     Merged:            |  
------------------------+---------------------------------------------------

Comment(by was):

 Replying to [comment:24 jhpalmieri]:
 > > By the way, with an ordinary (gcc 4.2.1) build of 4.3.1.alpha0, I'm
 now getting over 90 files with failures
 >
 > I'm seeing this on one OS X 10.6 machine, but not another one, so I'm
 confused...

 On bsd.math.washington.edu I get only a few failures:
 {{{
         sage -t -long "devel/sage/sage/calculus/tests.py"
         sage -t -long "devel/sage/sage/calculus/wester.py"
         sage -t -long "devel/sage/sage/functions/hyperbolic.py"
         sage -t -long "devel/sage/sage/functions/log.py"
         sage -t -long "devel/sage/sage/functions/other.py"
         sage -t -long "devel/sage/sage/functions/trig.py"
         sage -t -long "devel/sage/sage/matrix/matrix_symbolic_dense.pyx"
         sage -t -long "devel/sage/sage/misc/sagedoc.py"
         sage -t -long "devel/sage/sage/plot/text.py"
         sage -t -long "devel/sage/sage/rings/arith.py"
         sage -t -long "devel/sage/sage/rings/polynomial/pbori.pyx"
         sage -t -long "devel/sage/sage/symbolic/expression.pyx"
         sage -t -long "devel/sage/sage/symbolic/function.pyx"
 }}}

 I think the issue is $HOME/.matplotlib, which has a font cache.  On
 bsd.math if I *delete* that directory, then all plotting is broken:
 {{{
 sage: plot(sin)
 /Users/was/build/sage-4.3.1.alpha0/local/bin/sage-sage: line 206: 80224
 Abort trap              sage-ipyth
 on "$@" -i
 wst...@bsd:~/build/sage-4.3.1.alpha0$
 }}}

 If I put the font cache file back then plotting works fine again:
 {{{
 wst...@bsd:~/build/sage-4.3.1.alpha0$ rm -rf ~/.matplotlib
 wst...@bsd:~/build/sage-4.3.1.alpha0$ mv ~/.matplotlib-x ~/.matplotlib
 wst...@bsd:~/build/sage-4.3.1.alpha0$ ./sage
 ----------------------------------------------------------------------
 | Sage Version 4.3.1.alpha0, Release Date: 2010-01-04                |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 **********************************************************************
 *                                                                    *
 * Warning: this is a prerelease version, and it may be unstable.     *
 *                                                                    *
 **********************************************************************
 WARNING: There is one major unsolved bug in some versions of
 Sage on OS X 10.6 that causes an 'Abort trap' crash when
 doing certain symbolic computations.
 See http://trac.sagemath.org/sage_trac/ticket/7095/.
 sage: plot(sin)

 sage:
 }}}

 Thus the fix I made so that matplotlib would work with OS X 10.6 and Sage
 *must* have been reverted/removed/wrecked somehow.  Great.

 So as of now, for somebody without an old .matplotlib from 4.2.1, it is
 *impossible* to do any plotting or anything else involving matplotlib with
 OS X 10.6.

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