Bug 439496 - Discover crashes with failed assertion
Summary: Discover crashes with failed assertion
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.20.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-04 23:32 UTC by David
Modified: 2021-08-05 04:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2021-07-04 23:32:31 UTC
SUMMARY
Not sure how to reproduce, but I've been finding discover crashing with some message about flatpak. If run from a terminal, this is the full error log:

Cyclic dependency detected between "file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml" and "file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/GlobalDrawer.qml:265: TypeError: Type error
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:162:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:99:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/OverlayDrawer.qml:284:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:162:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:99:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/RefreshableScrollView.qml:137:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:162:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:99:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:139:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:139:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:139:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
adding empty sources model QStandardItemModel(0x5603d3c2f6b0)
invalid kns backend! "/usr/share/knsrcfiles/servicemenu.knsrc" because: "Config group not found! Check your KNS3 installation."
invalid kns backend! "/usr/share/knsrcfiles/ksysguard.knsrc" because: "Config group not found! Check your KNS3 installation."
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:71:5: QML Binding: Binding loop detected for property "value"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth"
**
flatpak:ERROR:common/flatpak-variant-impl-private.h:499:var_metadata_lookup: assertion failed: (end <= last_end)
Bail out! flatpak:ERROR:common/flatpak-variant-impl-private.h:499:var_metadata_lookup: assertion failed: (end <= last_end)
**
flatpak:ERROR:common/flatpak-variant-impl-private.h:499:var_metadata_lookup: assertion failed: (end <= last_end)
Bail out! flatpak:ERROR:common/flatpak-variant-impl-private.h:499:var_metadata_lookup: assertion failed: (end <= last_end)
Unable to start Dr. Konqi
Unable to start Dr. Konqi




