]> dgit.raspbian.org Git - qt6-declarative.git/log
qt6-declarative.git
6 months ago[PATCH] QtQml: Do not clear objects' propertyCaches on last GC run
Ulf Hermann [Tue, 13 Jan 2026 10:53:27 +0000 (11:53 +0100)]
[PATCH] QtQml: Do not clear objects' propertyCaches on last GC run

The property caches are not specific to the engine. The same object may
be exposed to other engines and still require its property cache. When
the clearing of the property caches on engine destruction was
introduced, the property caches were still engine-specific and we had no
choice but to clear them. Otherwise any further access would lead to a
dereference of a dangling pointer.

Furthermore, when clearing the JS wrapper for a QObject, check if it's
actually the wrapper being deleted. We don't want to clear some other
engine's wrapper.

Amends commit 749a7212e903d8e8c6f256edb1836b9449cc7fe1.
Amends commit c6b2dd879d02b21b18f80faab541f8f04286685a.

Fixes: QTBUG-142514
Change-Id: I40bb1aeca65225d56cb1d2ff498f5f1722216a70
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit dc2358e98b8ddab532866a403ffc09d1162ad0f9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit abd054a491b5f443193033d451dc17e09841277a)

Gbp-Pq: Name upstream_qtqml_crash_fix.diff

6 months agoqt6-declarative (6.10.2+dfsg-4) unstable; urgency=medium
Patrick Franz [Thu, 19 Mar 2026 19:43:56 +0000 (20:43 +0100)]
qt6-declarative (6.10.2+dfsg-4) unstable; urgency=medium

  * Upload to unstable.

[dgit import unpatched qt6-declarative 6.10.2+dfsg-4]

6 months agoImport qt6-declarative_6.10.2+dfsg-4.debian.tar.xz
Patrick Franz [Thu, 19 Mar 2026 19:43:56 +0000 (20:43 +0100)]
Import qt6-declarative_6.10.2+dfsg-4.debian.tar.xz

[dgit import tarball qt6-declarative 6.10.2+dfsg-4 qt6-declarative_6.10.2+dfsg-4.debian.tar.xz]

7 months agoImport qt6-declarative_6.10.2+dfsg.orig.tar.xz
Patrick Franz [Sun, 1 Feb 2026 11:44:30 +0000 (12:44 +0100)]
Import qt6-declarative_6.10.2+dfsg.orig.tar.xz

[dgit import orig qt6-declarative_6.10.2+dfsg.orig.tar.xz]