×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

KStars 3.6 crashes when Find Object is selected

  • Posts: 207
  • Thank you received: 28
After the initial success, I have been trying to launch KStars again this evening hoping to get some imaging in tonight. KStars no longer launches. I've reinstalled the KStars update, reinstalled MacOS and each time I try to launch I get the 'spinning beach ball of death' and have to Force Quit KStars. If I can provide any information or system reports, please let me know. If anyone else is having the same problem, would be great to know - trying to sort out whether it's a result of something unique to my system environment.
1 year 7 months ago #85554

Please Log in or Create an account to join the conversation.

  • Posts: 207
  • Thank you received: 28
If it's helpful, I've attached the Mac Problem Report that was generated when I Force Quit KStars.Cheers,

File Attachment:

File Name: ProblemRep...8-21.rtf
File Size:2,959 KB
1 year 7 months ago #85558
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
Those crash reports aren't usually too helpful, once in awhile they can provide some insight but usually a better thing would be to run it from the terminal with this command:

/Applications/KStars.app/Contents/MacOS/kstars

And see what prints and if you could give some details about what was happening when it crashed that is also more helpful.
1 year 7 months ago #85562

Please Log in or Create an account to join the conversation.

  • Posts: 207
  • Thank you received: 28
Rob - thanks! Here's the text that displays when I run the command you referenced:

Last login: Sun Aug 21 17:15:51 on console
fred@Fredericks-Mac-Studio ~ % /Applications/KStars.app/Contents/MacOS/kstars
Call to writableLocation without an application-based location.
org.kde.kstars: Welcome to KStars 3.6.0 Stable
org.kde.kstars: Build: 2022-08-21T16:15:07Z
org.kde.kstars: OS: "osx"
org.kde.kstars: API: "x86_64-little_endian-lp64"
org.kde.kstars: Arch: "x86_64"
org.kde.kstars: Kernel Type: "darwin"
org.kde.kstars: Kernel Version: "21.6.0"
org.kde.kstars: Qt Version: 5.15.5
Starting DBus

Regarding what was happening when it crashed, it actually simply failed to launch. I would launch KStars and I'd just get the beachball spinning. When I went into Force Quit, it showed up as a non-responsive app. Let me know if I can provide more color.
1 year 7 months ago #85570

Please Log in or Create an account to join the conversation.

  • Posts: 80
  • Thank you received: 13
I can't even get past the splash screen.

When I run the KStars executable from terminal, this is what I get as it runs and after it errors out.
Call to writableLocation without an application-based location.
org.kde.kstars: Welcome to KStars 3.6.0 Stable
org.kde.kstars: Build: 2022-08-21T16:15:07Z
org.kde.kstars: OS: "osx"
org.kde.kstars: API: "x86_64-little_endian-lp64"
org.kde.kstars: Arch: "x86_64"
org.kde.kstars: Kernel Type: "darwin"
org.kde.kstars: Kernel Version: "19.6.0"
org.kde.kstars: Qt Version: 5.15.5
Starting DBus
org.kde.kstars: Processing  "unnamedstars.dat" , HTMesh Level 3
org.kde.kstars:   Sky Mesh Size:  512
org.kde.kstars: Loaded DSO catalog file:  "unnamedstars.dat"
org.kde.kstars: "Star HD20,794 not found."
org.kde.kstars: "Star HD98,230 not found."
org.kde.kstars: Loaded DSO catalogs.
org.kde.kstars: Loading asteroids
libc++abi.dylib: terminating with uncaught exception of type std::out_of_range: unordered_map::at: key not found
zsh: abort      /Applications/KStars.app/Contents/MacOS/kstars
Having fun learning about the cosmos.
I run an astrophotography site as a hobby.
1 year 7 months ago #85571

Please Log in or Create an account to join the conversation.

  • Posts: 401
  • Thank you received: 41
I am on the same page Rob, M1, 12.5
MacBook-Air:~ euripides$ /Applications/KStars.app/Contents/MacOS/kstars
Call to writableLocation without an application-based location.
org.kde.kstars: Welcome to KStars 3.6.0 Stable
org.kde.kstars: Build: 2022-08-21T16:15:07Z
org.kde.kstars: OS: "osx"
org.kde.kstars: API: "x86_64-little_endian-lp64"
org.kde.kstars: Arch: "x86_64"
org.kde.kstars: Kernel Type: "darwin"
org.kde.kstars: Kernel Version: "21.6.0"
org.kde.kstars: Qt Version: 5.15.5
Starting DBus

and freezes not responding.
1 year 7 months ago #85579

Please Log in or Create an account to join the conversation.

  • Posts: 207
  • Thank you received: 28
Rob and others - I was able to run 3.6 on a MacBook Pro (Intel) last night with no problems. This morning I did a routine OS security update to MacOS 12.5.1 and now KStars doesn't run on the MacBook Pro any longer. Maybe something in that security update?
Last edit: 1 year 7 months ago by Frederick Ruegsegger.
1 year 7 months ago #85585

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
I did a bunch of work on this after work today. There are a couple of different issues it seems. The one issue where it freezes on Dbus seems to have been caused by an issue in my build I think. The other issue where it got this message: "libc++abi.dylib: terminating with uncaught exception of type std::out_of_range: unordered_map::at: key not found" had me really lost for awhile this evening since it happened on a virtual machine I was testing on with both the craft build and with my own build after I fixed the dbus issue. But this error did not occur on my main machine so I was stumped. Then I tried deleting (backing up of course!) my data directory on my main machine and I could finally replicate the issue. So basically it means that there is something corrupted in the data directory in the dmg. This also is a hard bug to detect because most of us have installed kstars before and already have settings in place, but this problem would only show up in a new install. So I don't know when this issue first appeared. but I will go through and see if I can find the issue tomorrow after work.

Thanks for testing!!
The following user(s) said Thank You: Frederick Ruegsegger
1 year 7 months ago #85593

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
Ok, two big fixes were just pushed for the find dialog bug and for the startup crash bug with the asteroids.dat file. I just rebuilt the dmg here:

edu.kde.org/kstars/#download

Please try again.
The following user(s) said Thank You: Frederick Ruegsegger
1 year 7 months ago #85727

Please Log in or Create an account to join the conversation.

  • Posts: 207
  • Thank you received: 28
Rob - thanks so much for all your work on this. I just downloaded the new DMG and overwrote the Beta I had installed yesterday. KStars launches without problem (after the first time fiddling with the Security and Privacy settings in MacOS), it connects to my gear and Find Object seems to work just fine (tested it from the main KStars menu, the observation planner, and the telescope control). It's daylight here right now so I'll do more testing when conditions are good.
1 year 7 months ago #85730

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
Very good, hopefully next time before a major release, we can build a beta dmg, test it thoroughly, correct any issues, and perfect it before release. Unfortunately this time the release was just before I went on a 2 week vacation and I didn't even get a chance to look at any issues until I got back. Sorry about that.
The following user(s) said Thank You: Frederick Ruegsegger
1 year 7 months ago #85731

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
Also the nightly 3.6.1 beta version built on the KDE binary server should include these couple of changes as well as of tomorrow.
1 year 7 months ago #85732

Please Log in or Create an account to join the conversation.

Time to create page: 0.270 seconds