[vtkusers] vtk4.2 + Python2.3 + win = works,but repr(<vtk object>) crashes

Frank Conradie frank at qfin.net
Fri Sep 19 23:09:45 EDT 2003


Hi Prabhu (and list)

Here is what I get, after a rather painful bcc32 debug build ;-)

>>> a = vtkActor()
>>> a
<vtkRenderingPython.vtkOpenGLActor vtkobject at 0076A158>
>>> print a

Program received signal SIGSEGV, Segmentation fault.
0x3253db97 in
cc3250mt!@std@%num_put$c48std@%ostreambuf_iterator$c19std@%char_t
aits$c%%%@do_put$xq48std@%ostreambuf_iterator$c19std@%char_traits$c%%r12std@
ios
basecd () from /cygdrive/c/Borland/BCC55/Bin/cc3250mt.dll
(gdb) backtrace
#0  0x3253db97 in
cc3250mt!@std@%num_put$c48std@%ostreambuf_iterator$c19std@%ch
r_traits$c%%%@do_put$xq48std@%ostreambuf_iterator$c19std@%char_traits$c%%r12
std
ios_basecd () from /cygdrive/c/Borland/BCC55/Bin/cc3250mt.dll
#1  0x3250b1ec in cc3250mt!@__rwstd@%timepunct$b%@do_monthname$xqio ()
   from /cygdrive/c/Borland/BCC55/Bin/cc3250mt.dll
#2  0x3250f3dd in cc3250mt!@_vcl_GetHeapStatus$qv ()
   from /cygdrive/c/Borland/BCC55/Bin/cc3250mt.dll
#3  0x32523d08 in
cc3250mt!@std@%basic_string$b19std@%char_traits$b%17std@%allo
ator$b%%@assign$qrx60std@%basic_string$b19std@%char_traits$b%17std@%allocato
r$b
% () from /cygdrive/c/Borland/BCC55/Bin/cc3250mt.dll
#4  0x00a19c5d in
vtkCommon!@vtkHeap at CollectRevisions$qr42std@%basic_ostream$c1
std@%char_traits$c%% () from /cygdrive/c/vtk42/bin/vtkCommon.dll
#5  0x00a42162 in vtkCommon!@vtkLocator at IsTypeOf$qpxc ()
   from /cygdrive/c/vtk42/bin/vtkCommon.dll
#6  0x00a420ba in vtkCommon!@vtkLocator at IsA$qpxc ()
   from /cygdrive/c/vtk42/bin/vtkCommon.dll
#7  0x008d9ad7 in vtkCommonPython!_PyVTKClass_vtkTetraNew ()
   from
/cygdrive/c/Python23/lib/site-packages/vtk_python/vtkCommonPython.dll
#8  0x1e05b682 in python23!PyObject_Str ()
   from /cygdrive/c/WINNT/System32/python23.dll

Any ideas where I can go from here?

Regards,
Frank Conradie
Rossland, BC, Canada

----- Original Message -----
From: "Prabhu Ramachandran" <prabhu at aero.iitm.ernet.in>
To: "Frank Conradie" <frank at qfin.net>
Cc: "vtkusers" <vtkusers at www.vtk.org>
Sent: Friday, September 19, 2003 3:21 PM
Subject: Re: [vtkusers] vtk4.2 + Python2.3 + win = works,but repr(<vtk
object>) crashes


> >>>>> "FC" == Frank Conradie <frank at qfin.net> writes:
>
>     FC> Hi Prabhu I did what you suggested, but only got the
>     FC> following:
>
> [snip]
>
>     FC> I guess need to build debug libs, but which ones?
>
> Could you recompile with -O2 -g and recheck if possible?  From what
> I've seen so far others have not run into such a severe problem.
> Personally I'm still using 2.2 so would not know.
>
> cheers,
> prabhu
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list