×

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

Bi-monthly release with minor bug fixes and improvements

Kstars crashes when using "Find Object" button

  • Posts: 2
  • Thank you received: 0

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: 915
  • Thank you received: 87
I often have this crash on Windows client connected to Mele Stellarmate X.
Started to happen 2-3 months ago.
Usually, KStars crashes on the first try but after KStars restart Find Object works.
-- Max S
ZWO AM5. RST-135. AZ-GTI. HEQ5. iOptron SkyTracker.
TPO RC6. FRA400. Rokinon 135 and other lenses.
ZWO ASI2600MC. D5500 modified with UVIR clip-in filter.
ZWO ASI120MM Mini x 2. ZWO 30F4 guider. Orion 50mm guider.
ZWO EAF x 3.
11 months 2 weeks ago #96210

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

  • Posts: 2
  • Thank you received: 0
Strange, it consistently crashes for me, even after restarting Kstars or rebooting completely. I'd say it only works correctly about 5% of the time. But that's interesting that it's not localized to just my platform, then. I can try building it from source with -DCMAKE_BUILD_TYPE=Debug to see if that provides any more useful logging.

EDIT Building Kstars from Git seemed to resolve the issue: invent.kde.org/education/kstars#building. I am now on 3.6.8 beta, fwiw; unfortunately I'm not sure what the problem was in the first place.
Last edit: 11 months 2 weeks ago by contactlight.
11 months 2 weeks ago #96227

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

  • Posts: 192
  • Thank you received: 28
This bug is reproduced in KStars 3.6.8 Stable Build: 2023-12-03T03:33:36Z on Windows.
I would like to see this fixed as it is very damaging when KStars crashes while preparing an observation.
9 months 2 weeks ago #97427

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

I could not reproduce it on Windows. Please let us know the root cause if you find it.
9 months 2 weeks ago #97430

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

  • Posts: 192
  • Thank you received: 28
Can you please tell me what source code and functions this issue might be related to, such as the code that is called after clicking the "Find Object" button in KStars?

I see that finddialog.cpp is the source code for Find Object.

When I run KStars on the debugger, this issue has never been reproduced and is difficult to investigate.
Usually such issues occur when there is a lack of initialization, but so far it doesn't look like that...
Last edit: 9 months 2 weeks ago by tkakura.
9 months 2 weeks ago #97432

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

Time to create page: 0.827 seconds