Author Topic: New Version Crashing  (Read 8064 times)

Offline jerryyyyy

  • PixInsight Old Hand
  • ****
  • Posts: 425
    • Astrobin Images
Re: New Version Crashing
« Reply #15 on: 2019 January 09 09:13:42 »
Once more with a different error:

Unhandled exception at 0x00000019561FEA30 in PixInsight.exe: 0xC0000005: Access violation executing location 0x00000019561FEA30. occurred

Full output attached:
Takahashi 180ED
Astrophysics Mach1
SBIG STT-8300M and Nikon D800
PixInsight Maxim DL 6 CCDComander TheSkyX FocusMax

Offline ueberlaeufer

  • Newcomer
  • Posts: 4
Re: New Version Crashing
« Reply #16 on: 2019 January 09 11:47:26 »
Here is another error message, which produces no crash but is anoying:
Copy from the console:

DynamicBackgroundExtraction: Processing view: IC434_RGB_registered
Writing swap files...
92.912 MiB/s
*** PixInsight API Error: CreateImageWindow(): Low-level API function error (0x0001): Unknown error
Reading swap files...
918.538 MiB/s
<* failed *>

This error occurs here and then. This one was after several times applying DBE. Running DBE a second time produces normal output.

Windows10 1803.

-Erich

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: New Version Crashing
« Reply #17 on: 2019 January 09 12:15:28 »
Quote
*** PixInsight API Error: CreateImageWindow(): Low-level API function error (0x0001): Unknown error

This is not reproducible on any of our working and testing machines. Can you please provide a data set and a sequence of operations to reproduce this problem?
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: New Version Crashing
« Reply #18 on: 2019 January 09 12:53:12 »
Once more with a different error:

Unhandled exception at 0x00000019561FEA30 in PixInsight.exe: 0xC0000005: Access violation executing location 0x00000019561FEA30. occurred

Full output attached:

From the report you have attached, I can see several sources of potential problems. One of them is Acronis True Image Shell Extensions. I know you have these extensions installed because the file 'C:\Program Files (x86)\Acronis\TrueImageHome\tishell64.dll' has been loaded. I would uninstall this utility.

Another thing that may cause problems is 'C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll'. This is part of Microsoft Tablet PC Component. There is a known problem with Ink support in Qt 5.12.0:

https://bugreports.qt.io/browse/QTBUG-72078

This should be fixed with Qt 5.12.1, which I'll include in a new version of PixInsight as soon as possible. However, I doubt this can be causing the kind of problems you are experiencing.

The files under the 'k127370.inf_amd64_40f42c925df30890' folder are the Intel graphics drivers. They are most likely causing all of these problems on your machine. You could try the following:

- Define the following environment variable:

   QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu

- Execute PixInsight from a command line as follows:

   C:\Program Files\PixInsight\bin\PixInsight.exe --opengl=software

Let's see if this solves these problems on your machine.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: New Version Crashing
« Reply #19 on: 2019 January 09 12:55:07 »
Another possibility is:

   C:\Program Files\PixInsight\bin\PixInsight.exe --opengl=raster

if the above 'software' option doesn't help.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline ueberlaeufer

  • Newcomer
  • Posts: 4
Re: New Version Crashing
« Reply #20 on: 2019 January 09 13:06:51 »
Quote
*** PixInsight API Error: CreateImageWindow(): Low-level API function error (0x0001): Unknown error

This is not reproducible on any of our working and testing machines. Can you please provide a data set and a sequence of operations to reproduce this problem?
This is one of these "sometimes" error, which are really difficult to reproduce. I will try to reproduce and provide the data, if possible.

In the meantime I worked with the same instance after my error and after a while I got another error message, when I wanted to switch the workspaces:

PCL Win32 System Exception
At address 00007FFE887A8013 with exception code C0000005 :
Access violation: invalid memory read operation at address FFFFFFFFFFFFFFFF

I have my temp directory still at a system temp dir. But I don't think that this is the root cause (hopefully not my hardware).

Offline jerryyyyy

  • PixInsight Old Hand
  • ****
  • Posts: 425
    • Astrobin Images
Re: New Version Crashing
« Reply #21 on: 2019 January 10 10:56:54 »
Thanks for the ideas.  I have updated Acronis and turned off the real-time protection.  That is the easiest starting point. 

The drivers etc. all worked with the prior version (nothing changed). 

Unfortunately, I have to use Acronis as it does make a usable disk image.  This is a difficult problem as Windows 10 has serious degraded Windows 7 Backup and Restore so that it is no longer reliable.  Also, you have to turn off Bitlocker to make the image.  All this is a pain but otherwise I have no way to reconstitute a system other than rebuild from scratch. 

If you hear nothing, it was Acronis. 
Takahashi 180ED
Astrophysics Mach1
SBIG STT-8300M and Nikon D800
PixInsight Maxim DL 6 CCDComander TheSkyX FocusMax

Offline ueberlaeufer

  • Newcomer
  • Posts: 4
Re: New Version Crashing
« Reply #22 on: 2019 January 11 00:07:13 »
Quote
*** PixInsight API Error: CreateImageWindow(): Low-level API function error (0x0001): Unknown error

This is not reproducible on any of our working and testing machines. Can you please provide a data set and a sequence of operations to reproduce this problem?

