• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
vDSP_destroy_fftsetupD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vDSP_destroy_fftsetupD


  • Subject: vDSP_destroy_fftsetupD
  • From: Antoine Missout <email@hidden>
  • Date: Tue, 4 Oct 2005 12:47:15 -0400

While testing my app, I found a bit of a problem with this function. I've narrowed down the problem to its most simple form. Only seems to happen with vDSP_destroy_fftsetupD, not vDSP_destroy_fftsetup.

Thought I'd also post this to coreaudio as fft is often used in audio processing.

Any work around, short of leaking memory or reverse engineer the structure and free it myself ?

Thanks,
Antoine


kaboum:~/test makira$ cat test.c #include <vecLib/vDSP.h>

int main(int argc, char **argv)
{
        FFTSetupD s = vDSP_create_fftsetupD(8, kFFTRadix2);

        if (!s) return 1;

        vDSP_destroy_fftsetupD(s);

        return 0;
}

kaboum:~/test makira$ gcc -g test.c -framework Accelerate -o test
kaboum:~/test makira$ gdb test
GNU gdb 6.1-20040303 (Apple version gdb-413) (Wed May 18 10:17:02 GMT 2005)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-apple-darwin"...Reading symbols for shared libraries .... done


(gdb) set env DYLD_INSERT_LIBRARIES /usr/lib/libMallocDebug.A.dylib
(gdb) r
Starting program: /Users/makira/test/test
libMallocDebug[bash-27624]: initializing libMallocDebug on thread d03
Reading symbols for shared libraries ....... done
Reading symbols for shared libraries . done
libMallocDebug[test-27624]: initializing libMallocDebug on thread 80b

Program received signal SIGSEGV, Segmentation fault.
0x91e499ac in FreeConstants ()
(gdb) bt
#0 0x91e499ac in FreeConstants ()
#1 0x91e49ab8 in vDSP_FFT_CDDestroySetup ()
#2 0x00002cd8 in main (argc=1, argv=0xbffff970) at test.c:9
(gdb) _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: UTI for aupreset files
  • Next by Date: GetAudioChannelLayout implementation
  • Previous by thread: UTI for aupreset files
  • Next by thread: GetAudioChannelLayout implementation
  • Index(es):
    • Date
    • Thread