[Freewx-maint] Bug#575536: [Enthought-Dev] Bug#575536: mayavi2 segfaults under VNC
Yaroslav Halchenko
lists at onerussian.com
Fri Oct 14 02:17:12 UTC 2011
so -- I have built all necessary modules missing -dbg packages into a
virtualenv, and mayavi2 doesn't segfault but reports the same assertion failure
(wx is 2.8.10.1+dfsg-4) as on little Gael's snippet he posted some time
long ago:
[New Thread 0x7fffd294f700 (LWP 8425)]
[New Thread 0x7fffd214e700 (LWP 8426)]
ERROR|2011-10-14 01:57:13,363|error creating editor control <TVTK Scene 1>
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pyface/ui/wx/workbench/workbench_window_layout.py", line 96, in add_editor
self._wx_add_editor(editor, title)
File "/usr/lib/python2.7/dist-packages/pyface/ui/wx/workbench/workbench_window_layout.py", line 320, in _wx_add_editor
editor_dock_control = self._wx_create_editor_dock_control(editor)
File "/usr/lib/python2.7/dist-packages/pyface/ui/wx/workbench/workbench_window_layout.py", line 441, in _wx_create_editor_dock_control
self._wx_get_editor_control(editor)
File "/usr/lib/python2.7/dist-packages/pyface/ui/wx/workbench/workbench_window_layout.py", line 509, in _wx_get_editor_control
editor.control = editor.create_control(parent)
File "/home/yoh/.virtualenvs/mayavi2-debug2/lib/python2.7/site-packages/mayavi-4.0.0-py2.7-linux-x86_64.egg/tvtk/plugins/scene/scene_editor.py", line 61, in create_control
self.scene = self._create_decorated_scene(parent)
File "/home/yoh/.virtualenvs/mayavi2-debug2/lib/python2.7/site-packages/mayavi-4.0.0-py2.7-linux-x86_64.egg/tvtk/plugins/scene/scene_editor.py", line 87, in _create_decorated_scene
scene = DecoratedScene(parent, stereo=stereo)
File "/home/yoh/.virtualenvs/mayavi2-debug2/lib/python2.7/site-packages/mayavi-4.0.0-py2.7-linux-x86_64.egg/tvtk/pyface/ui/wx/decorated_scene.py", line 69, in __init__
super(DecoratedScene, self).__init__(parent, **traits)
File "/home/yoh/.virtualenvs/mayavi2-debug2/lib/python2.7/site-packages/mayavi-4.0.0-py2.7-linux-x86_64.egg/tvtk/pyface/ui/wx/scene.py", line 302, in __init__
super(Scene, self).__init__(parent, **traits)
File "/home/yoh/.virtualenvs/mayavi2-debug2/lib/python2.7/site-packages/mayavi-4.0.0-py2.7-linux-x86_64.egg/tvtk/pyface/tvtk_scene.py", line 201, in __init__
self.control = self._create_control(parent)
File "/home/yoh/.virtualenvs/mayavi2-debug2/lib/python2.7/site-packages/mayavi-4.0.0-py2.7-linux-x86_64.egg/tvtk/pyface/ui/wx/decorated_scene.py", line 103, in _create_control
self._panel)
File "/home/yoh/.virtualenvs/mayavi2-debug2/lib/python2.7/site-packages/mayavi-4.0.0-py2.7-linux-x86_64.egg/tvtk/pyface/ui/wx/scene.py", line 575, in _create_control
stereo=self.stereo)
File "/home/yoh/.virtualenvs/mayavi2-debug2/lib/python2.7/site-packages/mayavi-4.0.0-py2.7-linux-x86_64.egg/tvtk/pyface/ui/wx/wxVTKRenderWindowInteractor.py", line 182, in __init__
baseClass.__init__(self, parent, ID, position, size, style)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/glcanvas.py", line 104, in __init__
_glcanvas.GLCanvas_swiginit(self,_glcanvas.new_GLCanvas(*args, **kwargs))
PyAssertionError: C++ assertion "m_vi" failed at ../src/gtk/glcanvas.cpp(351) in Create(): required visual couldn't be found
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14614, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/home/yoh/.virtualenvs/mayavi2-debug2/lib/python2.7/site-packages/mayavi-4.0.0-py2.7-linux-x86_64.egg/mayavi/scripts/mayavi2.py", line 519, in run
process_cmd_line(self, options, args)
File "/home/yoh/.virtualenvs/mayavi2-debug2/lib/python2.7/site-packages/mayavi-4.0.0-py2.7-linux-x86_64.egg/mayavi/scripts/mayavi2.py", line 275, in process_cmd_line
last_obj = script.new_scene()
File "/home/yoh/.virtualenvs/mayavi2-debug2/lib/python2.7/site-packages/mayavi-4.0.0-py2.7-linux-x86_64.egg/mayavi/plugins/script.py", line 84, in new_scene
return self.engine.new_scene()
File "/usr/lib/python2.7/dist-packages/apptools/scripting/recordable.py", line 45, in _wrapper
result = func(*args, **kw)
File "/home/yoh/.virtualenvs/mayavi2-debug2/lib/python2.7/site-packages/mayavi-4.0.0-py2.7-linux-x86_64.egg/mayavi/plugins/envisage_engine.py", line 92, in new_scene
return self.scenes[-1]
IndexError: list index out of range
[Thread 0x7fffd214e700 (LWP 8426) exited]
[Thread 0x7fffd294f700 (LWP 8425) exited]
On Thu, 13 Oct 2011, Yaroslav Halchenko wrote:
> eh -- unfortunately exactly the same crash with 2.8.12.1-1 :-/
> On Thu, 13 Oct 2011, Yaroslav Halchenko wrote:
> > oh man -- there is something in the air -- I was right now messing with
> > trying to build traits, vtk4 and mayavi2 using python-dbg so I
> > could provide meaningful backtraces... so -- your upload came right in
> > time I must say ;) will do testing later on today (now debootstrapping
> > a new chroot ;))
> > > I'd appreciate it if you could try a clean sid chroot with wx from
> > > experimental and see if you can still reproduce this. If it still
> > > happens, then my thought it to forward this report to wx upstream and
> > > meanwhile apply a simple workaround to the Debian package which treats a
> > > NULL parent the same was as if m_parent->m_wxwindow being NULL.
--
=------------------------------------------------------------------=
Keep in touch www.onerussian.com
Yaroslav Halchenko www.ohloh.net/accounts/yarikoptic
More information about the Freewx-maint
mailing list