Bug 402386 - ZWO ASI120MC-S camera crashes KStars 3.0
Summary: ZWO ASI120MC-S camera crashes KStars 3.0
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 3.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-20 15:36 UTC by Jean-Claude
Modified: 2021-09-14 12:53 UTC (History)
0 users

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


Attachments
log file for crash (6.53 KB, text/plain)
2018-12-20 15:36 UTC, Jean-Claude
Details
Apple crash report (98.56 KB, text/rtf)
2019-01-02 14:13 UTC, Jean-Claude
Details
Ekos log file (32.01 KB, text/plain)
2019-01-02 14:14 UTC, Jean-Claude
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude 2018-12-20 15:36:43 UTC
Created attachment 117027 [details]
log file for crash

SUMMARY
This bug has been reported already (bug ID 384171, 385082, 394695)
I reported already this bug for KStars v.2.8.2 (Bug 384171).
It has been fixed up to v.2.9.6 but then reappeared in v.2.9.7 and v.2.9.8.
It is still present in v. 3.0

STEPS TO REPRODUCE
1. connect two ZWO cameras ZWO ASI1600MC-C for imaging and ZWO ASI120MC-S for guiding
2. take a picture with ZWO ASI1600MC-C in the imaging panel: no problem
3. take a picture with ZWO ASI120MC-S in the guiding panel: KStars crashes

OBSERVED RESULT
KStars crashes

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
MacOS: Mojave
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jasem Mutlaq 2019-01-02 13:50:12 UTC
Just tested with ASI178MC and ASI120MC and couldn't replicate it sorry.

There must be something else causing the crash. I probably asked you before, but this ONLY happens when the two cameras are connected?
Comment 2 Jean-Claude 2019-01-02 14:12:47 UTC
No, I experienced the bug first when I was using the two cameras (normal setup) but now I got the bug when the ZWO ASI120MC-S camera was the ONLY device attached to the computer : KStars 3.0.0 crashed after I clicked on the capture arrow of the Imager panel.
I'm sending the Apple crash report and the Ekos log file
Comment 3 Jean-Claude 2019-01-02 14:13:40 UTC
Created attachment 117238 [details]
Apple crash report
Comment 4 Jean-Claude 2019-01-02 14:14:27 UTC
Created attachment 117239 [details]
Ekos log file
Comment 5 Jean-Claude 2019-01-02 14:35:28 UTC
The fact that :
1- the two cameras work well in TheSkyX
2- the bug doesn't appear each time
3- if I transfer the KStars app, the kstars folder and kstars prefs from one Mac (where it doesn't crash) to another Mac, it crashes !
4- some versions of KStars don't crash while some others will crash (but it changes)
That's a long time that I stopped programming but I would think at a bad definition of the parameters of a record (in Pascal)
Sometimes the memory map is OK, sometimes not.
Comment 6 Jean-Claude 2019-01-02 14:36:18 UTC
This bug has also been reported in Bug 384171 - ZWO ASI120MC-S camera crashes on MacOS
Comment 7 Jasem Mutlaq 2021-09-13 07:49:16 UTC
Can you please reproduce this issue in 3.5.4?
Comment 8 Jean-Claude 2021-09-14 12:48:35 UTC
It seems to be fixed in 3.5.4. No crash with ASI120MC-S in the guiding panel.