segfault on OSX

Hi,

I am using Matplotlib 1.0 precisely from this branch:

https://github.com/matplotlib/matplotlib/tree/v1.0.x

everything works on Linux, and on Mac, I am getting a segfault when I
do "import pylab". Stacktrace is here:

I produced it by:

gdb python
(gdb) run

import pylab

So it looks like TTF related. Here are some relevant links:

http://trac.sagemath.org/sage_trac/ticket/7022

I have tried to copy ontList.cache (from the Sage ticket 7022) in to
~/.qsnake/matplotlib/, but it still segfaults.

Would anyone know what exactly the problem is, and how to fix it? I
have numpy 1.6.0. Let me know which other debugging information is
needed.

Thanks,
Ondrej

Min has solved it --- the problem was in using incorrect options to
build the package. Now we use the make.osx to set the environment
flags correctly and everything works now.

I have no idea what the problem was, but it's gone.

Ondrej

···

On Sat, May 7, 2011 at 3:34 PM, Ondrej Certik <ondrej@...2033...> wrote:

Hi,

I am using Matplotlib 1.0 precisely from this branch:

https://github.com/matplotlib/matplotlib/tree/v1.0.x

everything works on Linux, and on Mac, I am getting a segfault when I
do "import pylab". Stacktrace is here:

pylab stacktrace · GitHub

I produced it by:

gdb python
(gdb) run

import pylab

So it looks like TTF related. Here are some relevant links:

matplotlib crashes on Mac · Issue #9 · qsnake/qsnake · GitHub
http://trac.sagemath.org/sage_trac/ticket/7022

I have tried to copy ontList.cache (from the Sage ticket 7022) in to
~/.qsnake/matplotlib/, but it still segfaults.

Would anyone know what exactly the problem is, and how to fix it? I
have numpy 1.6.0. Let me know which other debugging information is
needed.