Bug 393949 - QHY driver crashing
Summary: QHY driver crashing
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 2.9.5
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-07 11:52 UTC by nigel
Modified: 2018-06-12 13:05 UTC (History)
0 users

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


Attachments
attachment-27959-0.html (2.48 KB, text/html)
2018-05-30 03:43 UTC, nigel
Details
Screen Shot 2018-05-29 at 11.36.54 PM.png (135.18 KB, image/png)
2018-05-30 03:43 UTC, nigel
Details
Screen Shot 2018-05-29 at 11.42.48 PM.png (92.12 KB, image/png)
2018-05-30 03:43 UTC, nigel
Details
attachment-28179-0.html (6.90 KB, text/html)
2018-05-30 04:03 UTC, nigel
Details
Screen Shot 2018-05-29 at 11.36.54 PM.png (135.18 KB, image/png)
2018-05-30 04:03 UTC, nigel
Details
Screen Shot 2018-05-29 at 11.42.48 PM.png (92.12 KB, image/png)
2018-05-30 04:03 UTC, nigel
Details
attachment-21073-0.html (2.00 KB, text/html)
2018-06-11 17:27 UTC, nigel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nigel 2018-05-07 11:52:28 UTC
2018-05-07T11:15:25: startup: /Applications/kstars.app/Contents/MacOS/indi/indiserver -v -p 7624 -f /tmp/indififod25f6c3a 
2018-05-07T11:15:25: listening to port 7624 on fd 3
FIFO: start indi_qhy_ccd
FIFO: Starting driver indi_qhy_ccd
2018-05-07T11:15:25: Driver indi_qhy_ccd: pid=11809 rfd=9 wfd=12 efd=13
2018-05-07T11:15:25: Driver indi_qhy_ccd: QHY firmware path: /Applications/kstars.app/Contents/Resources/DriverSupport/qhy
2018-05-07T11:15:31: Driver indi_qhy_ccd: pid=11811 rfd=9 wfd=12 efd=13
2018-05-07T11:15:31: Driver indi_qhy_ccd: QHY firmware path: /Applications/kstars.app/Contents/Resources/DriverSupport/qhy
2018-05-07T11:15:37: Driver indi_qhy_ccd: indi_qhy_ccd(11811,0x7fff9e5ad380) malloc: *** error for object 0x7f84e66006a0: pointer being freed was not allocated
2018-05-07T11:15:37: Driver indi_qhy_ccd: *** set a breakpoint in malloc_error_break to debug
Child process 11811 died
2018-05-07T11:15:37: Driver indi_qhy_ccd: stderr EOF
2018-05-07T11:15:37: Driver indi_qhy_ccd: restart #2
2018-05-07T11:15:37: Driver indi_qhy_ccd: pid=11812 rfd=9 wfd=12 efd=13
2018-05-07T11:15:37: Driver indi_qhy_ccd: QHY firmware path: /Applications/kstars.app/Contents/Resources/DriverSupport/qhy
2018-05-07T11:15:43: Driver indi_qhy_ccd: indi_qhy_ccd(11812,0x7fff9e5ad380) malloc: *** error for object 0x7fa1ec402d30: pointer being freed was not allocated
2018-05-07T11:15:43: Driver indi_qhy_ccd: *** set a breakpoint in malloc_error_break to debug
Child process 11812 died
2018-05-07T11:15:43: Driver indi_qhy_ccd: stderr EOF
2018-05-07T11:15:43: Driver indi_qhy_ccd: restart #3
2018-05-07T11:15:43: Driver indi_qhy_ccd: pid=11814 rfd=9 wfd=12 efd=13
2018-05-07T11:15:43: Driver indi_qhy_ccd: QHY firmware path: /Applications/kstars.app/Contents/Resources/DriverSupport/qhy
2018-05-07T11:15:49: Driver indi_qhy_ccd: indi_qhy_ccd(11814,0x7fff9e5ad380) malloc: *** error for object 0x7ff7426005c0: pointer being freed was not allocated
2018-05-07T11:15:49: Driver indi_qhy_ccd: *** set a breakpoint in malloc_error_break to debug
Child process 11814 died
2018-05-07T11:15:49: Driver indi_qhy_ccd: stderr EOF
2018-05-07T11:15:49: Driver indi_qhy_ccd: restart #4
2018-05-07T11:15:49: Driver indi_qhy_ccd: pid=11819 rfd=9 wfd=12 efd=13
2018-05-07T11:15:49: Driver indi_qhy_ccd: QHY firmware path: /Applications/kstars.app/Contents/Resources/DriverSupport/qhy
2018-05-07T11:15:55: Driver indi_qhy_ccd: indi_qhy_ccd(11819,0x7fff9e5ad380) malloc: *** error for object 0x7f831ed10010: pointer being freed was not allocated
2018-05-07T11:15:55: Driver indi_qhy_ccd: *** set a breakpoint in malloc_error_break to debug
Child process 11819 died
2018-05-07T11:15:55: Driver indi_qhy_ccd: stderr EOF
2018-05-07T11:15:55: Driver indi_qhy_ccd: restart #5
2018-05-07T11:15:55: Driver indi_qhy_ccd: pid=11820 rfd=9 wfd=12 efd=13
2018-05-07T11:15:55: Driver indi_qhy_ccd: QHY firmware path: /Applications/kstars.app/Contents/Resources/DriverSupport/qhy
2018-05-07T11:16:01: Driver indi_qhy_ccd: indi_qhy_ccd(11820,0x7fff9e5ad380) malloc: *** error for object 0x7fef56d00510: pointer being freed was not allocated
2018-05-07T11:16:01: Driver indi_qhy_ccd: *** set a breakpoint in malloc_error_break to debug
Child process 11820 died
2018-05-07T11:16:01: Driver indi_qhy_ccd: stderr EOF
2018-05-07T11:16:01: Driver indi_qhy_ccd: restart #6
2018-05-07T11:16:01: Driver indi_qhy_ccd: pid=11822 rfd=9 wfd=12 efd=13
2018-05-07T11:16:01: Driver indi_qhy_ccd: QHY firmware path: /Applications/kstars.app/Contents/Resources/DriverSupport/qhy
Child process 11822 died
2018-05-07T11:16:07: Driver indi_qhy_ccd: stderr EOF
2018-05-07T11:16:07: Driver indi_qhy_ccd: restart #7
2018-05-07T11:16:07: Driver indi_qhy_ccd: pid=11823 rfd=9 wfd=12 efd=13
2018-05-07T11:16:07: Driver indi_qhy_ccd: QHY firmware path: /Applications/kstars.app/Contents/Resources/DriverSupport/qhy
2018-05-07T11:16:13: Driver indi_qhy_ccd: indi_qhy_ccd(11823,0x7fff9e5ad380) malloc: *** error for object 0x7fa842000230: pointer being freed was not allocated
2018-05-07T11:16:13: Driver indi_qhy_ccd: *** set a breakpoint in malloc_error_break to debug
Child process 11823 died
2018-05-07T11:16:13: Driver indi_qhy_ccd: stderr EOF
2018-05-07T11:16:13: Driver indi_qhy_ccd: restart #8
2018-05-07T11:16:13: Driver indi_qhy_ccd: pid=11841 rfd=9 wfd=12 efd=13
2018-05-07T11:16:13: Driver indi_qhy_ccd: QHY firmware path: /Applications/kstars.app/Contents/Resources/DriverSupport/qhy
2018-05-07T11:16:19: Driver indi_qhy_ccd: indi_qhy_ccd(11841,0x7fff9e5ad380) malloc: *** error for object 0x7f8d9f200050: pointer being freed was not allocated
2018-05-07T11:16:19: Driver indi_qhy_ccd: *** set a breakpoint in malloc_error_break to debug
Child process 11841 died
2018-05-07T11:16:19: Driver indi_qhy_ccd: stderr EOF
2018-05-07T11:16:19: Driver indi_qhy_ccd: restart #9
2018-05-07T11:16:19: Driver indi_qhy_ccd: pid=11848 rfd=9 wfd=12 efd=13
2018-05-07T11:16:19: Driver indi_qhy_ccd: QHY firmware path: /Applications/kstars.app/Contents/Resources/DriverSupport/qhy
2018-05-07T11:16:25: Driver indi_qhy_ccd: indi_qhy_ccd(11848,0x7fff9e5ad380) malloc: *** error for object 0x7ffb6e502ec0: pointer being freed was not allocated
2018-05-07T11:16:25: Driver indi_qhy_ccd: *** set a breakpoint in malloc_error_break to debug
Child process 11848 died
2018-05-07T11:16:25: Driver indi_qhy_ccd: stderr EOF
2018-05-07T11:16:25: Driver indi_qhy_ccd: restart #10
2018-05-07T11:16:25: Driver indi_qhy_ccd: pid=11849 rfd=9 wfd=12 efd=13
2018-05-07T11:16:25: Driver indi_qhy_ccd: QHY firmware path: /Applications/kstars.app/Contents/Resources/DriverSupport/qhy
Child process 11849 died
2018-05-07T11:16:31: Driver indi_qhy_ccd: stderr EOF
2018-05-07T11:16:31: Driver indi_qhy_ccd: Terminated after #10 restarts.
Child process 11809 died
2018-05-07T11:15:31: Driver indi_qhy_ccd: stderr EOF
2018-05-07T11:15:31: Driver indi_qhy_ccd: restart #1
Comment 1 Jasem Mutlaq 2018-05-07 12:24:36 UTC
Same issue with 2.9.5 release?
Comment 2 nigel 2018-05-07 12:53:30 UTC
Sorry, I missed putting in the version.  It is the 2.9.5 release I am having the problem with.

