[Python-apps-team] Bug#478844: Bug#478844: mayavi2: segfaults or corrupts memory after some operations

Prabhu Ramachandran prabhu at aero.iitb.ac.in
Mon May 5 18:23:26 UTC 2008


Francesco Poli wrote:
> [...]
>>> Boom!  Memory corruption!
>> Strange, I am not able to reproduce this bug also on amd64 machine.
> 
> You lucky man!  ;-)

On my Mac (which is all I have access to on my "vacation"), I was able 
to reproduce the problem nicely thank to the data that Francesco has 
provided.  I think I have a fix.  Can you replace your copy of the 
PLOT3DReader in the sources directory of your installed mayavi2 with the 
attached and try again?

What this does is to pop up a UI as soon as the reader is initialized 
and before the files are read giving you a chance to set the properties. 
  With that I am able to reliably open up your data files.  If not it 
tries to be graceful but can die if fed enough poison and this is solely 
due to the VTK reader not behaving correctly.  There is little I can do 
about that.

Please try this and let me know that it works and I'll check it in to 
both the branches and trunk.

Thanks for the bug reports and patience.

regards,
prabhu
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: plot3d_reader.py
Url: http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20080505/83af24d3/attachment-0001.txt 


More information about the Python-apps-team mailing list