[vtkusers] wxVTKRenderWindowInteractor segfault on x86_64

Magnus Hagdorn Magnus.Hagdorn at glg.ed.ac.uk
Tue Apr 4 03:47:23 EDT 2006


Hi Charl,
I have attached the backtrace for
VTK/Wrapping/Python/vtk/wx/wxVTKRenderWindowInteractor.py
It also segfaults on i386.
Anyhow, hopefully those backtraces help
Cheers
magi
-------------- next part --------------
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `python wxVTKRenderWindowInteractor.py'.
Program terminated with signal 11, Segmentation fault.
#0  0x414b5986 in XChangeWindowAttributes () from /usr/X11R6/lib/libX11.so.6
#0  0x414b5986 in XChangeWindowAttributes () from /usr/X11R6/lib/libX11.so.6
#1  0x43fdc716 in vtkXOpenGLRenderWindow::WindowInitialize () from /scratch/LIBS/lib/libvtkRendering.so.5.0
#2  0x43fdd119 in vtkXOpenGLRenderWindow::Initialize () from /scratch/LIBS/lib/libvtkRendering.so.5.0
#3  0x43fdda85 in vtkXOpenGLRenderWindow::Start () from /scratch/LIBS/lib/libvtkRendering.so.5.0
#4  0x43f46075 in vtkRenderWindow::DoStereoRender () from /scratch/LIBS/lib/libvtkRendering.so.5.0
#5  0x43f46042 in vtkRenderWindow::DoFDRender () from /scratch/LIBS/lib/libvtkRendering.so.5.0
#6  0x43f45baf in vtkRenderWindow::DoAARender () from /scratch/LIBS/lib/libvtkRendering.so.5.0
#7  0x43f4534b in vtkRenderWindow::Render () from /scratch/LIBS/lib/libvtkRendering.so.5.0
#8  0x43fdff0a in vtkXOpenGLRenderWindow::Render () from /scratch/LIBS/lib/libvtkRendering.so.5.0
#9  0x43d4c604 in PyvtkXOpenGLRenderWindow_Render () from /scratch/LIBS/lib/libvtkRenderingPythonD.so.5.0
#10 0x080b8b7a in PyEval_EvalFrame (f=0x817ba3c) at ceval.c:3563
#11 0x080b7d67 in PyEval_EvalFrame (f=0x814f1f4) at ceval.c:3645
#12 0x080b9a9c in PyEval_EvalCodeEx (co=0x40398920, globals=0x402de824, locals=0x0, args=0x41c1ccd8, 
    argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ceval.c:2736
#13 0x080ff0d6 in function_call (func=0x41e51f44, arg=0x41c1cccc, kw=0x0) at funcobject.c:548
#14 0x080594ae in PyObject_Call (func=0x41e51f44, arg=0x41c1cccc, kw=0x0) at abstract.c:1795
#15 0x0805f339 in instancemethod_call (func=0x41e51f44, arg=0x41c1cccc, kw=0x0) at classobject.c:2447
#16 0x080594ae in PyObject_Call (func=0x41e23d9c, arg=0x448a620c, kw=0x0) at abstract.c:1795
#17 0x080b2444 in PyEval_CallObjectWithKeywords (func=0x41e23d9c, arg=0x448a620c, kw=0x0) at ceval.c:3430
#18 0x404cdbe8 in wxPyCallback::EventThunker (this=0x85d5608, event=@0xbfcf6c9c) at helpers.cpp:1597
#19 0x40ba0c00 in wxAppConsole::HandleEvent (this=0x849aa80, handler=0x85d5608, func=
      {__pfn = 0x404cd9ea <wxPyCallback::EventThunker(wxEvent&)>, __delta = 0}, event=@0xbfcf6c9c)
    at appbase.cpp:324
#20 0x40c4652c in wxEvtHandler::ProcessEventIfMatches (entry=@0x877adf0, handler=0x85d5608, event=@0xbfcf6c9c)
    at event.cpp:1193
#21 0x40c477fb in wxEvtHandler::SearchDynamicEventTable (this=0x85d5608, event=@0xbfcf6c9c) at event.cpp:1371
#22 0x40c4792c in wxEvtHandler::ProcessEvent (this=0x85d5608, event=@0xbfcf6c9c) at event.cpp:1251
#23 0x44d95b80 in wxGLCanvas::OnInternalIdle (this=0x85d5608) at glcanvas.cpp:672
#24 0x40964f65 in wxAppBase::SendIdleEvents (this=0x849aa80, win=0x85d5608, event=@0xbfcf6d50) at appcmn.cpp:426
#25 0x40965013 in wxAppBase::SendIdleEvents (this=0x849aa80, win=0x85c87f8, event=@0xbfcf6d50) at appcmn.cpp:440
#26 0x40964e84 in wxAppBase::ProcessIdle (this=0x849aa80) at appcmn.cpp:406
#27 0x408a57c2 in wxapp_idle_callback () at app.cpp:281
#28 0x40fc2941 in g_child_watch_add () from /opt/gnome/lib/libglib-2.0.so.0
#29 0x40fc035c in g_main_context_dispatch () from /opt/gnome/lib/libglib-2.0.so.0
#30 0x40fc37cb in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
#31 0x40fc3ae7 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#32 0x4114e861 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#33 0x408c640c in wxEventLoop::Run (this=0x877c4c0) at evtloop.cpp:80
#34 0x40964b51 in wxAppBase::MainLoop (this=0x849aa80) at appcmn.cpp:272
#35 0x404c9d08 in wxPyApp::MainLoop (this=0x849aa80) at helpers.cpp:151
#36 0x4050ecae in _wrap_PyApp_MainLoop (args=0x448a624c, kwargs=0x448aa79c) at _core_wrap.cpp:23924
#37 0x080594ae in PyObject_Call (func=0x4047988c, arg=0x448a624c, kw=0x448aa79c) at abstract.c:1795
#38 0x080b70ce in PyEval_EvalFrame (f=0x8159944) at ceval.c:3840
#39 0x080b9a9c in PyEval_EvalCodeEx (co=0x403b6b20, globals=0x4031335c, locals=0x0, args=0x448a61d8, 
    argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ceval.c:2736
#40 0x080ff0d6 in function_call (func=0x40496b1c, arg=0x448a61cc, kw=0x0) at funcobject.c:548
#41 0x080594ae in PyObject_Call (func=0x40496b1c, arg=0x448a61cc, kw=0x0) at abstract.c:1795
#42 0x0805f339 in instancemethod_call (func=0x40496b1c, arg=0x448a61cc, kw=0x0) at classobject.c:2447
#43 0x080594ae in PyObject_Call (func=0x41c08144, arg=0x448a61cc, kw=0x0) at abstract.c:1795
#44 0x080b7544 in PyEval_EvalFrame (f=0x815fb3c) at ceval.c:3771
#45 0x080b7d67 in PyEval_EvalFrame (f=0x818006c) at ceval.c:3645
#46 0x080b7d67 in PyEval_EvalFrame (f=0x814f6fc) at ceval.c:3645
#47 0x080b9a9c in PyEval_EvalCodeEx (co=0x40398da0, globals=0x402de824, locals=0x402de824, args=0x0, 
    argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ceval.c:2736
#48 0x080b9b95 in PyEval_EvalCode (co=0x40398da0, globals=0x402de824, locals=0x402de824) at ceval.c:484
#49 0x080dba03 in PyRun_FileExFlags (fp=0x8141db8, filename=0xbfcf905d "wxVTKRenderWindowInteractor.py", 
    start=257, globals=0x402de824, locals=0x402de824, closeit=1, flags=0xbfcf7ca4) at pythonrun.c:1265
#50 0x080dbc97 in PyRun_SimpleFileExFlags (fp=<value optimized out>, 
    filename=0xbfcf905d "wxVTKRenderWindowInteractor.py", closeit=1, flags=0xbfcf7ca4) at pythonrun.c:860
#51 0x08055b16 in Py_Main (argc=1, argv=0xbfcf7d04) at main.c:493
#52 0x401bb3ae in __libc_start_main () from /lib/i686/libc.so.6
#53 0x08054fa1 in _start () at start.S:119
-------------- next part --------------
(no debugging symbols found)
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `python wxVTKRenderWindowInteractor.py'.
Program terminated with signal 11, Segmentation fault.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
#0  0x00002b87b4db8c8b in XChangeWindowAttributes () from /usr/X11R6/lib64/libX11.so.6
#0  0x00002b87b4db8c8b in XChangeWindowAttributes () from /usr/X11R6/lib64/libX11.so.6
#1  0x00002b87bb52a7d4 in vtkXOpenGLRenderWindow::WindowInitialize () from /usr/local/lib/libvtkRendering.so.5.0
#2  0x00002b87bb5271ed in vtkXOpenGLRenderWindow::Initialize () from /usr/local/lib/libvtkRendering.so.5.0
#3  0x00002b87bb527313 in vtkXOpenGLRenderWindow::Start () from /usr/local/lib/libvtkRendering.so.5.0
#4  0x00002b87bb4937dc in vtkRenderWindow::DoStereoRender () from /usr/local/lib/libvtkRendering.so.5.0
#5  0x00002b87bb493dcf in vtkRenderWindow::DoFDRender () from /usr/local/lib/libvtkRendering.so.5.0
#6  0x00002b87bb4945ab in vtkRenderWindow::DoAARender () from /usr/local/lib/libvtkRendering.so.5.0
#7  0x00002b87bb494d98 in vtkRenderWindow::Render () from /usr/local/lib/libvtkRendering.so.5.0
#8  0x00002b87bb5282de in vtkXOpenGLRenderWindow::Render () from /usr/local/lib/libvtkRendering.so.5.0
#9  0x00002b87bb163a64 in PyvtkXOpenGLRenderWindow_Render () from /usr/local/lib/libvtkRenderingPythonD.so.5.0
#10 0x00002b87b144a358 in PyEval_EvalFrame () from /usr/lib64/libpython2.4.so.1.0
#11 0x00002b87b14499ba in PyEval_EvalFrame () from /usr/lib64/libpython2.4.so.1.0
#12 0x00002b87b144aed6 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.4.so.1.0
#13 0x00002b87b1405023 in PyClassMethod_New () from /usr/lib64/libpython2.4.so.1.0
#14 0x00002b87b13ef300 in PyObject_Call () from /usr/lib64/libpython2.4.so.1.0
#15 0x00002b87b13f4eaf in PyClass_IsSubclass () from /usr/lib64/libpython2.4.so.1.0
#16 0x00002b87b13ef300 in PyObject_Call () from /usr/lib64/libpython2.4.so.1.0
#17 0x00002b87b1444ea1 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.4.so.1.0
#18 0x00002b87b231d583 in wxPyCallback::EventThunker (this=0xa89ca0, event=@0x7ffff9809d00) at helpers.cpp:1597
#19 0x00002b87b32f0f91 in wxAppConsole::HandleEvent (this=0xa19ee0, handler=0xa89ca0, func=
      {__pfn = 0x2b87b231d3ae <wxPyCallback::EventThunker(wxEvent&)>, __delta = 0}, event=@0x7ffff9809d00)
    at appbase.cpp:324
