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

--- Comment #5 from Joshua Goins <j...@redstrate.com> ---
Git commit ccb162cfed3d635d4db72d46aaa80ad5bfd99c85 by Joshua Goins.
Committed on 26/04/2025 at 15:36.
Pushed by redstrate into branch 'master'.

Set CppOwnership for managed QObjects returned by Q_INVOKABLES

I'm 99% sure of the recent crashes we've been seeing are double-frees,
the QCache one me and Duha encountered must be one. The QCache is in
charge of the one in ContentProvider, so it will sometimes try to delete
or access something already destroyed by the QML engine.

While I'm at it, I also made sure to check every other Q_INVOKABLE to
ensure we don't hit this elsewhere.

M  +4    -1    src/libneochat/models/roomlistmodel.cpp
M  +9    -3    src/timeline/contentprovider.cpp

https://invent.kde.org/network/neochat/-/commit/ccb162cfed3d635d4db72d46aaa80ad5bfd99c85

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

Reply via email to