Segmentation fault from fresh OSX snow leopard build

Matthew Brett <matthew.brett@...149...> writes:

I am rashly building matplotlib from source on Snow Leopard, and
getting a segmentation fault as soon as I try and do a plot.

Can you get a backtrace in gdb?

···

--
Jouni K. Seppänen

Hi,

Matthew Brett <matthew.brett@...149...> writes:

I am rashly building matplotlib from source on Snow Leopard, and
getting a segmentation fault as soon as I try and do a plot.

Can you get a backtrace in gdb?

(gdb) run scipybuild/matplotlib/examples/pylab_examples/simple_plot.py

...

Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x0000000102d96ffb in py_to_agg_transformation_matrix
(obj=0x102d794d0, errors=false) at src/agg_py_transforms.cpp:21
21 matrix = (PyArrayObject*) PyArray_FromObject(obj,
PyArray_DOUBLE, 2, 2);

hum... I'm running from the latest svn numpy...

Cheers,

Matthew

···

On Sun, Nov 29, 2009 at 1:30 AM, Jouni K. Seppänen <jks@...278...> wrote:

Hi,

Can you get a backtrace in gdb?

(gdb) run scipybuild/matplotlib/examples/pylab_examples/simple_plot.py

...

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x0000000102d96ffb in py_to_agg_transformation_matrix
(obj=0x102d794d0, errors=false) at src/agg_py_transforms.cpp:21
21 matrix = (PyArrayObject*) PyArray_FromObject(obj,
PyArray_DOUBLE, 2, 2);

hum... I'm running from the latest svn numpy...

Same outcome with numpy 1.3 though...

Matthew