1.7.0 Win7 x64, the same crash as reported by David Rafael, same line #228
run --execute-mode=auto "C:/Program Files/PixInsight/src/scripts/masked-stretch.js"
Processing script file: C:/Program Files/PixInsight/src/scripts/masked-stretch.js
RGBWorkingSpace: Processing view: M51x61_Intl_20Jun2010_Sig30_L_HistCut
0.00603 s
Calculating the MTF value:
*** Error [000]: C:/Program Files/PixInsight/src/scripts/masked-stretch.js, line 228: Error: At address 000000013FE54DA7 with exception code C0000005 :
Access violation: invalid memory write operation at address 000000006AC5F5F8
Thanks!