If run with valgrind, it will show more problems:
==16644== Memcheck, a memory error detector
==16644== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==16644== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==16644== Command: plasma-discover
==16644== 
==16644== Invalid read of size 8
==16644==    at 0x401D604: strncmp (strcmp.S:175)
==16644==    by 0x400604D: is_dst (dl-load.c:209)
==16644==    by 0x4008566: _dl_dst_count (dl-load.c:246)
==16644==    by 0x4008757: expand_dynamic_string_token (dl-load.c:388)
==16644==    by 0x40088D1: fillin_rpath.isra.0 (dl-load.c:460)
==16644==    by 0x4008BE1: decompose_rpath (dl-load.c:631)
==16644==    by 0x4009745: cache_rpath (dl-load.c:673)
==16644==    by 0x4009745: cache_rpath (dl-load.c:654)
==16644==    by 0x4009745: _dl_map_object (dl-load.c:2074)
==16644==    by 0x400DDC0: openaux (dl-deps.c:64)
==16644==    by 0x6D2025F: _dl_catch_exception (dl-error-skeleton.c:208)
==16644==    by 0x400E138: _dl_map_object_deps (dl-deps.c:248)
==16644==    by 0x4013DAA: dl_open_worker (dl-open.c:571)
==16644==    by 0x6D2025F: _dl_catch_exception (dl-error-skeleton.c:208)
==16644==  Address 0xbb17b19 is 9 bytes inside a block of size 15 alloc'd
==16644==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==16644==    by 0x401C16A: strdup (strdup.c:42)
==16644==    by 0x4008B74: decompose_rpath (dl-load.c:606)
==16644==    by 0x4009745: cache_rpath (dl-load.c:673)
==16644==    by 0x4009745: cache_rpath (dl-load.c:654)
==16644==    by 0x4009745: _dl_map_object (dl-load.c:2074)
==16644==    by 0x400DDC0: openaux (dl-deps.c:64)
==16644==    by 0x6D2025F: _dl_catch_exception (dl-error-skeleton.c:208)
==16644==    by 0x400E138: _dl_map_object_deps (dl-deps.c:248)
==16644==    by 0x4013DAA: dl_open_worker (dl-open.c:571)
==16644==    by 0x6D2025F: _dl_catch_exception (dl-error-skeleton.c:208)
==16644==    by 0x40138F9: _dl_open (dl-open.c:837)
==16644==    by 0x8029257: dlopen_doit (dlopen.c:66)
==16644==    by 0x6D2025F: _dl_catch_exception (dl-error-skeleton.c:208)
==16644== 
==16644== Invalid read of size 8
==16644==    at 0x401D604: strncmp (strcmp.S:175)
==16644==    by 0x400604D: is_dst (dl-load.c:209)
==16644==    by 0x400861E: _dl_dst_substitute (dl-load.c:288)
==16644==    by 0x40088D1: fillin_rpath.isra.0 (dl-load.c:460)
==16644==    by 0x4008BE1: decompose_rpath (dl-load.c:631)
==16644==    by 0x4009745: cache_rpath (dl-load.c:673)
==16644==    by 0x4009745: cache_rpath (dl-load.c:654)
==16644==    by 0x4009745: _dl_map_object (dl-load.c:2074)
==16644==    by 0x400DDC0: openaux (dl-deps.c:64)
==16644==    by 0x6D2025F: _dl_catch_exception (dl-error-skeleton.c:208)
==16644==    by 0x400E138: _dl_map_object_deps (dl-deps.c:248)
==16644==    by 0x4013DAA: dl_open_worker (dl-open.c:571)
==16644==    by 0x6D2025F: _dl_catch_exception (dl-error-skeleton.c:208)
==16644==    by 0x40138F9: _dl_open (dl-open.c:837)
==16644==  Address 0xbb17b19 is 9 bytes inside a block of size 15 alloc'd
==16644==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==16644==    by 0x401C16A: strdup (strdup.c:42)
==16644==    by 0x4008B74: decompose_rpath (dl-load.c:606)
==16644==    by 0x4009745: cache_rpath (dl-load.c:673)
==16644==    by 0x4009745: cache_rpath (dl-load.c:654)
==16644==    by 0x4009745: _dl_map_object (dl-load.c:2074)
==16644==    by 0x400DDC0: openaux (dl-deps.c:64)
==16644==    by 0x6D2025F: _dl_catch_exception (dl-error-skeleton.c:208)
==16644==    by 0x400E138: _dl_map_object_deps (dl-deps.c:248)
==16644==    by 0x4013DAA: dl_open_worker (dl-open.c:571)
==16644==    by 0x6D2025F: _dl_catch_exception (dl-error-skeleton.c:208)
==16644==    by 0x40138F9: _dl_open (dl-open.c:837)
==16644==    by 0x8029257: dlopen_doit (dlopen.c:66)
==16644==    by 0x6D2025F: _dl_catch_exception (dl-error-skeleton.c:208)
==16644== 
Cyclic dependency detected between "file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml" and "file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/GlobalDrawer.qml:265: TypeError: Type error
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:162:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:99:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/OverlayDrawer.qml:284:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:162:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:99:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
==16644== Conditional jump or move depends on uninitialised value(s)
==16644==    at 0x27CFED6D: ???
==16644==    by 0x2681A7B7: ???
==16644== 
==16644== Conditional jump or move depends on uninitialised value(s)
==16644==    at 0x27CFED6D: ???
==16644==    by 0xE158047: ???
==16644== 
==16644== Conditional jump or move depends on uninitialised value(s)
==16644==    at 0x27CFED6D: ???
==16644==    by 0x2574B857: ???
==16644== 
==16644== Conditional jump or move depends on uninitialised value(s)
==16644==    at 0x27CFED6D: ???
==16644==    by 0x2683D507: ???
==16644== 
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/RefreshableScrollView.qml:137:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
==16644== Conditional jump or move depends on uninitialised value(s)
==16644==    at 0x5B2EC69: QV4::CppStackFrame::lineNumber() const (in /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.15.2)
==16644==    by 0x5CC1D69: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.15.2)
==16644==    by 0x5B49CF3: QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) (in /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.15.2)
==16644==    by 0x5B4A456: QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) (in /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.15.2)
==16644==    by 0x5B4A5F4: QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) (in /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.15.2)
==16644==    by 0x5C24A40: QQmlComponentPrivate::setInitialProperties(QV4::ExecutionEngine*, QV4::QmlContext*, QV4::Value const&, QV4::Value const&, RequiredProperties&, QObject*) (in /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.15.2)
==16644==    by 0x5C253D8: QQmlComponentPrivate::initializeObjectWithInitialProperties(QV4::QmlContext*, QV4::Value const&, QObject*, RequiredProperties&) (in /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.15.2)
==16644==    by 0x4C93EF5: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5.15.2)
==16644==    by 0x5C279EE: QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) (in /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.15.2)
==16644==    by 0x5C27C26: QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) (in /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.15.2)
==16644==    by 0x5C22C51: QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) (in /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.15.2)
==16644==    by 0x4C94FEA: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5.15.2)
==16644== 
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:162:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:99:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:139:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:139:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:139:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
--16644-- WARNING: unhandled amd64-linux syscall: 315
--16644-- You may be able to write your own handler.
--16644-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--16644-- Nevertheless we consider this a bug.  Please report
--16644-- it at http://valgrind.org/support/bug_reports.html.
adding empty sources model QStandardItemModel(0xd208ee0)
invalid kns backend! "/usr/share/knsrcfiles/servicemenu.knsrc" because: "Config group not found! Check your KNS3 installation."
invalid kns backend! "/usr/share/knsrcfiles/ksysguard.knsrc" because: "Config group not found! Check your KNS3 installation."
==16644== Conditional jump or move depends on uninitialised value(s)
==16644==    at 0x27CFE506: ???
==16644==    by 0x4F9D58AB: ???
==16644== 
took really long to fetch FlatpakBackend(0xd9d1a70)
took really long to fetch PackageKitBackend(0xd144560)
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:71:5: QML Binding: Binding loop detected for property "value"
==16644== Conditional jump or move depends on uninitialised value(s)
==16644==    at 0x27CFE59D: ???
==16644==    by 0x3412B537: ???
==16644== 
==16644== Conditional jump or move depends on uninitialised value(s)
==16644==    at 0x27CFE59D: ???
==16644==    by 0x50764FF7: ???
==16644== 
==16644== Conditional jump or move depends on uninitialised value(s)
==16644==    at 0x27CFE59D: ???
==16644==    by 0x4D606487: ???
==16644== 
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth"
**
flatpak:ERROR:common/flatpak-variant-impl-private.h:499:var_metadata_lookup: assertion failed: (end <= last_end)
Bail out! flatpak:ERROR:common/flatpak-variant-impl-private.h:499:var_metadata_lookup: assertion failed: (end <= last_end)
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-discover path = /usr/bin pid = 16644
KCrash: Arguments: /usr/bin/plasma-discover 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
**
flatpak:ERROR:common/flatpak-variant-impl-private.h:499:var_metadata_lookup: assertion failed: (end <= last_end)
Bail out! flatpak:ERROR:common/flatpak-variant-impl-private.h:499:var_metadata_lookup: assertion failed: (end <= last_end)
Unable to start Dr. Konqi
==16644== 
==16644== HEAP SUMMARY:
==16644==     in use at exit: 85,288,554 bytes in 1,055,550 blocks
==16644==   total heap usage: 5,131,127 allocs, 4,075,577 frees, 2,120,272,722 bytes allocated
==16644== 