> On May 7, 2018, at 8:24 AM, Jasem Mutlaq <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=393949
> 
> --- Comment #1 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
> Same issue with 2.9.5 release?
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 3 nigel 2018-05-08 22:25:11 UTC
Hi, just wondering if you have any feedback.

Thanks,

Nigel.

Sent from mobile device.

> On May 7, 2018, at 8:24 AM, Jasem Mutlaq <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=393949
> 
> --- Comment #1 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
> Same issue with 2.9.5 release?
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 4 Jasem Mutlaq 2018-05-09 11:25:04 UTC
I can confirm the bug. We are working with QHY on a fix for the next KStars release due soon.
Comment 5 nigel 2018-05-09 12:25:28 UTC
Thank you very much for letting me know.  Do you have any idea how long it will take?

Sent from mobile device.

> On May 9, 2018, at 7:25 AM, Jasem Mutlaq <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=393949
> 
> --- Comment #4 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
> I can confirm the bug. We are working with QHY on a fix for the next KStars
> release due soon.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 6 Jasem Mutlaq 2018-05-09 12:32:31 UTC
Probably in 1-2 weeks.
Comment 7 nigel 2018-05-09 12:39:14 UTC
Ok great, thank you again, your responsiveness is greatly appreciated.

Sent from mobile device.

