[vtk-developers] BUG: vtkObjectFactory::UnRegisterFactory
Bill Hoffman
bill.hoffman at kitware.com
Thu Oct 17 08:08:07 EDT 2002
Thanks for the report, I will fix the bug.
-Bill
At 04:22 PM 10/16/2002 -0600, Moreland, Kenneth wrote:
>There appears to be a bug in a loop in vtkObjectFactory::UnRegisterFactory
>with a loop starting on line 424:
>
> int index = 0;
> while((factory =
> vtkObjectFactory::RegisteredFactories->GetNextItem()))
> {
> libs[index] = factory->LibraryHandle;
> }
>
>Notice that index is not getting incremented. A loop lower in the code has
>a tendency to seg fault when the number of registered factories is greater
>than 1.
>
>-Ken
>
> **** Kenneth Moreland
> *** Sandia National Laboratories
>***********
>*** *** *** email: kmorel at sandia.gov
>** *** ** phone: (505) 844-8919
> *** fax: (505) 844-9297
More information about the vtk-developers
mailing list