fastlib / fCWT

The fast Continuous Wavelet Transform (fCWT) is a library for fast calculation of CWT.
Apache License 2.0
284 stars 55 forks source link

Example Code giving Segmentation Fault #8

Closed amol2891 closed 1 year ago

amol2891 commented 2 years ago

Greetings,

I was able to successfully install the fCWT but the example given on the home page was compiled using

$ g++ -mavx2 -fopenmp -lfCWT ./example.cpp

compilation successful but,

$ ./a.out Segmentation fault (core dumped)

Please help.

fastlib commented 2 years ago

Hi Amol, Can you sent me your code file and what system are you running?

fastlib commented 1 year ago

Probably fixed in current version.

felixdollack commented 1 year ago

I cloned the current version and followed the instructions in the readme to generate a project file for Visual Studio 2022. Running the example on Windows 11 ends with a segfault as well.

It crashes in line 471 of fcwt.cpp main.cpp

Exception thrown at 0x00007FFE24736D78 (fftw3f.dll) in fCWT_example.exe:
0xC0000005: Access violation reading location 0x0000016A00226170.