[IGSTK-Developers] igstkAxesObject
Julien Jomier
jjomier at cs.unc.edu
Wed Jan 25 12:00:29 EST 2006
Hi David,
Yes I saw that but didn't have time to investigate this more. I think we
cannot modify the color of the vtkAxesActor and that is the problem.
For the moment I've disabled the test for SetProperty(). I'll try to
investigate more this week unless someone wants to give it a try.
thanks,
Julien
David Gobbi wrote:
> I just ran gdb on the AxesObject class and it seems to be failing in
> vtkInformationVector (from VTK cvs):
>
> Here's the listing of vtkInformationVector, segfault ocurs on line 157:
>
> 155 vtkInformation* vtkInformationVector::GetInformationObject(int
> index)
> 156 {
> 157 if(index >= 0 && index < this->NumberOfInformationObjects)
> 158 {
> 159 return this->Internal->Vector[index];
> 160 }
> 161 return 0;
>
> According to gdb, "this" (the InformationVector) has a bad address. I
> don't think the bug is
> in VTK, of course, the bug is most likely in the AxesObject. I suspect
> that the data from
> a vtkCylinderSource is being used before it is initialized.
>
> Here's the full stack trace from gdb:
>
> #0 0xb6ce3d4d in vtkInformationVector::GetInformationObject
> (this=0x60000000,
> index=0)
> at /beck/data/dgobbi/VTK/VTKcvs/Filtering/vtkInformationVector.cxx:157
> #1 0xb76f172a in vtkCylinderSource::RequestData (this=0x960ac18,
> outputVector=0x60000000)
> at /beck/data/dgobbi/VTK/VTKcvs/Graphics/vtkCylinderSource.cxx:48
> #2 0xb7c47cb5 in vtkProperty::SetColor (this=0x960ac18,
> R=0.89999997615814209, G=0.69999998807907104, B=0.10000000149011612)
> at /beck/data/dgobbi/VTK/VTKcvs/Rendering/vtkProperty.cxx:156
> #3 0x0836d372 in igstk::ObjectRepresentation::SetColor (this=0x9606d18,
> r=0.899999976, g=0.699999988, b=0.100000001)
> at
> /beck/data/dgobbi/IGSTK/Dashboard/Sandboxbin/SourceLatest/igstkObjectRepresentation.cxx:142
>
> #4 0x08230a99 in igstkAxesObjectTest ()
> at
> /beck/data/dgobbi/IGSTK/Dashboard/Sandbox/Testing/igstkAxesObjectTest.cxx:185
>
> #5 0x081ac7c1 in main (ac=1, av=0xbfa65034) at itkTestMain.h:130
>
>
> Patrick Cheng wrote:
>
>> Hi Julien,
>>
>> This test is failing with segfault, could you please take a look at
>> this class.
>>
>> Patrick
>> _______________________________________________
>> IGSTK-Developers mailing list
>> IGSTK-Developers at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
>>
>
> _______________________________________________
> IGSTK-Developers mailing list
> IGSTK-Developers at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
>
More information about the IGSTK-Developers
mailing list