×

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

Bi-monthly release with minor bug fixes and improvements

Kstars crashes when using Align module

  • Posts: 14
  • Thank you received: 3
I recently started trying out astrophotography and I've been trying to get Ekos to work on my M1 Mac (Sonoma) with no luck.
My setup uses an HEQ5 mount and a Canon 90D Dslr for picture capturing. But the issue I'm having also happens when using simulators (which is what I've been mostly doing when trying to debug this issue during the day)

Basically I can connect with no issues to everything. I can create captures with no issues, I can start guiding process with no issues, etc. But as soon as I click "Capture & Solve" or try to start the Polar Alignment process Kstars instantly crashes. I've tried looking enabling every log option and it literally just ends with 0 error messages.

The weirder issue is that sometimes for some completely random reason it works and it doesn't crash. But as soon as I close kstars it's starts crashing again

Is there anything I can do to try and understand what's wrong? I've tried running through the terminal and yet again there seems to be no errors in the log is just terminates with a seg fault.
8 months 1 week ago #98044

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

What's in your optical train?
8 months 1 week ago #98045

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

  • Posts: 14
  • Thank you received: 3
I've tried with the simulators as well as with my canon 90d and HEQ5 mount. When I use my canon I can also select it as the focuser. Other than this nothing. When use the canon I also change the lenses to match up with what I have in the camera.

8 months 1 week ago #98046
Attachments:

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

  • Posts: 14
  • Thank you received: 3
I'll just add some info.
I'm running 3.6.8 stable version.
I've added a video of the whole process of launching and crashing. It says that there's an indi server already running because of the previous crash. If I start this after a laptop restart the indi server starts without the warning. But it still crashes.

8 months 1 week ago #98062
Attachments:

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

  • Posts: 14
  • Thank you received: 3
Since the last post I spent an ungodly amount of time trying to build this locally with no luck. I wanted to build a debug version to which I could attach an lldb session to get a backtrace but no luck.

I've tried running kstars on multiple macs with all of them crashing. Is there anything else I can do? Any way to get a more descriptive error?
8 months 5 days ago #98210

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

  • Posts: 1234
  • Thank you received: 571
I have not built on mac for a long long time, can't help with that, but this is the resource for doing so.
github.com/rlancaste/kstars-on-osx-craft/blob/master/README.md/
Rob Lancaster is the guy who supports that.

Hy
8 months 5 days ago #98211

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

  • Posts: 14
  • Thank you received: 3

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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

  • Posts: 147
  • Thank you received: 16
So after quite a few headaches I finally managed to build Kstars
And you're using an M1 mac with Sonoma, like me.

So I have to ask: how did you manage?

I've been trying to establish a build environment for over a week, starting with Rob Lancaster's kstars-on-osx-craft, and modifying a few things (eg adjusting it for arm64). But I never get to t working system.

Thanks for any guidance!
Richard
Last edit: 8 months 18 hours ago by Richard Francis. Reason: slight expansion
8 months 18 hours ago #98343

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

  • Posts: 14
  • Thank you received: 3
I did it for x86_64 instead with rosetta. I don't think it's buildable yet to arm64. It'd be a headache to get indi to build in arm64 and then kstars after.
8 months 17 hours ago #98344

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

  • Posts: 14
  • Thank you received: 3
That said and since you also have an M1 Sonoma. Are you able to boot up ekos with internal indi server with a mount simulator and a ccd simulator and use the align module? For me it crashes almost always. Capture and Solve, load and slew and polar align all crash.
8 months 16 hours ago #98345

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

  • Posts: 4
  • Thank you received: 0
I have the exact same issue. Anytime I try to polar align or plate solve it instantly crashes. I am using a Mac M1 chip Sonoma 14.2.1. I also have the issue using both the simulator and my own equipment. I am able to guide and capture images. I have been trying to get this to work for over a month now.

I too had no helpful logs from within Kstars Ekos. I know the apple crash reports are not overly helpful but here is the termination reason it provided me:

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [29008]

Any help or solutions is greatly appreciated!
8 months 11 hours ago #98353

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

For some reason, it's crashing trying to access clientManager pointer. Client Manager should exist by this point. At any rate, I added a check in that line that *might* help.. but if client manager was not established by then or was reset of corrupted for whatever reason, then the check won't matter and it will crash again down the line.

Please update and recompile.
8 months 10 hours ago #98354

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

Time to create page: 0.734 seconds