PixInsight Forum

PixInsight => Bug Reports => Topic started by: Niall Saunders on 2010 April 10 16:32:58

Title: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Niall Saunders on 2010 April 10 16:32:58
Sorry folks,

but v1.6.0 (for me on Vista 64) is virtually unuseable. PI 'Core' crashes nearly every time I try to access ANY of the file I/O GUIs (including those within the likes of ImageIntegration and ImageCalibration).

So, I am going to have to revert to an early version of v1.5.9 - one that I have had running, NON-STOP, for nearly THREE MONTHS, until I had to uninstall it today.

The only other thing that happened today was an automatic upgrade to Vista64 Service Pack 2 - and that was because I decided to power-cycle the PC as well (again, for the first time in three months).

I wish I hadn't bothered (and, if I still had my shotguns, this pile of silicon cr@p would be full of lead by now >:()

I'll catch up with you after the next release - have fun
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Carlos Milovic on 2010 April 10 20:58:14
I saw the same behavior with Ubuntu, 32bits.
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: georg.viehoever on 2010 April 10 23:38:42
So far, I have seen no crash on Fedora11-x64....

Georg
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Harry page on 2010 April 11 00:23:49
Hi

I am running vista 64 with all the updates and are not having any problems  :P

Harry
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Niall Saunders on 2010 April 11 01:37:40
I am not sure whether the problem is related to the fact that I also accepted the full'Service Pack 2' update to Vista 64 - on reflection, I wish I hadn't.

Firefox was also very 'flakey' as well - it took MULTIPLE attempts to download the 32-bit and 64-nit v1.6.0 images. Download speed was fine, then Firfox went into a NEVER ENDING "checking for viruses" phase (during which Windows Resource Monitor only really showed 'disk activity' - everything else was more or less 'idle')

I have no idea whether I will be able to successfully 'roll back' to a pre-SP2 state.

Perhaos this is where I should just call it quits and splash out for a Win7 install (sorry, don't try and persuade me to go Linux - it is a nice concept, but I don't want to waste the next two years 'learning' a new OS, just because Windoze is so flakey >:()

Cheers,
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: georg.viehoever on 2010 April 11 02:58:03
Win7 definitely is an option. I have even upgraded my 9 year old PC. It feels considerably more responsive (but I doubt that it is really faster). It crashes very rarely compared to Vista and especially XP. It is now on all 3 of my systems, in 32 bits on the old PC, in 64bits on the two others.

Georg
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Juan Conejero on 2010 April 11 03:32:32
Hi Niall,

Quote
Download speed was fine, then Firfox went into a NEVER ENDING "checking for viruses" phase

This may provide some hints to find the origin of this problem. Which is your antivirus/firewall software? From the above sentence, I wouldn't be surprised if your antivirus program is messing with normal operation of some PixInsight routines. In particular, some multithreading schemes in PixInsight may fool some poor virus detection routines. For example, not too many applications out there carry out parallel disk I/O intensively.

Vista Service Pack 2 isn't part of the problem, at least not directly. I have SP2 installed on my Windows development machine. So I wouldn't follow the "rolling back" path because you may easily end with an unusable system if you uninstall a service pack.

Please try to follow these steps:

- First, use Preferences to disable parallel processing completely. You can also achieve the same result with the following command from the console:

parallel -disable

Perhaps the problems will disappear if you disable parallel processing. Otherwise:

- Disable all GUI special effects with Preferences. Some of the new interface animations are quite sophisticated, and chances are that your hardware is not tolerating them well, for some odd reason.

- Disable parallel disk I/O, also with Preferences.

If the problems persist, then disable your antivirus and/or firewall (disconnect your machine from any network, especially Internet, before doing this).

Let's see if we can diagnose and "isolate" the problem in this way.

Quote
sorry, don't try and persuade me to go Linux - it is a nice concept, but I don't want to waste the next two years 'learning' a new OS, just because Windoze is so flakey

Windows by itself is actually the very last reason to move to Linux :)

