Bug 418792 - Cyclic dependency detected between "file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml"
Summary: Cyclic dependency detected between "file:///usr/lib64/qt5/qml/org/kde/kirigam...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.67.0
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-12 21:50 UTC by Tomasz Paweł Gajc
Modified: 2021-01-15 16:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.79
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Paweł Gajc 2020-03-12 21:50:34 UTC
SUMMARY


STEPS TO REPRODUCE
1. Run for example a systemsettings5 in konsole
2. observer output
3. see error


OBSERVED RESULT
[tpg@tpg-80xl sddm]$ systemsettings5 
Cyclic dependency detected between "file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml" and "file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml"


[tpg@tpg-80xl sddm]$ rpm -qf $(command -v systemsettings5)
systemsettings-5.18.3-1.x86_64


EXPECTED RESULT
No error

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: OpenMandriva Lx Cooker
(available in About System)
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.15.0-0.beta1

ADDITIONAL INFORMATION
Comment 1 David Kredba 2020-11-06 08:39:05 UTC
Still present with KDE Frameworks Version: 5.75.0.
Elisa crashes with SIGSEGV due to it:

elisa 
Cyclic dependency detected between "file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml" and "file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml"
qrc:/qml/ElisaMainWindow.qml:17:1: QML ElisaMainWindow: Accessible must be attached to an Item
qrc:/qml/ViewSelector.qml:104:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/ElisaMainWindow.qml:115:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/ElisaMainWindow.qml:104:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
org.kde.elisa.indexers.manager: Local file system indexer is inactive
org.kde.elisa.indexers.manager: Baloo indexer is unavailable
org.kde.elisa.indexers.manager: Baloo indexer is inactive
org.kde.elisa.database: begin update to v9 of database schema
qrc:/qml/MediaPlayListView.qml:84:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/MediaPlayListView.qml:77:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/MediaPlayListView.qml:70:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/ElisaMainWindow.qml:161:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/DataGridView.qml:105:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/PlatformIntegration.qml:37:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/PlatformIntegration.qml:26:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/GridBrowserView.qml:64:34: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

qrc:/qml/GridBrowserView.qml:75:34: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

file:///usr/lib64/qt5/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:26:15: QML MenuItem: Binding loop detected for property "implicitWidth"
file:///usr/lib64/qt5/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:26:15: QML MenuItem: Binding loop detected for property "implicitWidth"
file:///usr/lib64/qt5/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:26:15: QML MenuItem: Binding loop detected for property "implicitWidth"
file:///usr/lib64/qt5/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:26:15: QML MenuItem: Binding loop detected for property "implicitWidth"
file:///usr/lib64/qt5/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:26:15: QML MenuItem: Binding loop detected for property "implicitWidth"
file:///usr/lib64/qt5/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:26:15: QML MenuItem: Binding loop detected for property "implicitWidth"
file:///usr/lib64/qt5/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:26:15: QML MenuItem: Binding loop detected for property "implicitWidth"
qrc:/qml/ElisaMainWindow.qml:232:17: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

qrc:/qml/ElisaMainWindow.qml:241:17: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

qrc:/qml/ContextView.qml:239:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/ContextView.qml:135:25: Unable to assign [undefined] to QString
org.kde.elisa.database: finished update to v9 of database schema
org.kde.elisa.database: begin update to v11 of database schema
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Comment 2 Nate Graham 2020-11-06 15:11:48 UTC
That's not what's causing Elisa to crash, it's something else.
Comment 3 David Kredba 2020-11-06 15:34:37 UTC
You are right, I am sorry.
I tried it now with -ggdb symbols generated and the result is:
Thread 1 "elisa" received signal SIGSEGV, Segmentation fault.
0x00007ffff5604d58 in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) () from /usr/lib64/libQt5Core.so.5

I will collect more information and open an Elisa bug later.
Comment 4 Nate Graham 2021-01-15 16:55:18 UTC
Fixed by David Redondo with https://commits.kde.org/plasma-framework/3c80bc83d936458bd692c4d1a7a1d3d2678180d1 in Frameworks 5.79!