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