error message: invalid next size

Forums

When I run the software FindDQE.exe, but some error message like this:

*** Error in `finddqe.exe': free(): invalid next size (normal): 0x0000000002260d20 ***

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0 0x7EFC425827D7
#1 0x7EFC42582DDE
#2 0x7EFC41ED4D3F
#3 0x7EFC41ED4CC9
#4 0x7EFC41ED80D7
#5 0x7EFC41F11393
#6 0x7EFC41F1D66D
#7 0x414C61 in MAIN__ at finddqe.f:?
Aborted (core dumped)
************************************

somebody said it just because my small buffer in my terminal, is that right?

It is not entirely clear what this error message means but could it be that you were running out of memory on the machine you ran FindDQE on? The long run time suggests that it might have used the swap file on the disk. Please check if you have sufficient memory to run the program.

In reply to by niko

Hi Niko,

I use top to monitor the program. finddqe only use 4.8% of the memory.

KiB Mem: 12298404 total, 11013660 used, 1284744 free, 423932 buffers
KiB Swap: 23437308 total, 0 used, 23437308 free. 7677044 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
20638 li2182 20 0 1547292 586516 1184 R 100.0 4.8 1:57.18 finddqe.exe

even though the error message, the FindDQE can run to the end. but the DQE vlaue too small

Reading in image

 DMIN,DMAX,DMEAN=  -551.000000       3360.00000       229.641342    

  Determining image threshold

 Threshold =    129.897827    
 N, DMEAN, DRMS inside pointer  =       766339   20.1261520       15.2631826    
 N, DMEAN, DRMS outside pointer =     16010877   239.669510       27.4540863    
 Gain conversion factor (counts/e) =     3.52455163    

  Thresholding image
  Removing single pixel outliers

 Number of pixel outliers =           65

  Generating smooth-edged mask for NPS calculation
  Tapering edges of image
  Applying mask to background
  Calculating noise power spectrum
  Calculating rotational average
  Fitting noise spectrum with splines

 Number of knots in spline =         100
 Chi2                      =   52855.5273    
  
  Determining MTF from edge blurring using 5-Gaussian model

   Coeff-1   Width-1   Coeff-2   Width-2   Coeff-3   Width-3   Coeff-4   Width-4   Coeff-5   Width-5   NormRMS
   0.20000  10.00000   0.20000   8.00000   0.20000   6.00000   0.20000   4.00000   0.20000   2.00000   0.13120
 ...
  5.60423  27.94098   5.08613  28.73280   1.52901  27.75224   1.05875   0.00580   0.18583   0.02086   0.12206

 Final values:

   Coeff-1   Width-1   Coeff-2   Width-2   Coeff-3   Width-3   Coeff-4   Width-4   Coeff-5   Width-5   NormRMS
   5.69230  28.00838   5.09511  28.78434   1.54306  27.76470   1.06888   0.00585   0.18785   0.02980   0.12206

Opening MRC/CCP4 file for WRITE...
 File      : 17e-res.mrc
 NX, NY, NZ:   1280  1280     1
 MODE      : real

 RMS of noise adjusted for the MTF =    545.621399    

 DQE(0) =    2.83748703E-03

 Frequency       MTF       NPS   NPS-Fit       DQE
  0.000000  1.000000  2.000000  1.000000  0.002837
  0.000488  0.999957  2.000000  0.848578  0.003344
  0.000977  0.999826  2.000000  0.714338  0.003971
  0.001465  0.999609  2.000000  0.596169  0.004756
  ...
  0.499512  0.083290  0.003079  0.003120  0.006310
  0.500000  0.083272  0.003124  0.003113  0.006320
  0.500488  0.083255  0.003008  0.003107  0.006330
  ...
  0.999023  0.058938  0.000779  0.000770  0.012809
  0.999512  0.058909  0.000806  0.000769  0.012807
  1.000000  0.058881  0.000791  0.000768  0.012804

my CCD is the same type US4000, same to yours. my dose is 22.8e/pixel.

what else I need to pay attention?