Author Topic: Access Violation with Automatic Background Extraction  (Read 4924 times)

Offline wboeck

  • Newcomer
  • Posts: 12
Access Violation with Automatic Background Extraction
« on: 2015 August 25 18:56:41 »
I am having problems with Automatic Background Extraction. I am using windows 7- 64 bit with the latest version of PixInsight. I keep getting an access violation when using ABE. It used to work with older versions of PI.

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: Access Violation with Automatic Background Extraction
« Reply #1 on: 2015 August 26 11:28:33 »
Just to try one thing: could you add a pedestal to you image, and see if this happens again?
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline wboeck

  • Newcomer
  • Posts: 12
Re: Access Violation with Automatic Background Extraction
« Reply #2 on: 2015 August 26 12:45:49 »
I have never added a pedestal before.  I use Batch preprocessing for my images. Do I add a pedestal in BPP?

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Access Violation with Automatic Background Extraction
« Reply #3 on: 2015 August 27 16:53:19 »
If you want to help me diagnose and fix these problems, please try the following:

1. Download the following zip file:

https://pixinsight.com/update-test/20150827-corelibs.zip

2. Uncompress it on any folder.

3. Copy all files extracted in step 2 to the following folder, replacing existing files and folders:

C:\Program Files\PixInsight\bin

You'll need administrative rights to do this. If you have installed on a nonstandard location, change "C:\Program Files\" as appropriate.

Let me know if this patch fixes all of these issues with version 1.8.4 on Windows.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline wboeck

  • Newcomer
  • Posts: 12
Re: Access Violation with Automatic Background Extraction
« Reply #4 on: 2015 August 27 18:28:48 »
Thanks. . I will try this tomorrow night

Wayne

Offline wboeck

  • Newcomer
  • Posts: 12
Re: Access Violation with Automatic Background Extraction
« Reply #5 on: 2015 August 29 08:28:28 »
I installed the patch and it still gives the same access violation error. I also added a pedestal and I still get the same error.

Wayne

Offline wboeck

  • Newcomer
  • Posts: 12
Re: Access Violation with Automatic Background Extraction
« Reply #6 on: 2015 August 29 08:56:38 »
I tried the PI version 1.08.03.1123 (x64) on my Laptop without adding a pedestal and Automatic Background Extraction worked. The version on my desktop is 1.08.04.1171 (x64)

Offline Philippe B.

  • PixInsight Old Hand
  • ****
  • Posts: 399
    • CIEL AUSTRAL
Re: Access Violation with Automatic Background Extraction
« Reply #7 on: 2015 September 01 00:45:50 »

No access violation here but I saw a problem where a new result image was not displayed when I select target image correction with normalize and discard background model

The new version of the DLL has corrected this problem

Offline wboeck

  • Newcomer
  • Posts: 12
Re: Access Violation with Automatic Background Extraction
« Reply #8 on: 2015 September 01 04:56:36 »
I uninstalled 1.8.4 and reinstalled 1.8.3 Everything is working again.  I will wait for awhile before trying the update.

Offline jdupton

  • Newcomer
  • Posts: 19
Re: Access Violation with Automatic Background Extraction
« Reply #9 on: 2015 September 01 09:12:55 »
Juan & Wayne,

   I hit this problem for the first time today. I am running 1171 on a Win 8 system with 32GB of memory.

   I have not hit this issue before on 1171 and so did some backtracking to find out why it started happening. The answer for me is that it has to do with the XISF format. After getting an image integration, I saved the image file as both FIT and XISF formats. I closed all other copies of the image and reopened the FIT version. ABE worked fine on the FIT formatted image. I then closed that and opened up the XISF version of the same imahe. ABE consistently throws the "PCL Win32 System Exception" when working with the XISF formatted image. I also played with STF settings to see if it mattered whether STF data was saved with the image. I found no correlation between the STF settings and the ABE exception.

   For me, the work-around is to use FIT format for some operations and convert back and forth as desired to avoid the problem.

   Hopefully, this will help track down the root cause for the bug...


John

Offline wboeck

  • Newcomer
  • Posts: 12
Re: Access Violation with Automatic Background Extraction
« Reply #10 on: 2015 September 02 04:05:50 »
Thanks for the help. I have already reinstalled 1.8.3.  I will wait for more updates before I try it again.

Thanks
Wayne

Offline danoid

  • Newcomer
  • Posts: 10
Re: Access Violation with Automatic Background Extraction
« Reply #11 on: 2015 September 23 18:04:47 »
Ditto - saving the file as a .fit and reloading the .fit and ABE works without system violations.

Offline wboeck

  • Newcomer
  • Posts: 12
Re: Access Violation with Automatic Background Extraction
« Reply #12 on: 2015 September 23 18:37:30 »
Thanks Dan
I may give the new version another try but this should be fixed. Also, I lost all of my process favorites but the reappeared when I reinstalled the previous version.

Wayne