Error producing a plot after updating to 0.91.1

Hi

Since updating to 0.91.1 one of my scripts, attached, has stopped
working. I get the following error when trying to run it

$ ./plot.py data.dat plot.png
alloc: invalid block: 0x1c15fa4: 40 1 0

Abort trap
$

Any ideas what could be causing this?

Cheers

Adam

plot.py (1.54 KB)

Can you also please attach your data -- or point to some acceptable data online? What platform and backend are you using?

Cheers,
Mike

Adam Mercer wrote:

···

Hi

Since updating to 0.91.1 one of my scripts, attached, has stopped
working. I get the following error when trying to run it

$ ./plot.py data.dat plot.png
alloc: invalid block: 0x1c15fa4: 40 1 0

Abort trap
$

Any ideas what could be causing this?

Cheers

Adam

------------------------------------------------------------------------

-------------------------------------------------------------------------
SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

I've attached an example data file. I'm using the TKAgg backend on
Mac OS X Leopard.

Cheers

Adam

data.dat (1.12 KB)

···

On Dec 7, 2007 8:21 AM, Michael Droettboom <mdroe@...86...> wrote:

Can you also please attach your data -- or point to some acceptable data
online? What platform and backend are you using?

Unfortunately, I'm not able to reproduce this bug on RHEL 4. Valgrind (a memory checking tool) doesn't come up with any clues.

You could try setting your backend to simply "Agg" to rule out some Tk usage/installation problem as the culprit.

Other than that, I'm stumped, but maybe one of the Leopard users on this list has more insight.

Cheers,
Mike

Adam Mercer wrote:

···

On Dec 7, 2007 8:21 AM, Michael Droettboom <mdroe@...86...> wrote:

Can you also please attach your data -- or point to some acceptable data
online? What platform and backend are you using?

I've attached an example data file. I'm using the TKAgg backend on
Mac OS X Leopard.

Cheers

Adam

--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Thanks, the problem goes away if I use the Agg backend.

Cheers

Adam

···

On Dec 7, 2007 9:09 AM, Michael Droettboom <mdroe@...86...> wrote:

You could try setting your backend to simply "Agg" to rule out some Tk
usage/installation problem as the culprit.