Author Topic: Masked Stretch fails on 1.7  (Read 4729 times)

Offline David Raphael

  • PixInsight Addict
  • ***
  • Posts: 226
    • Astrofactors CCD Cameras
Masked Stretch fails on 1.7
« on: 2011 May 30 18:17:06 »
Code: [Select]
run --execute-mode=auto "C:/PCL64/src/scripts/masked-stretch.js"

Processing script file: C:/PCL64/src/scripts/masked-stretch.js

RGBWorkingSpace: Processing view: NGC4438_combined_2_DBE
0.00901 s
Calculating the MTF value:
*** Error [000]: C:/PCL64/src/scripts/masked-stretch.js, line 228: Error: At address 000000013FCA4DA7 with exception code C0000005 :
Access violation: invalid memory write operation at address 000000005E14004C
David Raphael

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Masked Stretch fails on 1.7
« Reply #1 on: 2011 May 31 02:13:38 »
It fails for me too.
Code: [Select]
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: NGC2903_L_Light_004
0.0120 s
Calculating the MTF value:
MTF=0.70000 median=0.00000
MTF=0.58253 median=0.00001
MTF=0.53406 median=0.00427
MTF=0.51435 median=0.04384
MTF=0.50754 median=0.09410
MTF=0.50577 median=0.11386
MTF=0.50538 median=0.11869
MTF=0.50529 median=0.11973
MTF=0.50528 median=0.11994
Using MTF of 0.5053.

HistogramTransformation: Processing view: NGC2903_L_Light_004
Writing swap files...
20.67 MB/s
Processing gray channel: LUT-based histogram transformation: 100%
0.0320 s
MST_luma2: Masking from swap files...
*** Error [000]: C:/Program Files/PixInsight/src/scripts/masked-stretch.js, line 250: Error: At address 01367203 with exception code C0000005 :
Access violation: invalid memory read operation at address 00001F04

I think it is an error in the new Javascript engine, since a "Access violation" error should never appear in a Javascript program.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Masked Stretch fails on 1.7
« Reply #2 on: 2011 May 31 02:53:17 »
Again, another 'version' of this bug. I am working to fix it ASAP.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Yuriy Toropin

  • PixInsight Addict
  • ***
  • Posts: 209
Re: Masked Stretch fails on 1.7
« Reply #3 on: 2011 May 31 02:54:32 »
1.7.0 Win7 x64, the same crash as reported by David Rafael, same line #228

Code: [Select]
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!

Offline martin_magnan

  • Member
  • *
  • Posts: 68
    • Messager Céleste
Re: Masked Stretch fails on 1.7
« Reply #4 on: 2011 May 31 05:46:11 »
I have no problem so far with Masked Strecth on Mac OS X 64 bits

Martin
TEC140 / AP1200GTO / QSI583wsg - Astrodon LRGB 2 filters / Lodestar X2 Guider / Robofocus
http://www.messagerceleste.com

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Masked Stretch fails on 1.7
« Reply #5 on: 2011 May 31 06:43:00 »
I have no problem so far with Masked Strecth on Mac OS X 64 bits
This appears to be a Windows Visual Studio 10 only compiler problem. So Linuxes and MacOS X should not be affected.
Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
(FIXED) Masked Stretch fails on 1.7
« Reply #6 on: 2011 June 01 00:23:56 »
Hi,

This bug has been fixed in PixInsight Core 1.7.0.696. The new version is now available as a regular update for Windows x86 and x64.

Thanks for your patience!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/