I tried to set up an environment, where the errors can be reproduced.
First I changed the temp dir to a separate location to get rid of possible system interference. I took one file, did a dynamic crop, repeated several (about 20 ( more than I usual would do ;-))) runs of DBE and performed a PCC. After that I opened the same file from disk (via drag and drop) again and got an access violation error. PixInsight closed after confirmation (click OK or so) at the error window.
I tried to repeat this error after a next start. It was not exactly repeatable, so I played a little bit with the data but I got another access violation.
A common pattern seems to be that it appears with disk I/O (opening files, writing/reading swap files). Even if I had a problem with my SSD, I would expect that the software can catch errors caused by invalid data.
For really clean tests I would need to restart the computer all the time before starting PI, but I also use it for "real" work in parallel.
Nevertheless I will play around with it to get reproducible results (but I am not a software tester).
On the good side I learned something about the parameters in DBE, as I also tried to play with them to see, if I find a pattern there.

-Erich

Offline jerryyyyy

  • PixInsight Old Hand
  • ****
  • Posts: 425
    • Astrobin Images
Re: New Version Crashing
« Reply #23 on: 2019 January 13 08:05:40 »
Well, maybe there are fewer crashes with Acronis turned off but I also get this low level error.  Had it three times this am.  I'll go over the options but seems like someone else has similar problems.

I am not experienced with windows scripting but when I run:

QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu

In the CMD window as admin or in powershell I get command unrecognized.  I tried it with single quotes.  Am I supposed to use a SET command?  I tried that and got no error in powerscript.  I could then execute:

C:\'Program Files'\PixInsight\bin\PixInsight.exe --opengl=software

with single quotes in Powershell; will see how that goes; will also have to recall how to make this a .bat script... not .txt

I have a:
Xeon E3-1505M Processor
NVIDIA Quadro M1000M and
Intel HD Graphics P530

PS  I get what you are trying to do here.  I used to program in OpenGL and so you are trying to disable the hardware acceleration for QT and just do the rendering in software.  OK, but does that flag disable hardware acceleration for all software? 
« Last Edit: 2019 January 14 08:36:11 by jerryyyyy »
Takahashi 180ED
Astrophysics Mach1
SBIG STT-8300M and Nikon D800
PixInsight Maxim DL 6 CCDComander TheSkyX FocusMax

Offline dcarr

  • Newcomer
  • Posts: 20
Re: New Version Crashing
« Reply #24 on: 2019 January 15 20:02:59 »
Hello,

Not sure that this will help, but …

I too seem to be having the same problems on my HP Envy laptop running Windows 10.  No issues on my desktop.

The most common error messages are shown below.  When executing my long-running scripts repeatedly on the same data, the errors occur at random / different times. Running short-duration scripts may not demonstrate the problem.

When examining the Windows Event Viewer, at least one problem does appear to relate to QT.  [Post edited, correction]. See log entry below. 

For the time being, I am constrained to using only my Desktop for image processing.  (Only an issue when I am away from home).

Regards
Dean

Reading image:
….
Loading image: w=3876 h=2883 n=1 Gray Float32
<* failed *>
*** PCL Win32 System Exception: At address 00007FFC71435470 with exception code C0000005 :
Access violation: invalid memory read operation at address 0000000000000008


StarMask: Processing view: TargetImage
Computing intensity component: done
Extracting structures: done
*** PixInsight API Error: CreateImageWindow(): Low-level API function error (0x0001): Unknown error
<* failed *>

Event Viewer Entry (one of many)
Faulting application name: PixInsight.exe, version: 1.8.6.1448, time stamp: 0x5c1aa96b
Faulting module name: Qt5Core.dll, version: 5.12.0.0, time stamp: 0x5c0ffefb
Exception code: 0xc0000409
Fault offset: 0x0000000000028aa8
Faulting process id: 0x1b70
Faulting application start time: 0x01d4ad1f7c05a28b
Faulting application path: C:\Program Files\PixInsight\bin\PixInsight.exe
Faulting module path: C:\Program Files\PixInsight\bin\Qt5Core.dll
Report Id: a2fb8743-0374-46a7-8e9c-ee6e7b9df3c6
Faulting package full name:
Faulting package-relative application ID:
« Last Edit: 2019 January 17 12:00:19 by dcarr »

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: New Version Crashing
« Reply #25 on: 2019 January 15 22:43:33 »
Dean

Just to keep things correct, QT is not QuickTime.
https://en.wikipedia.org/wiki/Qt_(software)



Mike

Offline dcarr

  • Newcomer
  • Posts: 20
Re: New Version Crashing
« Reply #26 on: 2019 January 17 12:01:31 »
Thanks Mike

Quite right.  Post corrected above.

Regards
Dean

Offline GregW

  • Newcomer
  • Posts: 39
Re: New Version Crashing
« Reply #27 on: 2019 January 17 13:09:11 »
I too get the crash after the 0000000000000008 me meet error. Especially when trying to run the subframe selector script. Other than that it's been running good, just cranked out a 5-hour integration and it didn't crashed when done. I have a Dell XPS 15 32GB of RAM terabyte SSD.
Objects in the mirror are farther than they appear

Offline jerryyyyy

  • PixInsight Old Hand
  • ****
  • Posts: 425
    • Astrobin Images
Re: New Version Crashing
« Reply #28 on: 2019 January 17 15:25:37 »
My systems seems more stable with the graphics cards turned off as noted for QT.  This of course raises the question of what is going on about why I cannot use my $$$ graphics.  I have all the latest drivers etc....
Takahashi 180ED
Astrophysics Mach1
SBIG STT-8300M and Nikon D800
PixInsight Maxim DL 6 CCDComander TheSkyX FocusMax

Offline jerryyyyy

  • PixInsight Old Hand
  • ****
  • Posts: 425
    • Astrobin Images
Re: New Version Crashing
« Reply #29 on: 2019 October 24 13:12:04 »
Just for the record, still intermittently crashing... and the autosave only saves process icons?
Takahashi 180ED
Astrophysics Mach1
SBIG STT-8300M and Nikon D800
PixInsight Maxim DL 6 CCDComander TheSkyX FocusMax