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

Pau Arumi parumi at iua.upf.edu
Tue Jun 19 08:31:56 PDT 2007


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.

pau




More information about the clam-devel mailing list