Viruses and piracy, and the fact that Windows bases a significant part of its market share on both "marketing concepts", is one of the first.
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Carlos Milovic on 2010 April 11 07:56:22
Hey Juan

In my case, it is happening with my old P3 machine (Ubuntu 9.10 x86). No parallel processors or disks IO. GUI effects disabled. And of course, here are no antiviruses.
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Juan Conejero on 2010 April 11 12:12:19
Hi Carlos,

I think in your case the problem may be due to an incompatible glibc version. PixInsight requires the latest stable version: glibc 2.11. To know which version of glibc you are using, enter the following command:

Code: [Select]
ldd --version
It should say something like "ldd (GNU libc) 2.11" or similar.

If the problem isn't glibc, then cd to the bin directory where you have PixInsight installed and enter this:

Code: [Select]
export LD_LIBRARY_PATH=.:./lib; ldd ./PixInsight
Let me see the output of the above command. This will help us to diagnose the problem.
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Carlos Milovic on 2010 April 11 13:09:45
ok... I have v2.10... I'll try to update my system to Ubuntu 10.4 witch includes it.
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Carlos Milovic on 2010 April 11 13:30:54
Hmmmm... still 18 days for the LTS version. I guess I'll wait untill then, and do a massive system update. Perhaps it will solve my problem with Eclipse :D
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Niall Saunders on 2010 April 11 16:07:00
Hi all,

I have had partial success by pure chance. Whilst a 'crashed' instance of PI was shutting down, I mistakenly triggered a second instance at the same time (appearing on the toolbar with a (2) suffix). This second instance did NOT crash PI every time I tried to save an image.

So, I have actually been able to run through the necessary steps to calibrate a dataset, WITHOUT having PI crash on me.

I think a TOTAL uninstall, along with a 'FACTORY RESET' may cure my problems

I'll let you know how I get on

Cheers,
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: chris.baron on 2010 April 14 13:24:37
Another crashing on 64bit Ubuntu 9.10 user here.

cbaron@raon-cbaron:~/PixInsight/bin$ ./PixInsight.sh

** (<unknown>:2354): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

PixInsight Core 01.06.00.0592 (x86_64)
Copyright (C) 2003-2010 Pleiades Astrophoto

/home/cbaron/PixInsight/bin/./PixInsight: symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

Crashes everytime I try to open files too.

What distro are you running Juan where you'd be using 2.11? I'm tempted to upgrade to ubuntu 10.4 anyway, but I'm a bit leery of doing so at the office. Almost invariably X will break on my big desktop setup. Never seems to fail with every upgrade/new distro I try.

I guess I can give it a spin at home and see how I fare.

Cheers,
Chris
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: chris.baron on 2010 April 14 13:43:22
Maybe not upgrading just yet. Seems like there are more than a few outstanding issues with 10.04 beta2. Methinks I can wait the 15 days for its final release.

Cheers,
Chris
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Carlos Milovic on 2010 April 14 21:16:31
Yeah. I think that two weeks is not that much :P

I think that Juan uses Fedora. I'm thinking on installing it next time, maybe as a third OS. I'm reluctant to leave ubuntu :)
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: chris.baron on 2010 April 15 04:31:34
I suspected he was using Fedora. I've used it over time for convenience at work as we run RHEL extensively but I got sick of breaking my machine every few days after applying some update. Fedora's a bit bleeding edge on a machine I rely heavily on at the office. Ubuntu though it's missing a lot of RedHat specific tools is a decent balance between Fedora (constantly updated) and Debian (brutally slow release cycles but stable).

At least he didn't make the installer an RPM ;)

Cheers,
Chris
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Carlos Milovic on 2010 April 15 04:54:41
We could have a repository, and .debs ;)
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: chris.baron on 2010 April 15 06:38:29
That'd definitely be nice, but I like that the static binaries run pretty much everywhere. Well, everywhere that you're running truly the latest glibc anyway ;)

