[Python-apps-team] Bug#677421: mayavi2: segfaults as soon as a module is loaded
Francesco Poli
invernomuto at paranoici.org
Mon Jul 2 17:24:11 UTC 2012
On Sun, 1 Jul 2012 18:27:15 -0400 Varun Hiremath wrote:
[...]
> On Sun, Jul 1, 2012 at 4:56 PM, Francesco Poli
> <invernomuto at paranoici.org> wrote:
> > I've just reproduced it again, unfortunately.
> >
> > Maybe the issue is triggered by something unrelated to the packages
> > mayavi2 depends on...
> > For instance, it could be video-hardware-specific: the boxes I tested
> > mayavi2 on have Intel integrated graphics
> > (xserver-xorg-video-intel/2:2.19.0-4).
> > Do you have the same type of video card?
>
> I earlier tested on a system with NVidia card (running with Vesa), and
> just now tried on a laptop with intel graphics (running
> xserver-xorg-video-intel/2:2.19.0-4). I don't get any segfault and the
> modules load fine. Do I need to something extra after loading the
> modules? I see the streamlines and the iso-surface; I can send you
> screenshots if you want.
No need to send screenshots, I believe you! ;-)
>
> Thanks,
> Varun
>
> Installed packages:
>
> ii ipython 0.9.1-3
> ii libc6 2.13-21
> ii libjs-jquery 1.7-1
> ii python 2.7.2-9
> ii python-apptools 4.0.0-1
> ii python-configobj 4.5.2-2
> ii python-envisage 4.0.0-1
> ii python-numpy 1:1.6.2-1
> ii python-pkg-resources 0.6.16-1
> ii python-traits 4.1.0-1
> ii python-traitsui 4.1.0-1
> ii python-vtk 5.8.0-13
> ii python-wxgtk2.8 2.8.12.1-11
> ii python2.7 2.7.3-1
Mmmmh, it seems to me that you are trying to reproduce the bug on
an outdated Debian testing (or unstable) box.
I use Debian testing and have the following package versions installed:
$ dpkg -l ipython libc6 libjs-jquery python python-apptools \
python-configobj python-envisage python-numpy \
python-pkg-resources python-traits python-traitsui \
python-vtk python-wxgtk2.8 python2.7 | cut -c 1-60
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/tr
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
+++-=====================================-==================
un ipython <none>
ii libc6:amd64 2.13-33
ii libjs-jquery 1.7.2+debian-2
ii python 2.7.3~rc2-1
ii python-apptools 4.0.1-1
ii python-configobj 4.7.2+ds-4
ii python-envisage 4.1.0-2
ii python-numpy 1:1.6.2-1
ii python-pkg-resources 0.6.24-1
ii python-traits 4.1.0-1
ii python-traitsui 4.1.0-1
ii python-vtk 5.8.0-13
ii python-wxgtk2.8 2.8.12.1-11
ii python2.7 2.7.3~rc2-2.1
Also, did you try to reproduce the bug on amd64 architecture?
Please note that installing ipython/0.12.1+dfsg-2 does not seem to help.
Wait a second, I noticed an important thing!
It seems that there's a huge difference in how I add modules
in step 1 (see my original bug report).
First possibility: in the tree-like view of the objects, I click on "+
Add module or filter" (under "VTK XML file (fire_ug.vtu)"), then in the
Mayavi object editor ("Visualization modules" tab) I double-click on
"Streamline".
Booom! Segmentation fault!
Second possibility: I select "VTK XML file (fire_ug.vtu)" in the
tree-like view, and then I right-click on it and get the context menu.
I select Add Module / Streamline from the menu.
Everything seems to work fine.
Third possibility: I select "VTK XML file (fire_ug.vtu)" in the
tree-like view, and then I click on "+" button in the tool bar
(on top of the tree-like view). I double-click on "Streamline"
in the dialog window and the close the dialog window itself.
Everything seems to work fine.
Fourth possibility: I select Modules / Streamline from the Visualize
menu.
Everything seems to work fine.
I hope that this helps to pinpoint the issue.
Please let me know.
Thanks for your time!
--
http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
New GnuPG key, see the transition document!
..................................................... Francesco Poli .
GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20120702/3b0fb9d1/attachment.pgp>
More information about the Python-apps-team
mailing list