Author Topic: Constant crashes and can't apply updates. Frustrated.  (Read 5662 times)

Offline Lightpath

  • Newcomer
  • Posts: 36
    • View Profile
Constant crashes and can't apply updates. Frustrated.
« on: 2016 October 07 21:08:27 »
Hey all, has anyone been able to install this on a mac?

I'veDone the following:

downloaded the software
copied the folder to my applications directory
launched the software
It pops up a window saying "You have 17 updates!"  (I am running Mac OS 1.9.5 so I downloaded the appropriate version:
PI-macosx-x86_64-01.08.04.1195-20151218-t.zip

So I apply the updates, it says "17 succeed, 0 failed"

Click on ok

Segmentation Violation, and the software crashes.  Sometimes it wrecks the license file, sometimes it doesn't.

So if I re-launch the application, then check for updates, and DO NOT INSTALL them, just click ok... 

Segmentation Violation.

If I don't touch the updates, and try using the software as is:

I select process, and Star Alignment
Select my reference frame
Load in all of my other frames
Select a new directory to save the results
Click the circle (ok)

The console appears to process several of the images, then the application just crashes.  No Segmentation violation this time, it just dies.

I've tried re-installing the software, I've tried using the version of software for Sierra...

I have seen some youtube videos, and WANT to like this software, but for the price it really shouldn't be this buggy and unstable.  Does anyone have any thoughts as to what could be wrong?

Thanks-

Lightpath.

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4456
    • View Profile
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #1 on: 2016 October 07 21:25:29 »
have never used mavericks (which is what i think you are referring to)... i have used pixinsight exclusively on a mac for years and years and have never seen anything like you are describing.

do you have any 3rd party kernel extensions installed? what kind of mac is it? it's very strange...

rob

Offline Lightpath

  • Newcomer
  • Posts: 36
    • View Profile
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #2 on: 2016 October 07 22:27:14 »
Macbook pro.

edit:  forgot the stats...  8gb, 2.3gh, i7.

Lightpath.
« Last Edit: 2016 October 07 22:43:42 by Lightpath »

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 6842
    • View Profile
    • http://pixinsight.com/
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #3 on: 2016 October 08 02:09:11 »
This is not reproducible on any of our working and testing machines.

Please note that OS X 10.9 is no longer a supported platform, see our System Requirements. That said, many of our users still work with PixInsight on 10.9 without problems.

Quote
..., but for the price it really shouldn't be this buggy and unstable.

The behavior you are reporting is not normal on any platform. Obviously PixInsight is a stable application, otherwise we wouldn't have several thousands of commercial users. Have you considered the possibility that something on your machine is causing these problems?

For the price you probably shouldn't have a powerful, solid software application in constant evolution, available without documentation on four platforms with unlimited updates, which you can install and use on any machine you own, on any supported platform, with a single license.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Lightpath

  • Newcomer
  • Posts: 36
    • View Profile
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #4 on: 2016 October 11 10:54:33 »
"which you can install and use on any machine you own"

Can you please explain this because I can't get it to run on either of my macs, and I have to reauthorize my license every time I run it on one or the other, to try to figure out why it's constantly crashing.  My second Mbp is the same hardware as the first, but running 10.11.6.

"Could not duplicate bug closed"  Honestly I'm surprised by your tone towards customers in this, and other threads I  have read here.

Do you have any thoughts as to what log files I could look in to figure out why it's seg faulting all over the place, or is it just my fault and you have other things to do?

Offline mistuk

  • Newcomer
  • Posts: 7
    • View Profile
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #5 on: 2016 October 11 10:57:32 »
Have a look at my post in this forum - getting the same problems with my Mac Pro - seems to happen when I try and run process modules - but not consistently

Offline ChoJin

  • PixInsight Addict
  • ***
  • Posts: 106
    • View Profile
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #6 on: 2016 October 11 11:42:19 »
in the "Console" application (not a terminal, I really mean the application named "Console") you should find the full crash report with the backtrace and all (on the left, in the section "user diagnostic reports"). Maybe that would give some insights to Juan about what's going on.

Offline Lightpath

  • Newcomer
  • Posts: 36
    • View Profile
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #7 on: 2016 October 11 12:26:48 »
in the "Console" application (not a terminal, I really mean the application named "Console") you should find the full crash report with the backtrace and all (on the left, in the section "user diagnostic reports"). Maybe that would give some insights to Juan about what's going on.

Hey, thanks!  I'll give this a look.

I had it working on my work laptop (MacOS 10.11) but once i tried again on my home PC the license file got corrupted, and now I have to reactivate the license again.  Even backing up the license file doesn't appear to work.

But at least I may have some crash data.  I'll check it out, thanks.

Offline Lightpath

  • Newcomer
  • Posts: 36
    • View Profile
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #8 on: 2016 October 11 12:28:15 »
Have a look at my post in this forum - getting the same problems with my Mac Pro - seems to happen when I try and run process modules - but not consistently

The time I had it running, when I didn't try to update, I got part way through a youtube video tutorial and was doing well, but then I got a seg fault on one of the modules as well.

I'll check out your post.

Offline Lightpath

  • Newcomer
  • Posts: 36
    • View Profile
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #9 on: 2016 October 11 20:53:03 »
Does anyone know what the permissions/owners should be set to on the various files/executables PixinSight uses?

Offline Lightpath

  • Newcomer
  • Posts: 36
    • View Profile
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #10 on: 2016 October 11 21:35:16 »
Here's the head of the output from the crash file:

cube:~ mearhard$ more ./Library/Logs/DiagnosticReports/PixInsight_2016-10-11-201420_Cube.crash
Process:         PixInsight [19539]
Path:            /Applications/PixInsight/PixInsight.app/Contents/MacOS/PixInsight
Identifier:      software.pleiades.PixInsight
Version:         1.8.4.1195 (1.8.4.1195)
Code Type:       X86-64 (Native)
Parent Process:  launchd [331]
Responsible:     PixInsight [19539]
User ID:         501

Date/Time:       2016-10-11 20:14:14.837 -0700
OS Version:      Mac OS X 10.9.5 (13F34)
Report Version:  11
Anonymous UUID:  A07CECF0-1917-7DB3-BE87-E90EDC7B852D


Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Codes: EXC_I386_GPFLT

Application Specific Information:
abort() called
*** error for object 0x608001627be0: Freeing already free'd pointer

Offline ChoJin

  • PixInsight Addict
  • ***
  • Posts: 106
    • View Profile
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #11 on: 2016 October 11 21:58:46 »
looks like you're hitting a double free bug, but you need to give the backtrace of the thread marked as "Crashed", somewhere after what you copy/paste

Offline Lightpath

  • Newcomer
  • Posts: 36
    • View Profile
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #12 on: 2016 October 11 23:04:51 »
Thanks ChoJin-  Is this the one?

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x00007fff8e3d1866 __pthread_kill + 10
1   libsystem_pthread.dylib             0x00007fff86d8435c pthread_kill + 92
2   libsystem_c.dylib                   0x00007fff923e6b1a abort + 125
3   libsystem_malloc.dylib              0x00007fff932edbee nanozone_error + 486
4   libsystem_malloc.dylib              0x00007fff932ed1c6 nano_free_definite_size + 114
5   software.pleiades.PixInsight        0x000000010965babc 0x10962d000 + 191164
6   software.pleiades.PixInsight        0x000000010966d6e7 0x10962d000 + 263911
7   libsystem_c.dylib                   0x00007fff923e77a1 __cxa_finalize + 177
8   libsystem_c.dylib                   0x00007fff923e7a4c exit + 22
9   software.pleiades.PixInsight        0x0000000109637a4b start + 59

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 6842
    • View Profile
    • http://pixinsight.com/
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #13 on: 2016 October 12 02:24:35 »
I have to reauthorize my license every time I run it on one or the other

Since you are using a trial license, you can only run PixInsight on a single machine and platform at a given time. This is by design. See FAQ 2.19:

http://pixinsight.com/faq/

As noted in FAQ 2.19, this restriction does not apply to commercial licenses. See FAQs 2.5 and 2.6. See also FAQ 2.10 for the procedure to move your trial license to a new machine. Alternatively, you can request a new trial license with a different email address (for security reasons, our system does not allow two or more licenses associated with the same email account).

Quote
"Could not duplicate bug closed"  Honestly I'm surprised by your tone towards customers in this, and other threads I  have read here.

That's just how software development and bug fixes work. To solve a nontrivial problem, I need to understand it first. Normally, to understand a problem and find a suitable solution, I need to reproduce it on at least one of my working and testing machines. This is not the case in your bug report: I cannot reproduce a similar behavior on any machine and operating system. I have several machines running up-to-date installations of OS X 10.10 and 10.11, and PixInsight works very well on all of them.

Instead of providing useful information to help me understand why the problem happens, you said "for the price it really shouldn't be this buggy and unstable". That's not very nice of you. I work hard on PixInsight to build a powerful and solid image processing platform. If you think that the price is high, there are much cheaper solutions in the market, including many gratis products. Honestly, the price of a PixInsight license is quite low in my opinion, considering the capabilities of the software and the way we give our users freedom to install and use it on unlimited machines and four operating systems, with unlimited updates.

I understand your frustration. However, please understand also my frustration each time I receive a complaint because of a problem that I am unable to solve since I cannot reproduce it. In most cases these issues are caused by elements external to PixInsight. This includes misbehaving third party software such as drivers, utilities, wrong system updates and malwares, as well as failing hardware. In other instances there are problems caused by our supporting software tools, including compiler bugs and bugs in third party libraries, although in the latter case the issues are usually easily reproducible. The world of software development is hard for a complex multiplatform application; there are simply too many things that can interact badly, in surprisingly weird and unexpected ways.

The only thing I can do is to release a new version, hopefully better and more stable. I am doing the same since 2004, when I released the first version of PixInsight LE. The next version 1.8.5 will hopefully be released somewhere before Christmas. It will use at least Qt 5.7.0 (version 1.8.4 uses Qt 5.5.1) and much evolved versions of our own development libraries.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 6842
    • View Profile
    • http://pixinsight.com/
Re: Constant crashes and can't apply updates. Frustrated.
« Reply #14 on: 2016 October 12 02:40:30 »
Quote
3   libsystem_malloc.dylib              0x00007fff932edbee nanozone_error + 486
4   libsystem_malloc.dylib              0x00007fff932ed1c6 nano_free_definite_size + 114

Yes, this is a memory deallocation error. Questions:

- Are you running some virus protection software? Any other system utilities running as background processes, besides those included in the operating system?

- Do you have full read/write permissions on your home folder?

- Can you launch PixInsight from a terminal? Open the Terminal application and enter these commands:

$ cd /Applications/PixInsight/PixInsight.app/Contents/MacOS/
$ ./PixInsight&

Let's see if you get some messages on the terminal.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/