Plus I'm too lazy/busy to offer to maintain the repo :)

Chris
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Carlos Milovic on 2010 April 15 07:02:38
I was just kidding :D Indeed, it is just too much work (right now building a new release of PI is a monumental work... consider that it is released in 5 OS flavours (if including 32/64 bits), and there are 3 different compilations of each one [trial, commercial and developer's]).

Anyway, some kind of automatic upgrade system (in a way based on linux's repositories) could be a good way to keep everything updated, specially if there are only minor changes, or changes in modules.


Well, I think that we got side-tracked here :P Acording Juan, Fedora provides an excellent platform for developers. I had some problems with Eclipse, and so far I have been unable to compile in Ubuntu. It has been quite frustrating, since I hate working in Windows :D So, I guess that I'll create a partition just to work with PixInsight in Fedora, and another for personal things in Ubuntu... Not a pleasant idea anyway. Do you think that the transition would be smooth? How is the application repositories for Fedora compared to Ubuntu/Debian?
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: chris.baron on 2010 April 15 13:18:59
Slightly better repos for Ubuntu in my opinion, but with RPMForge Fedora comes very close. Debian provides little in the way of official updates other than security fixes. Even their bleeding edge stuff is relatively stable/old ;)

I personally find Ubuntu to be the one distro as a user to "just work" more or less out of the box as a desktop distro but all have their virtues. I'd tend to use Centos/RHEL/Novell(Suse) for servers though. The one thing to keep in mind is that they're all better than Windows ;)

I would kill for full ascom support on Linux. Wouldn't it be awesome to shell into your remote box and either use or create a perl application to automate your imaging run?

One day.....

Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Juan Conejero on 2010 April 20 03:56:10
Hi Chris and Carlos,

PixInsight's primary development platform is Linux. Currently my main workstations run Fedora 11 and Fedora 12 x86_64.

I use Windows exclusively to build the application and carry out performance and stability tests. Occasionally I run some debug session on Visual C++, when some Windows-specific problem gets really hard to understand.

I use Mac OS X quite a lot, mainly because I really like it as a user, although I absolutely hate OS X for software development. I carry out all Mac OS X development via SSH from my main Linux workstation (Fedora 11).

Quote
/home/cbaron/PixInsight/bin/./PixInsight: symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

Sorry for that Chris. I'll include libxml2.so in the bin/lib directory of all PI's Linux distributions to avoid these problems.

Quote
Fedora's a bit bleeding edge on a machine I rely heavily on at the office.

IMO this doesn't happen anymore after Fedora 8 or so. Fedora 11 and 12 are really solid operating systems that you can rely on (I personally find Fedora 11 a somewhat better distribution than 12). I use Fedora on all my development machines and I have absolutely no problem.

Quote
consider that it is released in 5 OS flavours (if including 32/64 bits)

A port to FreeBSD is also planned during 2010. Call me mad  8)
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: chris.baron on 2010 April 21 06:35:55


PixInsight's primary development platform is Linux. Currently my main workstations run Fedora 11 and Fedora 12 x86_64.

That makes me quite happy to hear that. To me, that means that PixInsight will continue to be developed for Linux. Linux definitely has a tonne of FOSS programs that typically surpass a lot of commercial applications on closed source operating systems, but true commercial support of Linux for end user applications is important. I'm not terribly thrilled with Software Bisque's new fee schedule for TheSkyX, but that they are looking to provide a Linux version is very promising. Now they just need to provide CCDSoft for Linux too ;)

Quote
I use Mac OS X quite a lot, mainly because I really like it as a user, although I absolutely hate OS X for software development. I carry out all Mac OS X development via SSH from my main Linux workstation (Fedora 11).

