[kstars] [Bug 447753] Kstars crashes connecting to Ekos on MacOS

Castor Fu bugzilla_noreply at kde.org
Mon Jan 3 02:04:06 GMT 2022


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

--- Comment #10 from Castor Fu <castor at egocast.org> ---
(In reply to Castor Fu from comment #9)
> It seems like there may be a race in
> ClientManager::newProperty(INDI::Property *pprop)
> where prop's initialization hasn't flushed through before the thread in
> INDIListener::registerProperty manages to read it?

More likely something is corrupting memory?  If we try printing out the
property we can see something which looks like memory corruption.

(lldb) p *prop.d_ptr.__ptr_
(std::shared_ptr<INDI::PropertyPrivate>::element_type) $36 = {
  property = 0xb00000001102892f
            ^^^^^^ something is garbled here... ≈
  baseDevice = 0x000000000000001c
  type = INDI_NUMBER
  registered = false
  dynamic = false
  self = {
    d_ptr = nullptr {
      __ptr_ = nullptr
    }
  }
}

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



More information about the kde-mac mailing list