Closed alexjba closed 7 months ago
If we're dealing with a Qt bug, there's also the possibility to update the Qt version to the latest 5.15 available.
In this task the StackLayout should be replaced with a lazy loading mechanism.
Cannot reproduce anymore. Probably fixed by the double grid view implementation. Probably fixed by https://github.com/status-im/status-desktop/issues/13045
This crash is currently hidden by using a StackLayout instead of a Loader to keep the collectibles view in memory (See https://github.com/status-im/status-desktop/pull/12953/commits/78800bdcdfef405277a703efd555a069dad3e166). The downside of the StackLayout is the memory consumption and there's also a chance for the app to crash on other flows even this change.
This task is to investigate the root cause of the crash.
The crashing flows point to the same call stack. The crash is always reported in the QQmlEngine while getting the QNAM. Seems to be related to the destruction of delegates, possible the animated images where we load the collectibles URLs:
Create Custom Order
the app crashes more or less systematically.https://github.com/status-im/status-desktop/assets/97019400/719ee06f-6d95-4147-9b87-ce4280538797
https://github.com/status-im/status-desktop/assets/97019400/49af5b10-9f38-4e1f-aa53-e72bc6738240
Originally posted by @noeliaSD in https://github.com/status-im/status-desktop/pull/12953#pullrequestreview-1780499366