Situation: After the program runs, it reports an error “No source available”, 0xC0000005: Access conflict occurs when reading location 0xFFFFFFFFFFFFFFFF, etc. There is no problem with compiling and generating.
Background: The QT project under VS uses the FFTW3 library;
Error report:
An error is reported after exiting the operation
Or: 0xC0000005: Access violation occurred when reading location 0xFFFFFFFFFFFFFFFF, etc.
Causes and solutions:
Check the code, it is usually a problem of new and free, my problem here is in two places;
Problem 1:

Test_ini_phase[] is used in the function, but there is no new out in advance, and an error is reported;
1. Solution: Just apply for variable memory;

Problem 2:
All the variables used have been new, and there is a problem in the final release, and the same error is reported;

2. Solution:
Since wide_temp is only declared, it is not used, and there is no new out, but the same release processing is done when it is released, so an error is reported; just comment it out.
Summary: When there are too many variables, declare one, new one, release one, and achieve one-to-one correspondence.