[MacPorts] #51521: matplotlib crash on Mac OS X.5 PPC

MacPorts noreply at macports.org
Fri Jun 3 07:52:53 PDT 2016


#51521: matplotlib crash on Mac OS X.5 PPC
-----------------------------+---------------------
  Reporter:  benoit.rivet@…  |      Owner:  sean@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.4
Resolution:                  |   Keywords:  leopard
      Port:  py-matplotlib   |
-----------------------------+---------------------
Description changed by mf2k@…:

Old description:

> With python3.5 and py35-matplotlib @1.5.1_3+cairo as installed by
> Macports, the following minimal code :
> {{{
> import matplotlib.pyplot as plt
> import numpy as np
> plt.figure()
> x=np.linspace(1,2)
> plt.plot(x,x**2)
> plt.savefig('sqr.pdf')
> }}}
>
> gives the following error :
>
> {{{
> machdep: class is not implemented
> terminate called after throwing an instance of 'char*'
> Abort trap
> }}}
>
> This happens on a Mac OS X.5 PPC computer, and is likely PPC related :
> the bug does not happen on an Intel Machine. The bug does also not happen
> with py34-matplotlib @1.3.1_4 (although the warning 'machdep: class is
> not implemented' is issued, the script does not crash and the expected
> figure is saved).
>
> Note that I reported another bug (closed: wontfix) with Matplotlib 1.4.x
> on ticket 48727[https://trac.macports.org/ticket/48727]. I guess I'm
> stuck with matplotlib 1.3 for the future :-(

New description:

 With python3.5 and py35-matplotlib @1.5.1_3+cairo as installed by
 Macports, the following minimal code :
 {{{
 import matplotlib.pyplot as plt
 import numpy as np
 plt.figure()
 x=np.linspace(1,2)
 plt.plot(x,x**2)
 plt.savefig('sqr.pdf')
 }}}

 gives the following error :

 {{{
 machdep: class is not implemented
 terminate called after throwing an instance of 'char*'
 Abort trap
 }}}

 This happens on a Mac OS X.5 PPC computer, and is likely PPC related : the
 bug does not happen on an Intel Machine. The bug does also not happen with
 py34-matplotlib @1.3.1_4 (although the warning 'machdep: class is not
 implemented' is issued, the script does not crash and the expected figure
 is saved).

 Note that I reported another bug (closed: wontfix) with Matplotlib 1.4.x
 on ticket:48727. I guess I'm stuck with matplotlib 1.3 for the future :-(

--

-- 
Ticket URL: <https://trac.macports.org/ticket/51521#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list