> On May 9, 2018, at 8:32 AM, Jasem Mutlaq <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=393949
> 
> --- Comment #6 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
> Probably in 1-2 weeks.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 8 nigel 2018-05-24 11:49:07 UTC
Hi, I was curious to know when you expect the new release.

Thanks,

Nigel.

Sent from mobile device.

> On May 9, 2018, at 8:32 AM, Jasem Mutlaq <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=393949
> 
> --- Comment #6 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
> Probably in 1-2 weeks.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 9 Jasem Mutlaq 2018-05-26 07:55:02 UTC
Fixed in 2.9.6 release for MacOS.
Comment 10 nigel 2018-05-30 03:43:44 UTC
Created attachment 112956 [details]
attachment-27959-0.html

Hi Jasem,

I downloaded the new version and the QHY camera now works, but the plate solver is failing.  Apparently in the setup, no plots and O are supposed to be locked and check, in this case they are locked and unchecked.  Please see attached and advise as soon as possible.

Many thanks, again.

Nigel.

> On May 26, 2018, at 3:55 AM, Jasem Mutlaq <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=393949
> 
> Jasem Mutlaq <mutlaqja@ikarustech.com> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Status|CONFIRMED                   |RESOLVED
>         Resolution|---                         |FIXED
> 
> --- Comment #9 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
> Fixed in 2.9.6 release for MacOS.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 11 nigel 2018-05-30 03:43:45 UTC
Created attachment 112957 [details]
Screen Shot 2018-05-29 at 11.36.54 PM.png
Comment 12 nigel 2018-05-30 03:43:45 UTC
Created attachment 112958 [details]
Screen Shot 2018-05-29 at 11.42.48 PM.png
Comment 13 nigel 2018-05-30 04:03:30 UTC
Created attachment 112959 [details]
attachment-28179-0.html

More info…

