Bug 387716 - KStars crashes with non-powered CCD camera in INDI
Summary: KStars crashes with non-powered CCD camera in INDI
Status: RESOLVED WORKSFORME
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-08 18:03 UTC by Csaba Kertész
Modified: 2021-10-13 04:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Kertész 2017-12-08 18:03:13 UTC
The problem is related to a secondary CCD camera driver in INDI when it is not connected.

Steps to reproduce:

1. Run KStars.
2. Run a local INDI server with Ekos: EQMod (simulation mode), GPhoto (simulation mode) and QHY or ZWO (no camera connected) Aux 1 driver.
3. Load a session in the Ekos Scheduler.
4. Execute the Scheduler session.

Outcome:
KStars shows a wrong dialog "an other INDI server is running. Stop it? Yes or No".
If the answer is Yes then KStars crashes, if No then duplicate EQMod and GPhoto tabs appear in the INDI window and the Ekos Scheduler fails to execute the session.

The problem is not specific to the INDI drivers, the simulation mode or remote/local INDI server. It is reproducible always. It is maybe related to the fact that a non-powered QHY or ZWO camera driver does not appear at all in the INDI window? Then KStars thinks that the INDI client session in KStars and the INDI server are not the same.
Comment 1 Jasem Mutlaq 2017-12-09 06:55:32 UTC
I haven't checked it but when you run QHY/ZWO with NO camera attached, no driver is defined and therefore Ekos might think that it is an incomplete invalid startup (it is) and then pops this question to restart the process?
Comment 2 Csaba Kertész 2017-12-09 07:58:59 UTC
Strangely enough, things go wrong only if a Scheduler session is started. Capturing an image, alignment does not exhibit the same problem.
Comment 3 Jasem Mutlaq 2018-03-22 13:45:34 UTC
is this still reproducible with GIT?
Comment 4 Csaba Kertész 2018-03-22 17:39:50 UTC
Of course.
Comment 5 Jasem Mutlaq 2021-09-13 07:54:26 UTC
Please check with latest KStars v3.5.4 and report back if you can.
Comment 6 Bug Janitor Service 2021-09-28 04:35:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2021-10-13 04:35:39 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!