https://bugs.kde.org/show_bug.cgi?id=410573

            Bug ID: 410573
           Summary: seg fault in focuser when trying to capture dark frame
           Product: kstars
           Version: git
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: mutla...@ikarustech.com
          Reporter: bo...@pruessmann.org
  Target Milestone: ---

SUMMARY
kstars see faults when taking dark frame in Ekos focuser. 

STEPS TO REPRODUCE
1. Dark Library needs to be empty (!)
2. Switch to Focuser tab, toggle "Dark Frame"
3. Click on "Capture Image"
4. In my case, a dialog appears: "Does ZWO CCD ASI224MC have a shutter?"
5. Click on "No"

OBSERVED RESULT
kstars windows disappear as the application has crashed.

Attaching gdb & repeating the steps will show the following on crash:

0x00ab2f8c in Ekos::DarkLibrary::<lambda()>::operator()(void) const (
    __closure=0x4daeaf8)
    at /home/pi/kde/kstars/kstars/ekos/auxiliary/darklibrary.cpp:372
372                     QString deviceName =
targetChip->getCCD()->getDeviceName();

Given that targetChip is dereferenced a few lines ahead of this, I am assuming
that getCCD() is returning something broken. I have no idea though, why that
only happens with an empty "Dark Library". 

EXPECTED RESULT
kstars does not crash.

ADDITIONAL INFORMATION
- My (RPi) build is based on git commit
02fc8bfaf29b738d459ef1dfa1d11d52c4187d2f
- This also happens remotely controlling the RPi INDI drivers from MacOS. In
that case, kstars 3.3.3 beta crashes at the same point.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to