Author Topic: a severe bug with previews memory management  (Read 6783 times)

Offline enzosantin

  • Member
  • *
  • Posts: 59
    • http://www.enzosantin-astro.com
a severe bug with previews memory management
« on: 2007 January 12 02:53:35 »
Making a preview (new preview mode) on a opened image and then aptenting to close the image with the preview, an expception occours: "PCL Win32 System Exception: access violation: invalid memory read operation at address ..... ..... ". Clicking ok, the system work ok. But if I delete the preview, PI hang up and I must terminate it with task manager. ciao,

Enzo

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
a severe bug with previews memory management
« Reply #1 on: 2007 January 12 03:33:13 »
Buon giorno Enzo,

This is a regression in build 237. It is nothing important and will be fixed today; I'll let you know when I upload a new version.

The problem is in a new improved memory management routine that we have implemented in this build. Sometimes we improve something and break other things... just as in the real life :D

Thank you for alerting us about this. I appreciate your help very much.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
a severe bug with previews memory management
« Reply #2 on: 2007 January 14 03:50:37 »
Hi Enzo and all users,

I have just uploaded a transitional version that fixes this problem and a total of 18 bugs more. Here is a direct link to the updated installation package:

http://pleiades-astrophoto.com/export/PI32-win-01.00.08.238rc2-sfx-20070114.exe

The main bugs fixed are:

    A problem with the new memory manager when deleting previews. This included the direct deletion of one or more previews, closing an image with some previews defined, and navigating the processing history of an image when one or more history items involved the creation/deletion of previews.

    A problem with the PixelMath process, which was leaving the target image locked for writing when an error happened during compilation of a PixelMath expression.

    A potentially dangerous problem in geometric processes that change the dimensions of the image (Resample, IntegerResample, Rotate, DynamicCrop, etc).

    An error in the core FFT algorithms that was causing problems with the JavaScript Image.FFT() and Image.inverseFFT() methods.


Thank you for your patience and continued support.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline enzosantin

  • Member
  • *
  • Posts: 59
    • http://www.enzosantin-astro.com
a severe bug with previews memory management
« Reply #3 on: 2007 January 14 07:13:45 »
Juan,
thank you for the quick upload! I'll let you know if new version work ok.
Ciao,

Enzo