[Python-apps-team] Bug#478017: Bug#478017: Bug#478017: mayavi2 crashes instantly on startup

Varun Hiremath varunhiremath at gmail.com
Tue Apr 29 14:05:06 UTC 2008


Hi Abel,

On Sun, 27 Apr, 2008 at 09:55:56AM +0200, Abel Daniel wrote:
> On Sun, Apr 27, 2008 at 10:42:15AM +0530, Varun Hiremath wrote:
> > This problem could be related, so please try upgrading mayavi2 and its
> > dependencies to the latest versions in unstable.
> 
> I also tried installing python-dbg from unstable, and running mayavi2
> with that. This is what I got:
> abeld at csik:0:~$ which mayavi2
> /usr/bin/mayavi2
> abeld at csik:0:~$ python-dbg /usr/bin/mayavi2
> Traceback (most recent call last):
>   File "/usr/bin/mayavi2", line 3, in <module>
>     from enthought.mayavi.scripts import mayavi2
>   File "/usr/lib/python2.5/site-packages/enthought/mayavi/scripts/mayavi2.py", line 406, in <module>
>     from enthought.mayavi.app import Mayavi
>   File "/usr/lib/python2.5/site-packages/enthought/mayavi/app.py", line 11, in <module>
>     from enthought.envisage import _set_using_workbench
>   File "/usr/lib/python2.5/site-packages/enthought/envisage/__init__.py", line 7, in <module>
>     from core.application import Application
>   File "/usr/lib/python2.5/site-packages/enthought/envisage/core/application.py", line 13, in <module>
>     from enthought.traits.api import Any, Bool, Event, HasTraits, Instance, List
>   File "/usr/lib/python2.5/site-packages/enthought/traits/api.py", line 26, in <module>
>     from trait_base \
>   File "/usr/lib/python2.5/site-packages/enthought/traits/trait_base.py", line 93, in <module>
>     import ctraits
> ImportError: /usr/lib/python2.5/site-packages/enthought/traits/ctraits.so: undefined symbol: Py_InitModule4_64
> [20435 refs]
> abeld at csik:1:~$ python -c "import enthought.traits.ctraits as m; print m.__file__"
> /usr/lib/python2.5/site-packages/enthought/traits/ctraits.so
> abeld at csik:0:~$ python-dbg -c "import enthought.traits.ctraits as m; print m.__file__"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: /usr/lib/python2.5/site-packages/enthought/traits/ctraits.so: undefined symbol: Py_InitModule4_64
> [7404 refs]
> abeld at csik:1:~$ 
> 
> I don't know whether this cases the segfault when running mayavi2, but
> it might be related. (It is quite strange that 'python' can import
> that module while 'python-dbg' can't.) I am using the amd64 build of
> lenny, are you trying to reproduce this bug on a 32 bit or 64 bit
> machine?

Sorry for the late reply, I was occupied with some work. 

Today I tried the latest version of mayavi2 on an amd64 bit machine,
and it works fine for me. 

varun at debian:~$ uname -a
Linux debian 2.6.22-3-amd64 #1 SMP Sun Nov 4 18:18:09 UTC 2007 x86_64 GNU/Linux
varun at debian:~$ dpkg -l mayavi2 | grep mayavi2
ii  mayavi2                              2.1.1-2+b1                 A scientific visualization package for 2-D and 3-D data
varun at debian:~$ 

Sorry, I am not able to reproduce this bug on either i386 or amd64
machine. Could you please try to reproduce this bug on some other
system and report back?

Thanks,
Varun

-- 
Varun Hiremath
Undergraduate Student,
Aerospace Engineering Department,
Indian Institute of Technology Madras,
Chennai, India
-------------------------------------
Homepage: http://varun.travisbsd.org





More information about the Python-apps-team mailing list