Bug 432485 - discover crashes on startup in Salient OS
Summary: discover crashes on startup in Salient OS
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: PackageKit (show other bugs)
Version: 5.19.5
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-03 21:32 UTC by loderunner
Modified: 2021-03-08 04:33 UTC (History)
1 user (show)

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


Attachments
crash report (372 bytes, text/plain)
2021-02-03 21:32 UTC, loderunner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description loderunner 2021-02-03 21:32:45 UTC
Created attachment 135405 [details]
crash report

SUMMARY


STEPS TO REPRODUCE
1. Starting from available updates Discover starts and disappears after short while ...
2. restarting Discover gives the same result
3. Resumed the updates with Pacman in the shell and rebooted 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Salient OS Arch 5.10.12-arch1-
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5

ADDITIONAL INFORMATION see crash in attachment no traceback available 

Application: DiscoverNotifier (5.19.5)

Qt Version: 5.15.0
Frameworks Version: 5.73.0
Operating System: Linux 5.8.7-arch1-1 x86_64
Windowing system: X11
Distribution: Arch Linux
Comment 1 loderunner 2021-02-03 22:14:44 UTC
Application: plasmashell (5.20.5)

Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.10.12-arch1-1 x86_64
Windowing system: X11
Distribution: Arch Linux

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007ff5deefbd46 in g_slice_alloc () at /usr/lib/libglib-2.0.so.0
#5  0x00007ff5a804cf1e in as_content_rating_set_value () at /usr/lib/libappstream.so.4
#6  0x00007ff5a804ea39 in  () at /usr/lib/libappstream.so.4
#7  0x00007ff5a8049405 in  () at /usr/lib/libappstream.so.4
#8  0x00007ff5a8052cd2 in  () at /usr/lib/libappstream.so.4
#9  0x00007ff5a8053125 in as_metadata_parse_file () at /usr/lib/libappstream.so.4
#10 0x00007ff5a805749c in as_pool_load () at /usr/lib/libappstream.so.4
#11 0x00007ff5a811c77a in AppStream::Pool::load() () at /usr/lib/libAppStreamQt.so.2
#12 0x00007ff5b8034da4 in  () at /usr/lib/qt/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#13 0x00007ff5b80390ba in  () at /usr/lib/qt/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#14 0x00007ff5b8047dcc in  () at /usr/lib/qt/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#15 0x00007ff5b804e9c1 in  () at /usr/lib/qt/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#16 0x00007ff5dfd7a5c0 in  () at /usr/lib/libQt5QmlModels.so.5
#17 0x00007ff5e1f7da7b in  () at /usr/lib/libQt5Qml.so.5
#18 0x00007ff5e1f7ed73 in QV4::QObjectWrapper::virtualResolveLookupGetter(QV4::Object const*, QV4::ExecutionEngine*, QV4::Lookup*) () at /usr/lib/libQt5Qml.so.5
#19 0x00007ff5e1f9c1cd in  () at /usr/lib/libQt5Qml.so.5
#20 0x00007ff5e1fa068f in  () at /usr/lib/libQt5Qml.so.5
#21 0x00007ff5e1f3ad2e in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib/libQt5Qml.so.5
#22 0x00007ff5e20b6916 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib/libQt5Qml.so.5
#23 0x00007ff5e206962d in QQmlBoundSignalExpression::evaluate(void**) () at /usr/lib/libQt5Qml.so.5
#24 0x00007ff5e2069b11 in  () at /usr/lib/libQt5Qml.so.5
#25 0x00007ff5e209a00d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib/libQt5Qml.so.5
#26 0x00007ff5e0b2c955 in  () at /usr/lib/libQt5Core.so.5
#27 0x00007ff5e20476eb in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib/libQt5Qml.so.5
#28 0x00007ff5e209a56e in  () at /usr/lib/libQt5Qml.so.5
#29 0x00007ff5e1f8009f in  () at /usr/lib/libQt5Qml.so.5
#30 0x00007ff5e1f81f3a in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /usr/lib/libQt5Qml.so.5
#31 0x00007ff5e1faf7f2 in QV4::Runtime::CallQmlContextPropertyLookup::call(QV4::ExecutionEngine*, unsigned int, QV4::Value*, int) () at /usr/lib/libQt5Qml.so.5
#32 0x00007ff5e1f9c3d2 in  () at /usr/lib/libQt5Qml.so.5
#33 0x00007ff5e1fa068f in  () at /usr/lib/libQt5Qml.so.5
#34 0x00007ff5e1f3bbc9 in  () at /usr/lib/libQt5Qml.so.5
#35 0x00007ff5e1f9db37 in  () at /usr/lib/libQt5Qml.so.5
#36 0x00007ff5e1fa068f in  () at /usr/lib/libQt5Qml.so.5
#37 0x00007ff5e1f3ad2e in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib/libQt5Qml.so.5
#38 0x00007ff5e20b6916 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib/libQt5Qml.so.5
#39 0x00007ff5e206962d in QQmlBoundSignalExpression::evaluate(void**) () at /usr/lib/libQt5Qml.so.5
#40 0x00007ff5e2069b11 in  () at /usr/lib/libQt5Qml.so.5
#41 0x00007ff5e209a00d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib/libQt5Qml.so.5
#42 0x00007ff5e0b2c955 in  () at /usr/lib/libQt5Core.so.5
#43 0x00007ff5e2602263 in QQuickMouseArea::pressed(QQuickMouseEvent*) () at /usr/lib/libQt5Quick.so.5
#44 0x00007ff5e2603be8 in QQuickMouseArea::setPressed(Qt::MouseButton, bool, Qt::MouseEventSource) () at /usr/lib/libQt5Quick.so.5
#45 0x00007ff5e26046e9 in QQuickMouseArea::mousePressEvent(QMouseEvent*) () at /usr/lib/libQt5Quick.so.5
#46 0x00007ff5e259b058 in QQuickItem::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#47 0x00007ff5e1791752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#48 0x00007ff5e0af5a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#49 0x00007ff5e25b6162 in QQuickWindowPrivate::deliverMatchingPointsToItem(QQuickItem*, QQuickPointerEvent*, bool) () at /usr/lib/libQt5Quick.so.5
#50 0x00007ff5e25b7248 in QQuickWindowPrivate::deliverPressOrReleaseEvent(QQuickPointerEvent*, bool) () at /usr/lib/libQt5Quick.so.5
#51 0x00007ff5e25b7b86 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () at /usr/lib/libQt5Quick.so.5
#52 0x00007ff5e25b8c4c in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () at /usr/lib/libQt5Quick.so.5
#53 0x00007ff5e0edbb95 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#54 0x00007ff5e1791752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#55 0x00007ff5e0af5a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#56 0x00007ff5e0ecf594 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#57 0x00007ff5e0ea4bb5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#58 0x00007ff5da5df16c in  () at /usr/lib/libQt5XcbQpa.so.5
#59 0x00007ff5deedca84 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#60 0x00007ff5def309b1 in  () at /usr/lib/libglib-2.0.so.0
#61 0x00007ff5deedb2b1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#62 0x00007ff5e0b4e6e1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#63 0x00007ff5e0af43fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#64 0x00007ff5e0afc894 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#65 0x0000562a36dfc069 in  ()
#66 0x00007ff5e04c0152 in __libc_start_main () at /usr/lib/libc.so.6
#67 0x0000562a36dfc2ae in  ()
[Inferior 1 (process 1092) detached]
Comment 2 Aleix Pol 2021-02-04 02:57:09 UTC
The backtrace you just sent is from plasmashell, not Discover.