[1]+  Stopped                 valgrind plasma-discover
Comment 1 David 2021-07-04 23:35:49 UTC
And BTW, valgrind shows a memory leak too:
==16644==    definitely lost: 19,401 bytes in 980 blocks
==16644==    indirectly lost: 11,013 bytes in 348 blocks
==16644==      possibly lost: 1,773,992 bytes in 4,482 blocks
==16644==    still reachable: 75,351,792 bytes in 978,899 blocks
==16644==                       of which reachable via heuristic:
==16644==                         length64           : 115,288 bytes in 309 blocks
==16644==                         newarray           : 1,028,064 bytes in 782 blocks
==16644==                         multipleinheritance: 83,040 bytes in 652 blocks
==16644==         suppressed: 28 bytes in 2 blocks
==16644== Rerun with --leak-check=full to see details of leaked memory
==16644== 
==16644== Use --track-origins=yes to see where uninitialised values come from
==16644== For lists of detected and suppressed errors, rerun with: -s
==16644== ERROR SUMMARY: 16 errors from 11 contexts (suppressed: 0 from 0)
^C
[1]+  Exit 255                valgrind plasma-discover
Comment 2 Aleix Pol 2021-07-06 15:18:50 UTC
Please update to a supported version of Discover and check if it still crashes.
Comment 3 Bug Janitor Service 2021-07-21 04:33:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2021-08-05 04:33:42 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!