#20 0x00002b87b3389252 in wxEvtHandler::ProcessEventIfMatches (entry=@0xb938a0, handler=0xa89ca0, event=@0x7ffff9809d00)
    at event.cpp:1193
#21 0x00002b87b33897b4 in wxEvtHandler::SearchDynamicEventTable (this=0xa89ca0, event=@0x7ffff9809d00) at event.cpp:1371
#22 0x00002b87b338af18 in wxEvtHandler::ProcessEvent (this=0xa89ca0, event=@0x7ffff9809d00) at event.cpp:1251
#23 0x00002aaaac876895 in wxGLCanvas::OnInternalIdle (this=0xa89ca0) at glcanvas.cpp:672
#24 0x00002b87b2cf52ba in wxAppBase::SendIdleEvents (this=0xa19ee0, win=0xa89ca0, event=@0x7ffff9809e20)
    at appcmn.cpp:426
#25 0x00002b87b2cf5343 in wxAppBase::SendIdleEvents (this=0xa19ee0, win=0xadfd90, event=@0x7ffff9809e20)
    at appcmn.cpp:440
#26 0x00002b87b2cf544a in wxAppBase::ProcessIdle (this=0xa19ee0) at appcmn.cpp:406
#27 0x00002b87b2c3eea7 in wxapp_idle_callback () at app.cpp:281
#28 0x00002b87b3e282ba in g_main_context_dispatch () from /opt/gnome/lib64/libglib-2.0.so.0
#29 0x00002b87b3e2b345 in g_main_context_check () from /opt/gnome/lib64/libglib-2.0.so.0
#30 0x00002b87b3e2b655 in g_main_loop_run () from /opt/gnome/lib64/libglib-2.0.so.0
#31 0x00002b87b41caef3 in gtk_main () from /opt/gnome/lib64/libgtk-x11-2.0.so.0
#32 0x00002b87b2c5d558 in wxEventLoop::Run (this=0xb9c680) at evtloop.cpp:80
#33 0x00002b87b2cf53b8 in wxAppBase::MainLoop (this=0xa19ee0) at appcmn.cpp:272
#34 0x00002b87b23213d7 in wxPyApp::MainLoop (this=0xa19ee0) at helpers.cpp:151
#35 0x00002b87b2339c2d in _wrap_PyApp_MainLoop (args=0x2b87bab48d90, kwargs=0xb9ba80) at _core_wrap.cpp:23924
#36 0x00002b87b13ef300 in PyObject_Call () from /usr/lib64/libpython2.4.so.1.0
#37 0x00002b87b1448a97 in PyEval_EvalFrame () from /usr/lib64/libpython2.4.so.1.0
#38 0x00002b87b144aed6 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.4.so.1.0
#39 0x00002b87b1405023 in PyClassMethod_New () from /usr/lib64/libpython2.4.so.1.0
#40 0x00002b87b13ef300 in PyObject_Call () from /usr/lib64/libpython2.4.so.1.0
#41 0x00002b87b13f4eaf in PyClass_IsSubclass () from /usr/lib64/libpython2.4.so.1.0
#42 0x00002b87b13ef300 in PyObject_Call () from /usr/lib64/libpython2.4.so.1.0
#43 0x00002b87b14470fa in PyEval_EvalFrame () from /usr/lib64/libpython2.4.so.1.0
#44 0x00002b87b14499ba in PyEval_EvalFrame () from /usr/lib64/libpython2.4.so.1.0
#45 0x00002b87b14499ba in PyEval_EvalFrame () from /usr/lib64/libpython2.4.so.1.0
#46 0x00002b87b144aed6 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.4.so.1.0
#47 0x00002b87b144af82 in PyEval_EvalCode () from /usr/lib64/libpython2.4.so.1.0
#48 0x00002b87b14654b9 in Py_CompileString () from /usr/lib64/libpython2.4.so.1.0
#49 0x00002b87b1466938 in PyRun_SimpleFileExFlags () from /usr/lib64/libpython2.4.so.1.0
#50 0x00002b87b146c92c in Py_Main () from /usr/lib64/libpython2.4.so.1.0
#51 0x00002b87b1d7f154 in __libc_start_main () from /lib64/libc.so.6
#52 0x00000000004006c9 in _start ()


More information about the vtkusers mailing list