[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 12 16:52:00 UTC 2008


Prabhu Ramachandran wrote:
> Francesco Poli wrote:
> 
>> then left-click on the (now childless) Modules entry
>> and choose Visualize -> Modules -> ContourGridPlane from
>> menus:
>>
>>  * TVTK Scene 1
>>    * PLOT3D:tiny.xyz, tiny.q
>>      * Modules
>>        * Surface
>>    * PLOT3D:tiny.xyz, tiny.q
>>      * Modules
>>        * ContourGridPlane
>>
>> At this point, as soon as I left-click on the ContourGridPlane
>> module, I get a debugger window (see attached screenshot inspector.png)
>> and cannot see any ContourGridPlane properties in the MayaVi
>> object editor pane...
> 
> OK, this is a bug that we are aware of but will take a little while to 
> get sorted out.  Thanks for the report though.

I think I've found the problem and fixed it in the 
enthought.traits.ui.wx_2.0.5 branch that I just made.  The problem in 
your case is that there is only one value of the scalar, so the high and 
low limits are the same leading to the floating point division error.

Here is a patch you need to make to 
enthought/traits/ui/wx/range_editor.py (where it is installed) 
alternatively get this from the branch.

The bug should therefore be closed as far as upstream is concerned. 
Varun already filed a ticket for improving the multi-block support which 
we'll get to later.

cheers,
prabhu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: range_editor.patch
Type: text/x-patch
Size: 1168 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20080512/4129df50/attachment.bin 


More information about the Python-apps-team mailing list