Summary: | Race condition when capturing guide frames, with possible fix | ||
---|---|---|---|
Product: | [Applications] kstars | Reporter: | Kevin Ross <kevin> |
Component: | general | Assignee: | Jasem Mutlaq <mutlaqja> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://commits.kde.org/kstars/06adc813c4eaa97b0d5691e32ac257fa90f0497d | Version Fixed In: | |
Sentry Crash Report: |
Description
Kevin Ross
2019-05-26 01:02:37 UTC
Git commit 06adc813c4eaa97b0d5691e32ac257fa90f0497d by Jasem Mutlaq. Committed on 26/05/2019 at 05:20. Pushed by mutlaqja into branch 'master'. Ok, there is no make_unique in C++11 so I just used the standard unique_ptr. Please test this. I think this is just a workaround. We need a way to synchronize access to these variables in multi-threaded fashion perhaps using std::unique_lock<> or something similar. M +38 -2 kstars/indi/indiccd.cpp https://commits.kde.org/kstars/06adc813c4eaa97b0d5691e32ac257fa90f0497d I'm sure it is just a workaround, but I ran it all last night without issue. So, it works for me. :) |