Author Topic: PI 1.7.0 crashes on imageintegration  (Read 10450 times)

Offline wvandenberghe

  • Newcomer
  • Posts: 27
PI 1.7.0 crashes on imageintegration
« on: 2011 September 28 03:12:03 »
I find it not acceptable that PI 1.7.0 crashes on EVERY try to integrate 28 images of a SBIG STL-11000M.
WSC crashes
LFC crashes

I reinstalled PI , but still the same crashes on image integration

Windows 32 executable.



Wolfgang Van den Berghe
Belgium


Offline wvandenberghe

  • Newcomer
  • Posts: 27
Re: PI 1.7.0 crashes on imageintegration
« Reply #1 on: 2011 September 28 03:42:00 »
further info :

runtime error !
Program:c:\Program files\Pixinsight\bin\Pixinsight.exe

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


It crashed also on average integration.

If this is any help to you?


What should I do , go back to CCDSTACK?

Wolfgang

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PI 1.7.0 crashes on imageintegration
« Reply #2 on: 2011 September 28 04:45:46 »
Hi Wolfgang,

This problem has not been reported before and as far as I know ImageIntegration runs fine on all platforms. However, some time ago we had a problem that was fixed with a quick update. This was several versions ago if I remember well.

Are you using the latest versions of PixInsight Core and the ImageIntegration module? Current public versions are:

- PI Core: 1.7.0.702
- ImageIntegration module: 1.7.0.110

You can verify a module's version by selecting Process > Modules > Manage Modules. Then select the module on the Manage Modules dialog and look for the version in the information given at the bottom.

If you have current versions then we have a bug or something. In such case we'll fix it. Of course you can use the software of your choice but I strongly recommend PixInsight; my opinion may be slightly biased though :)
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline wvandenberghe

  • Newcomer
  • Posts: 27
Re: PI 1.7.0 crashes on imageintegration
« Reply #3 on: 2011 September 28 05:42:30 »
Hi Juan

Thanks for looking into my problem!
The same error is occuring on two different machines.
One laptop HP with Vista pro 32bit where it first occurred.
and also a observatory desktop HP with Win7 pro 32bit where I installed a new instance of PI on to check if this behavior could be replicated, which it did.

In the past versions I cannot recall that we ever had this problem.

Installed  Version : PI for  Win x86 32 bit
Pixinsight standard edition
version 1.07.00.0702 starbuck (eng x86)

Module Id ............ ImageIntegration
Version .............. 01.07.00.0110

I am looking forward for a solution if possible.
It's very frustrating after a night's observing run with great data  to be unable to integrate ones images.

If you would be so kind to investigate further.
Much appreciated

Wolfgang Van den Berghe
www.vstobservatory.net
Belgium

Offline wvandenberghe

  • Newcomer
  • Posts: 27
Re: PI 1.7.0 crashes on imageintegration
« Reply #4 on: 2011 September 28 07:25:07 »
Juan,

some additional info :

crash occurs after the noise evaluation phase when it says integrating rows 0-1045


Wolfgang

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PI 1.7.0 crashes on imageintegration
« Reply #5 on: 2011 September 28 08:47:03 »
Wolfgang,

Since you have everything up to date we know that we have a bug somewhere. I am unable to reproduce this problem on any platform with any of our test data sets, so in order to understand the problem (usually necessary to fix it) I need more information. Two questions:

- Which application have you used to calibrate the data?

- Can you upload a minimal set of images (ideally, three of them) that reproduce the problem consistently? This would be of great help for me to reproduce it on my machines.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline wvandenberghe

  • Newcomer
  • Posts: 27
Re: PI 1.7.0 crashes on imageintegration
« Reply #6 on: 2011 September 28 10:27:36 »
Juan

I calibrated  with bias, dark, flat and registered using  PixInsight 1.7.0.0702

I noted that Memory in use shoots up just before crash in imageIntegration.
see attached file
also in the windows application log , it says : Faulting application PixInsight.exe, version 1.7.0.702, time stamp 0x4e21daaa, faulting module btmmhook.dll, version 6.0.1.4900, time stamp 0x460c1d62, exception code 0x40000015, fault offset 0x0000e54f, process id 0x17d0, application start time 0x01cc7df0ab1c2288.

I did some further testing; only crashes starting at integration with 20 images with Lin Fit Clipping or Winsorized S C.
I would gladly send you some data, but every file is 40MB! I can zip 3 files to about 98MB.
Maybe FTP to your server?

Kind regards

Wolfgang

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PI 1.7.0 crashes on imageintegration
« Reply #7 on: 2011 September 29 01:05:42 »
Hi Wolfgang,

From the information you provide it seems clear that this is a memory related problem. You are using a 32-bit operating system with 3 GB of RAM. The problem is that at some point the ImageIntergation process exhausts all of the memory available to applications. You have basically two options:

1. Use a 64-bit operating system and a 64-bit version of PixInsight on a machine with at least 8 GB of RAM. This is definitely your best option. In my opinion, this is in fact your only option if you want to work seriously with large stacks of relatively big images. All desktop 32-bit operating systems are nowadays obsolete, especially to work with applications like PixInsight.

