[Clam-devel] Last commits: two API changes - Prototyper seg fault

Pau Arumi parumi at iua.upf.edu
Tue Jun 19 08:45:13 PDT 2007


En/na Pau Arumi ha escrit:
> En/na Hernán Ordiales ha escrit:
>> good, now seems solved (is compiling here too) but i still get a
>> segmentation fault with prototyper (last week was working)
>>
>> Backend 'jack' selected.
>> ##########################################################
>> ######################## WARNING #########################
>> ##########################################################
>> At file /usr/include/CLAM/Factory.hxx line 325
>> WARNING. While adding a creator method in the factory, id
>> 'ControlSurface' was already registered.
>> Fallo de segmentación (core dumped)
>>
> 
> 
> This bug is related with the one found on Windows (almost no
> processing working in NE).
> It seems that the Factory<Processing>::GetInstance() singleton is
> _not unique_, and this is because GetInstance is defined in a
> header used in different clamlibs and apps.
> 
> Today David and me have been working with a solution for that,
> which also goes in the "enriched processing factories" direction
> (related with Andreas project).
> 
> Will commit very soon.
> 

Done!

(Hopefully this fixes Windows. We'll find out soon...)

revision 10256

  * very large commit of all processings: Processing registration 
API changed
  * New ProcessingFactory subclass with GetInstance() implemented 
in it's cxx.
    this will hopefully fix a Windows bug
  * With this change, Registrator cannot be a Factory inner class.
    Now is a 2 arg template class: FactoryRegistrator<FactoryType, 
ConcreteType>




More information about the clam-devel mailing list