Bug 457816 - Kstars crashes when tried to Plot Planetary Almanac
Summary: Kstars crashes when tried to Plot Planetary Almanac
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 3.5.7
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-12 22:28 UTC by Ilpo Kantonen
Modified: 2022-08-19 01:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 3.6.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilpo Kantonen 2022-08-12 22:28:44 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Go to menu: Tools -> Sky Calendar 
2. Choose Saturn
3.  Click Plot Planetary Almanac

OBSERVED RESULT
KStars crashes.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Ilpo Kantonen 2022-08-12 22:35:55 UTC
I have used PPA which updates Indi. There come almoust every day updates. So I stopped it. Now KStars says at beginning

Unable to find INDI drivers directory: /usr/share/indi
Please make sure to set the correct path in KStars configuration

I don't know if this affects a crash when plotting calendar.
Comment 2 Ilpo Kantonen 2022-08-12 23:53:26 UTC
I installed KStars 3.6.0 from ppa:mutlaqja/ppa and indi-full kstars-bleeding too.

When I tried to plot sky calendar, kstars crashed again.

BTW, snap installed version 3.5.7 or nothing and apt installed kstars started. This 3.6.0 is installed with apt and PPA.
Comment 3 Jasem Mutlaq 2022-08-13 09:35:42 UTC
Git commit c50b87496d07a9c47a1b85fdada1f4f7a3d71949 by Jasem Mutlaq.
Committed on 13/08/2022 at 09:35.
Pushed by mutlaqja into branch 'master'.

Use QtConcurrent for the actual computations for each planet and not for the overall functions enabling or disabling GUI elements from a thread might lead to a crash.
FIXED-IN:3.6.1

M  +9    -22   kstars/tools/skycalendar.cpp

https://invent.kde.org/education/kstars/commit/c50b87496d07a9c47a1b85fdada1f4f7a3d71949
Comment 4 Ilpo Kantonen 2022-08-19 00:17:58 UTC
Bugfix has been released to 5:3.5.7-1 and 5:3.5.9-1. Thanks. How about version 3.6.0 in PPA repository? I updated KStar and I am thinking it has good new features and want to use 3.6.x. Thanks.
Comment 5 Jasem Mutlaq 2022-08-19 00:33:29 UTC
Git commit 8de153859128d35d415b52f25f8d7eefa72bc95c by Jasem Mutlaq.
Committed on 19/08/2022 at 00:33.
Pushed by mutlaqja into branch 'stable-3.6.0'.

Use QtConcurrent for the actual computations for each planet and not for the overall functions enabling or disabling GUI elements from a thread might lead to a crash.
FIXED-IN:3.6.1

M  +9    -22   kstars/tools/skycalendar.cpp

https://invent.kde.org/education/kstars/commit/8de153859128d35d415b52f25f8d7eefa72bc95c
Comment 6 Jasem Mutlaq 2022-08-19 00:39:57 UTC
We just released up on PPA as well.
Comment 7 Ilpo Kantonen 2022-08-19 01:40:58 UTC
(In reply to Jasem Mutlaq from comment #6)
> We just released up on PPA as well.

Yes!! Thanks! My computer updated KStars and it (3.6.x) works.