2. Decrease the value of the buffer size and stack size parameters. If you set buffer size to zero this will integrate row by row with a minimal memory consumption at the cost of a severe performance degradation. If you set stack size to zero you'll save even more memory at the cost of degrading parallel execution. I suggest trying with a buffer size of 4 MB (the default is 16 MB), and lowering it if necessary. Bear in mind that there is a buffer size allocated for each image.

That said, now we have to face the fact that you're getting a crash. A crash is a crash after all :)

Exception code 0x40000015 corresponds to STATUS_FATAL_APP_EXIT. In layman's terms this means that there is an "unknown error" somewhere (isn't it nice when Windows provides us with such helpful information) which has caused the application to terminate in an inelegant way. Note that the module that has raised this exception is btmmhook.dll. This file is not part of PixInsight, neither PixInsight uses it in any way. It is not part of the Windows operating system either. btmmhook.dll is the Multimedia Keys Hook DLL; it is part of a Bluetooth support software created by Broadcom Corporation. See for example:

http://www.exe-dll.com/dll/btmmhook.dll.htm

I don't want to scare you but this file has also been involved in malware threats. You can Google this and you'll find more information. In your case I'd run a thorough virus/spyware scan, just for sanity.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline wvandenberghe

  • Newcomer
  • Posts: 27
Re: PI 1.7.0 crashes on imageintegration
« Reply #8 on: 2011 September 29 02:21:30 »
Hi Juan

Where do I find buffer size and stack size parameters in PixInsight?

The reason I stay with 32 bit is lack of support on 64bit , in my particular case of the ritchey chretien telescope, the TCC (telescope command center).
I could upgrade my laptop however...

I've also seen the info about btmmhook.dll bluetooth software , I run always a  updated virus scanner. I'm also a IT professional (projectleader server infrastructure)

Best regards

Wolfgang

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PI 1.7.0 crashes on imageintegration
« Reply #9 on: 2011 September 29 03:05:04 »
Hi Wolfgang,

Buffer size and stack size are parameters of the ImageIntegration process. Regarding 64-bit support, if the problem is with hardware support (which is a real shame; I would blame the authors of that control software without mercy), then I would consider a different computer for image processing, preferably a powerful desktop workstation, and a dedicated laptop for telescope control. Definitely, a 64-bit environment is necessary to work with memory intensive applications such as PixInsight.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Astrocava

  • PixInsight Addict
  • ***
  • Posts: 180
    • Astrocava.com
Re: PI 1.7.0 crashes on imageintegration
« Reply #10 on: 2011 October 04 05:54:10 »
Hi, same problem here.

Is strange: last week I was able to integrate about 30 shots and today I couldn't integrate 24. PI reads all the images, evaluates noise and when starting to integrate, PI crashes without any warning. No windows error either.

I have the same computer and I haven't installed anything lately.  I think is a bug in PI (or that's I want) :-\.

Have fun!

Sergio

Microsoft Windows XP Profesional v 2002 SP3
Intel Core2 6400@2.13GHz
3.12GB RAM
Moonfish ED80 over a Meade LX200GPS 8"

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: PI 1.7.0 crashes on imageintegration
« Reply #11 on: 2011 October 04 10:38:34 »
Probably the same problem as before: A 32 bit OS. Recommendation: Upgrade to 64bits (e.g. Win7-x64).

The fact that it does not crash on the first try and does crash on another is probably also due to the memory problems.

Georg
 
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: PI 1.7.0 crashes on imageintegration
« Reply #12 on: 2011 October 04 11:58:40 »
If you don't feel like upgrading to a 64b OS just yet (but you should) then I recommend stacking with DeepSkyStacker. It's a 32b app and provided you do not use dithering on large images it will deal with arbitrary stack sizes just fine.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Astrocava

  • PixInsight Addict
  • ***
  • Posts: 180
    • Astrocava.com
Re: PI 1.7.0 crashes on imageintegration
« Reply #13 on: 2011 October 04 15:35:06 »
If you don't feel like upgrading to a 64b OS just yet (but you should) then I recommend stacking with DeepSkyStacker. It's a 32b app and provided you do not use dithering on large images it will deal with arbitrary stack sizes just fine.

DSS is not an option, PI works a lot better with my images.

Probably the same problem as before: A 32 bit OS. Recommendation: Upgrade to 64bits (e.g. Win7-x64).

The fact that it does not crash on the first try and does crash on another is probably also due to the memory problems.

Georg

I have been working without problems since november 2010 with ImageIntegration. Why start to fail now?  Upgrading to 64bits is not an option for now.
Moonfish ED80 over a Meade LX200GPS 8"

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: PI 1.7.0 crashes on imageintegration
« Reply #14 on: 2011 October 04 16:36:17 »
Hola Sergio, es extraño que el programa se cierre, en mi caso solo aparece el cartel de "Out of Memory". También trabajo con 32 bit y 2 GB.

En general trato de tener bien desfragmentados los discos y cuando tengo más de 10 imágenes el buffer size lo pongo en cero. Con esta configuración he logrado integrar hasta 30 imágenes de Canon 5D.
En Preferences> Directores and Network tengo seteado que trabaje con los tres discos físicos que tengo disponibles.

Saludos. Alejandro.