We will need some more information.
Comment 3 loderunner 2021-02-04 17:45:58 UTC
Today is the same ... but gives no error message this time ... it just opens and closes while fetching updates  again I did the updates with Pacman and rebooted but the problem remains the same
Comment 4 loderunner 2021-02-04 22:43:09 UTC
Application: plasma-discover (5.20.5)

Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.10.12-arch1-1 x86_64
Windowing system: X11
Distribution: Arch Linux

-- Information about the crash:
Clicking Updates available starts Discover that closes short after opening fetching updates

The crash can be reproduced every time.

-- Backtrace:
A useful backtrace could not be generated
Comment 5 loderunner 2021-02-06 20:35:45 UTC
problem no longer exists ... works again 
this the script 'updates' that initiates Discover :

#!/bin/sh

if ! updates_arch=$(checkupdates 2> /dev/null | wc -l ); then
    updates_arch=0
fi

if ! updates_aur=$(yay -Qum | wc -l); then
    updates_aur=0
fi

updates=$(("$updates_arch" + "$updates_aur"))

if [ "$updates" -gt 0 ]; then
    echo "# $updates"
else
    echo ""
fi
Comment 6 Bug Janitor Service 2021-02-21 04:33:13 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 7 Bug Janitor Service 2021-03-08 04:33:35 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!