Re: [wxVTK] Bug in wxVTKRenderWindowInteractor in last cvs revision
Brought to you by:
malat
From: Thiago F. M. <tot...@gm...> - 2010-02-23 14:00:07
|
On Tue, Feb 23, 2010 at 5:56 AM, Mathieu Malaterre < mat...@gm...> wrote: > On Tue, Feb 23, 2010 at 12:11 AM, Thiago Franco de Moraes > <tot...@gm...> wrote: > > On 22-02-2010 18:51, Mathieu Malaterre wrote: > >> Works for me here. > >> > >> What is the backtrace ? > > > > There is only a segmentation fault. I forgot to said that error occurs > > using Python. I tried in Window too, and it works. > > The Python version is maintained directly in VTK. You should try the > vtk users mailing list. > I have already posted there. I'll post this message there too > BTW you can still catch those signal from python: > > gdb python myscript.py > > run > > HTH > -- > Mathieu > I tried that command and it doesn't work. Then I tried this ways: $ gdb python Then: (gdb) run wxVTKRenderWindowInteractor.py It give me this message: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff100f840 in XChangeWindowAttributes () from /usr/lib/libX11.so.6 So I run this command: (gdb) backtrace full #0 0x00007ffff100f840 in XChangeWindowAttributes () from /usr/lib/libX11.so.6 No symbol table info available. #1 0x00007fffe60a19de in vtkXOpenGLRenderWindow::CreateAWindow (this=0x185f310) at /home/tfmoraes/Download/vtkcvs/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:588 matcher = {visual = 0x94d057, visualid = 4294967295, screen = -1, depth = 0, c_class = -150812852, red_mask = 25685472, green_mask = 140737158771210, blue_mask = 140737488340640, colormap_size = 1, bits_per_rgb = 0} width = 400 height = 400 xsh = {flags = 3, x = 0, y = 0, width = 400, height = 400, min_width = 8904864, min_height = 0, max_width = 9752663, max_height = 0, width_inc = -1, height_inc = 0, min_aspect = {x = -1, y = 0}, max_aspect = {x = -147730880, y = 32767}, base_width = -14976, base_height = 32767, win_gravity = 8904864} attr = {background_pixmap = 9752663, background_pixel = 4294967295, border_pixmap = 4294967295, border_pixel = 140737340624448, bit_gravity = -15120, win_gravity = 32767, backing_store = 8904864, backing_planes = 9752663, backing_pixel = 4294967295, save_under = -1, event_mask = 140737340624448, do_not_propagate_mask = 140737488340256, override_redirect = 0, colormap = 9752663, cursor = 4294967295} x = 0 winattr = {x = -15296, y = 32767, width = -147730880, height = 32767, border_width = 48, depth = 0, visual = 0x7ffff731ce40, root = 140737488340064, c_class = 8904864, bit_gravity = 0, win_gravity = 9752663, backing_store = 0, backing_planes = 4294967295, backing_pixel = 4294967295, save_under = -147730880, colormap = 140737488340112, map_installed = 8904864, map_state = 0, all_event_masks = 9752663, your_event_mask = 4294967295, do_not_propagate_mask = 4294967295, override_redirect = -147730880, screen = 0x7fffffffc4c0} v = 0x187edc0 y = 0 nItems = -14688 #2 0x00007fffe60a3191 in vtkXOpenGLRenderWindow::WindowInitialize (this=0x185f310) at /home/tfmoraes/Download/vtkcvs/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1031 ren = 0x7fffffffc6a0 #3 0x00007fffe60a3265 in vtkXOpenGLRenderWindow::Initialize (this=0x185f310) at /home/tfmoraes/Download/vtkcvs/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1053 No locals. #4 0x00007fffe60a3701 in vtkXOpenGLRenderWindow::Start (this=0x185f310) at /home/tfmoraes/Download/vtkcvs/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1186 No locals. #5 0x00007fffe5f6dc35 in vtkRenderWindow::DoStereoRender (this=0x185f310) at /home/tfmoraes/Download/vtkcvs/VTK/Rendering/vtkRenderWindow.cxx:688 rsit = 0xffffc701 #6 0x00007fffe5f6dc06 in vtkRenderWindow::DoFDRender (this=0x185f310) at /home/tfmoraes/Download/vtkcvs/VTK/Rendering/vtkRenderWindow.cxx:677 i = 32767 #7 0x00007fffe5f6d6bd in vtkRenderWindow::DoAARender (this=0x185f310) at /home/tfmoraes/Download/vtkcvs/VTK/Rendering/vtkRenderWindow.cxx:564 i = 32767 #8 0x00007fffe5f6cc93 in vtkRenderWindow::Render (this=0x185f310) at /home/tfmoraes/Download/vtkcvs/VTK/Rendering/vtkRenderWindow.cxx:377 size = 0x185f380 x = 1155115008 y = 0 p1 = 0x1873638 #9 0x00007fffe60a5ed1 in vtkXOpenGLRenderWindow::Render (this=0x185f310) at /home/tfmoraes/Download/vtkcvs/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1846 attribs = {x = -13968, y = 32767, width = -323898245, height = 32767, border_width = 0, depth = 0, visual = 0x185f310, root = 20467688, c_class = -438120533, bit_gravity = 32767, win_gravity = 25638456, backing_store = 0, backing_planes = 25443968, backing_pixel = 22463728, save_under = 21494544, colormap = 20467624, map_installed = -151501984, map_state = 32767, all_event_masks = 0, your_event_mask = 4678969, do_not_propagate_mask = 23140944, override_redirect = -134709168, screen = 0x7ffff7f88050} #10 0x00007fffe671d370 in PyvtkXOpenGLRenderWindow_Render (self=0x1611a50, args=0x7ffff7f88050) at /home/tfmoraes/Download/vtkcvs/VTK/Rendering/vtkXOpenGLRenderWindowPython.cxx:1166 op = 0x185f310 #11 0x00000000004a290d in PyEval_EvalFrameEx () No symbol table info available. #12 0x00000000004a2e47 in PyEval_EvalFrameEx () ---Type <return> to continue, or q <return> to quit--- No symbol table info available. #13 0x00000000004a40e0 in PyEval_EvalCodeEx () No symbol table info available. #14 0x000000000052be30 in ?? () No symbol table info available. #15 0x000000000041d6e7 in PyObject_Call () No symbol table info available. #16 0x00000000004254ff in ?? () No symbol table info available. #17 0x000000000041d6e7 in PyObject_Call () No symbol table info available. #18 0x000000000049c623 in PyEval_CallObjectWithKeywords () No symbol table info available. #19 0x00007ffff6b71b17 in wxPyCallback::EventThunker(wxEvent&) () from /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so No symbol table info available. #20 0x00007ffff4e9ef89 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0 No symbol table info available. #21 0x00007ffff4e9f134 in wxEvtHandler::SearchDynamicEventTable(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0 No symbol table info available. #22 0x00007ffff4ea0222 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0 No symbol table info available. #23 0x00007fffdf22f572 in wxGLCanvas::OnInternalIdle() () from /usr/lib/libwx_gtk2u_gl-2.8.so.0 No symbol table info available. #24 0x00007ffff57b3ded in wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&) () from /usr/lib/libwx_gtk2u_core-2.8.so.0 No symbol table info available. #25 0x00007ffff57b3e24 in wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&) () from /usr/lib/libwx_gtk2u_core-2.8.so.0 No symbol table info available. #26 0x00007ffff57b4084 in wxAppBase::ProcessIdle() () from /usr/lib/libwx_gtk2u_core-2.8.so.0 No symbol table info available. #27 0x00007ffff5716954 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0 No symbol table info available. #28 0x00007ffff24e2bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0 No symbol table info available. #29 0x00007ffff24e6598 in ?? () from /lib/libglib-2.0.so.0 No symbol table info available. #30 0x00007ffff24e69f5 in g_main_loop_run () from /lib/libglib-2.0.so.0 No symbol table info available. #31 0x00007ffff43bc177 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 No symbol table info available. #32 0x00007ffff572df58 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0 No symbol table info available. #33 0x00007ffff57b3ebb in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0 No symbol table info available. #34 0x00007ffff6b6fdd7 in wxPyApp::MainLoop() () from /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so No symbol table info available. #35 0x00007ffff6be57de in ?? () from /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so No symbol table info available. #36 0x00000000004a2299 in PyEval_EvalFrameEx () ---Type <return> to continue, or q <return> to quit--- No symbol table info available. #37 0x00000000004a40e0 in PyEval_EvalCodeEx () No symbol table info available. #38 0x000000000052be30 in ?? () No symbol table info available. #39 0x000000000041d6e7 in PyObject_Call () No symbol table info available. #40 0x00000000004254ff in ?? () No symbol table info available. #41 0x000000000041d6e7 in PyObject_Call () No symbol table info available. #42 0x00000000004a199c in PyEval_EvalFrameEx () No symbol table info available. #43 0x00000000004a2e47 in PyEval_EvalFrameEx () No symbol table info available. #44 0x00000000004a2e47 in PyEval_EvalFrameEx () No symbol table info available. #45 0x00000000004a40e0 in PyEval_EvalCodeEx () No symbol table info available. #46 0x00000000004a41b2 in PyEval_EvalCode () No symbol table info available. #47 0x00000000004c33a0 in PyRun_FileExFlags () No symbol table info available. #48 0x00000000004c3564 in PyRun_SimpleFileExFlags () No symbol table info available. #49 0x0000000000418ab7 in Py_Main () No symbol table info available. #50 0x00007ffff6fd0abd in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #51 0x0000000000417ca9 in _start () No symbol table info available. |