[Clam-devel] segfault in TestFFT
David García Garzón
dgarcia at iua.upf.edu
Thu May 24 08:17:22 PDT 2007
It was just that ooura and numrec implementations were not registered on the
Factory. I registered them and I changed the creation to use CreateSafe so
that a proper exception is generated. Update your repository. TestFarm is
green since 16:49:48 (Barcelona time) :-)
Anyway 'Create' should have thrown an assert. Instead it just continued
running. I don't know why.
On Thursday 24 May 2007 17:15:18 Pau Arumi wrote:
> David, do you have any idea why functional tests in linux (see
> testfarm) are broken?
>
> It segfaults at TestFFT.cxx line 84 (copied below) while deleting
> a factory created processing. Debugging I saw that the pointer
> value was 0x10. But no idea why this happens...
>
>
> void setUp()
> {
> mProcessing =
> (CLAM::FFT_base*)CLAM::Factory<CLAM::Processing>::GetInstance().Create(getP
>rocessing()); }
>
> void tearDown()
> {
> delete mProcessing;
> }
>
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
More information about the clam-devel
mailing list