Nigels-MBP-2:~ Nigel$ /Applications/kstars.app/Contents/MacOS/astrometry/bin/solve-field -O --no-plots --no-verify --resort --downsample 2 -3 10.9208 -4 41.365 -5 30 --config /Applications/kstars.app/Contents/MacOS/astrometry/bin/astrometry.cfg -W /var/folders/w7/cwbv031967qgksh_6xqzf6880000gn/T/solution.wcs /var/folders/w7/cwbv031967qgksh_6xqzf6880000gn/T/fitsaKdRPh
dyld: Library not loaded: @loader_path/../../../Frameworks/libcfitsio.5.dylib
  Referenced from: /Applications/kstars.app/Contents/MacOS/astrometry/bin/solve-field
  Reason: image not found
Abort trap: 6

> Begin forwarded message:
> 
> From: Nigel Waterhouse Transport Canada DAR & EASA CVE <nigel@canamaero.ca>
> Subject: Re: [kstars] [Bug 393949] QHY driver crashing
> Date: May 29, 2018 at 11:43:32 PM GMT-4
> To: bug-control@kde.org
> Cc: Greg Beaton <gbeaton@videotron.ca>
> 
> Hi Jasem,
> 
> I downloaded the new version and the QHY camera now works, but the plate solver is failing.  Apparently in the setup, no plots and O are supposed to be locked and check, in this case they are locked and unchecked.  Please see attached and advise as soon as possible.
> 
> Many thanks, again.
> 
> Nigel.
> 
>> On May 26, 2018, at 3:55 AM, Jasem Mutlaq <bugzilla_noreply@kde.org <mailto:bugzilla_noreply@kde.org>> wrote:
>> 
>> https://bugs.kde.org/show_bug.cgi?id=393949 <https://bugs.kde.org/show_bug.cgi?id=393949>
>> 
>> Jasem Mutlaq <mutlaqja@ikarustech.com> changed:
>> 
>>           What    |Removed                     |Added
>> ----------------------------------------------------------------------------
>>             Status|CONFIRMED                   |RESOLVED
>>         Resolution|---                         |FIXED
>> 
>> --- Comment #9 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
>> Fixed in 2.9.6 release for MacOS.
>> 
>> -- 
>> You are receiving this mail because:
>> You reported the bug.
Comment 14 nigel 2018-05-30 04:03:31 UTC
Created attachment 112960 [details]
Screen Shot 2018-05-29 at 11.36.54 PM.png
Comment 15 nigel 2018-05-30 04:03:31 UTC
Created attachment 112961 [details]
Screen Shot 2018-05-29 at 11.42.48 PM.png
Comment 16 Jasem Mutlaq 2018-05-30 07:58:09 UTC
Thanks, we'll check it out ASAP.
Comment 17 nigel 2018-05-30 10:25:22 UTC
Do I need to report it on the official bugs site?

Sent from mobile device.

> On May 30, 2018, at 3:58 AM, Jasem Mutlaq <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=393949
> 
> --- Comment #16 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
> Thanks, we'll check it out ASAP.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 18 Jasem Mutlaq 2018-05-30 12:03:35 UTC
This is the officials bug size for KStars. I checked with Robert and he confirmed the issue. A recent update on MacOS broke astrometry and another dependent library. At any rate, this is a different bug from the QHY issue here. But we are working on it.
Comment 19 Jasem Mutlaq 2018-05-31 05:18:18 UTC
Please try to redownload KStars of OSX again and see if it resolves your issue.
Comment 20 nigel 2018-05-31 14:26:51 UTC
Solver is working.

Many thanks!

> On May 31, 2018, at 1:18 AM, Jasem Mutlaq <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=393949
> 
> --- Comment #19 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
> Please try to redownload KStars of OSX again and see if it resolves your issue.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 21 nigel 2018-06-11 17:27:30 UTC
Created attachment 113218 [details]
attachment-21073-0.html

Hi,

I’m still having issues with the QHY driver and the Orion Star Shoot Autoguider.  When using the the internal guider I get this error:

2018-05-30T03:43:59: [INFO] Exposure aborted.
2018-05-30T03:43:58: [ERROR] GetQHYCCDSingleFrame error (-1)

After this happens, the only way to get it working again is to disconnect and restart EKOS.   It appears to be random.

Please advise.

Thanks.

Nigel.

> On May 31, 2018, at 1:18 AM, Jasem Mutlaq <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=393949
> 
> --- Comment #19 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
> Please try to redownload KStars of OSX again and see if it resolves your issue.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 22 Jasem Mutlaq 2018-06-12 13:05:20 UTC
qhy_ccd_test on the terminal can capture or also gives you problem? Though I think you need to be inside the KStars bundle to run this command.