segfault on specgram in svn

Hello, I've just switched to Python 2.5 and at the same time

    > upgraded to numpy 1.0.1 with today's svn matplotlib, using
    > the QtAgg backend (PyQt3 3.17). This is on an AMD64
    > (Opteron) machine.

    > I get a segfault after these operations:

    > In [1]:import numpy as N In [2]:specgram( N.random.randn(
    > 256*500 ) ) Segmentation fault (core dumped)

1) Are you sure that matplotlib's numerix setting is numpy?

2) Did you do a *clean* build of mpl: ie
   > sudo rm -rf build
   > sudo python setup.py install

The latter is very important when upgrading Numeric/numpy/numarray

It could be an AMD64 bit problem, though...

JDH

    > Hello, I've just switched to Python 2.5 and at the same time
    > upgraded to numpy 1.0.1 with today's svn matplotlib, using
    > the QtAgg backend (PyQt3 3.17). This is on an AMD64
    > (Opteron) machine.

    > I get a segfault after these operations:

    > In [1]:import numpy as N In [2]:specgram( N.random.randn(
    > 256*500 ) ) Segmentation fault (core dumped)

1) Are you sure that matplotlib's numerix setting is numpy?

Yep. It has been for a long time.

2) Did you do a *clean* build of mpl: ie
   > sudo rm -rf build
   > sudo python setup.py install

I'm pretty sure it was clean, because I upgraded to the svn version at
the same time. I'm rebuilding it now, though, just to make sure, and
I'll post if there is any difference in result.

Thanks for your suggestions.

Glen

···

On Fri, Dec 08, 2006 at 01:44:03PM -0600, John Hunter wrote:

Okay, it's just my fault. Turns out there is only a segfault when I
include a patch I'm working on ...

Thanks again,
Glen

···

On Fri, Dec 08, 2006 at 01:54:56PM -0600, Glen W. Mabey wrote:

On Fri, Dec 08, 2006 at 01:44:03PM -0600, John Hunter wrote:

>
> > Hello, I've just switched to Python 2.5 and at the same time
> > upgraded to numpy 1.0.1 with today's svn matplotlib, using
> > the QtAgg backend (PyQt3 3.17). This is on an AMD64
> > (Opteron) machine.
>
> > I get a segfault after these operations:
>
> > In [1]:import numpy as N In [2]:specgram( N.random.randn(
> > 256*500 ) ) Segmentation fault (core dumped)
>
> 1) Are you sure that matplotlib's numerix setting is numpy?

Yep. It has been for a long time.

> 2) Did you do a *clean* build of mpl: ie
> > sudo rm -rf build
> > sudo python setup.py install

I'm pretty sure it was clean, because I upgraded to the svn version at
the same time. I'm rebuilding it now, though, just to make sure, and
I'll post if there is any difference in result.