OS X is pretty hard to beat; bsd underneath and a pretty refined gui on top. That and extensive commercial support. I've been using Linux for work related tasks for about 10 years now, but I was running MacOS 7.1 before then. I'd love an 8 core PowerMac to run OSX on top of, but I think I'll still with Linux until I truly need a home workstation upgrade. 


Quote
/home/cbaron/PixInsight/bin/./PixInsight: symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64
Sorry for that Chris. I'll include libxml2.so in the bin/lib directory of all PI's Linux distributions to avoid these problems.

Thanks Juan. That would help me out here, but I'd still be handcuffed by the glibc version anyway so I'm either going to have to upgrade to Ubuntu 10.04 upon release or give Fedora 13 a shot.
Quote
Fedora's a bit bleeding edge on a machine I rely heavily on at the office.

Quote
IMO this doesn't happen anymore after Fedora 8 or so. Fedora 11 and 12 are really solid operating systems that you can rely on (I personally find Fedora 11 a somewhat better distribution than 12). I use Fedora on all my development machines and I have absolutely no problem.

Now you've got me tempted to give the Fedora 13 beta a shot. I'd try Core 11 but support for older versions only lasts for 2 versions i.e. Fedora 11 support stops 1 month after Fedora 13's release.

Quote
consider that it is released in 5 OS flavours (if including 32/64 bits)
A port to FreeBSD is also planned during 2010. Call me mad  8)

Mad? Hardly. I'd call you genius. There aren't as many folks running FreeBSD as there are Linux, but the ones that do love it.  The fact that PixInsight runs everywhere means anyone can run it. Consequently the chances of people adopting PixInsight as their primary astrophotography processing software is far greater. Nobody else is offering a similarly polished processing package out there.

If you can just find time to contribute to Ascom X.....;)

Cheers,
Chris
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Tony Morris on 2010 May 02 12:49:42
Hi Juan

Just upgraded to Ubuntu 10.04 - 64bit (painless for me!) and installed the latest PI 1.6.
I am now suffering from the same issue as Niall et all.
ldd (Ubuntu EGLIBC 2.11.1-0ubuntu7) 2.11.1
When I launch PI again after the crash, I get the message:-
"A previous instance of the PixInsight Core application crashed.
Reusing instance slot #1"
Downgraded :( to PI1.05.09 and all is well again!
Not having any issues with any other applications - so far

Thanks
Tony
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Juan Conejero on 2010 May 02 13:13:55
Hi Tony,

AFAIK, there's no reason for PixInsight 1.6 not working on Ubuntu 10.

To try to diagnose the problem, I need more specific information. If you open a console, cd to the bin directory where you have installed PixInsight (e.g. ~/PixInsight/bin), and run the core application with this command:

./PixInsight.sh

What error messages do you see on the console?



Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Tony Morris on 2010 May 02 13:51:31
Juan
Re-installed 1.6 will full reset

Terminal output=
tony@tony-desktop:~/Pixinsight/bin$ ./PixInsight.sh

** A previous instance of the PixInsight Core application crashed.
Reusing instance slot #2.

PixInsight Core 01.06.00.0592 (x86_64)
Copyright (C) 2003-2010 Pleiades Astrophoto

If I relaunch the instance slot increments

Tony
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Carlos Milovic on 2010 May 02 14:04:37
Hey Tony
Check the thread started by Chris, informing of a workaround to get PI 1.6 work on Lucid Lynx. The problem is on the libz libraries. Just move them (PCL/bin/lib) to another site.
Title: Re: v1.6.0 Crashes almost EVERY time I try to read from or write to the HDD
Post by: Tony Morris on 2010 May 02 14:36:09
Carlos

Excellent--
I moved libz.so.1 and I can now open files with no problems. Thanks

There is still a minor problem though, looking at the conversation regarding GUI Effects
If I go to preferences- and click on Style Sheet/Special effects it locks up the preferences window

But at least the temp fix has got me working

Thanks again

Tony