new error : Segmentation fault - invalid memory reference

Forums

the new version runs well for the downloaded US4000 data. but for the downloaded K2 data, error again, see below:

***********************************************************************************
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x7FFAA32457D7
#1 0x7FFAA3245DDE
#2 0x7FFAA2B97D3F
#3 0x404D7A in calcfx_
#4 0x4053BC in va04a_
#5 0x40B9B4 in fit_counting_nps_
#6 0x4193BA in MAIN__ at finddqe.f:?
./US4002.com: line 8: 705 Segmentation fault (core dumped) finddqe.exe > 50e.log <

I am sorry, I inadvertently introduced another bug when I changed to using the faster FFT routines. I have posted another update. Please download it and try it on the K2 data. I hope that this will work now. Thanks for testing!

In reply to by niko

HI, after I update the program, K2 data can run to the end and give right DQE curve.

But for my own data collected from my EM and CCD, it cannot work, it still have the "Segmentation fault" problem. My CCD is Gatan Ultrascan, just same to your US4000. and the image size is same to US4000:4096 pixel.

*************************************************************
Program received signal 11 (SIGSEGV): Segmentation fault.
./50e.com: line 24: 13149 Segmentation fault finddqe.exe > 50e.log <

In reply to by Kunpeng

I think I was able to track down the bug. It seemed to have been related to some compiler optimization problem. The software now works with our K2 and US4000 images, as well as your US4000 image. Please give it another go (the new version is available on the download page).