This has happened a good number of times to me now. Suppose we create a new custom catalog .cat file and load it into KStars using the "Load Catalog" option in the Settings dialog. Then, check the appropriate checkbox to make the catalog visible. You can now find objects from this catalog etc without any problems. However, if you open the observing list (Ctrl + L) and try to add the object to the observing wishlist for example, KStars will segfault. It works fine after a restart, for example, if you restart KStars and then go back to the settings dialog to show the newly added catalogs, then open up the observation planner, things go alright. Reproducible: Always Steps to Reproduce: 1. Add a new custom catalog using the "Load Catalog" feature 2. Add an object from the newly loaded catalog to the observation planner without restarting KStars 3. Crash.
(Jasem, I might look into it at some point later by myself. Look into it only if you have the time to spare.) Regards Akarsh
The post here describes the potential cause and a possible solution: https://mail.kde.org/pipermail/kstars-devel/2015-May/006173.html Regards Akarsh
This bug is not reproducible anymore. It was fixed by some other changes or with my recent improvements by using smart pointers for the sky objects.