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:
gistfile1.txt
(gdb) bt full
#0 0x00007fff82b045d6 in __kill ()
No symbol table info available.
#1 0x00007fff82ba4cd6 in abort ()
No symbol table info available.
#2 0x00000001002242d2 in uw_init_context_1 ()
No symbol table info available.
#3 0x00000001002248e8 in _Unwind_Resume ()
No symbol table info available.
#4 0x0000000101b48174 in FT2Font (this=0x101372990, facefile=<value temporarily unavailable, due to optimizations>) at ExtensionOldType.hxx:88
This file has been truncated. show original
I produced it by:
gdb python
(gdb) run
import pylab
So it looks like TTF related. Here are some relevant links:
opened 09:58PM - 07 May 11 UTC
closed 06:04AM - 08 May 11 UTC
I have managed to fix the matplotlib 1.0 to build on OSX, but then it segfaults … due to the free type issue.
OLD (resolved) stuff:
Now however I can't build it anymore due to this error:
<pre>
In file included from src/ft2font.h:14:0,
from src/ft2font.cpp:1:
/usr/local/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory
</pre>
I don't think that anything has changed, now it simply doesn't build anymore.
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.