Bug 403158 - plasma-discovers always crashes on startup after starting it once outside of KDE/Plasma
Summary: plasma-discovers always crashes on startup after starting it once outside of ...
Status: RESOLVED DUPLICATE of bug 402328
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.14.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-01-12 23:15 UTC by pujos.michael
Modified: 2019-01-14 17:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pujos.michael 2019-01-12 23:15:27 UTC
Application: plasma-discover (5.14.5)

Qt Version: 5.12.0
Frameworks Version: 5.53.0
Operating System: Linux 4.19.12-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

I launched plasma-discover in an i3wm session (thus outside of KDE) in a terminal. It started fine and refreshed the packages.
Then I close it in the terminal with CTRL-C. Since then it always crashes on startup, even in a KDE/Plasma session.

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff8203da340 (LWP 6286))]

Thread 14 (Thread 0x7ff7ea7fc700 (LWP 6308)):
#0  0x00007ff8228c58c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ff823d595b5 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007ff823d596e5 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007ff823d577e2 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007ff823d53702 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#6  0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7ff7eaffd700 (LWP 6307)):
#0  0x00007ff8219f3ec4 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007ff8219ac4fc in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8219aceeb in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ff8219ad0dc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007ff823f5d88b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007ff823f0802b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007ff823d523b6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007ff823d53702 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#9  0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7ff7eb7fe700 (LWP 6303)):
#0  0x00007ff82382b2c9 in poll () at /lib64/libc.so.6
#1  0x00007ff8219acfb6 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8219ad342 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ff80c32db56 in  () at /usr/lib64/libgio-2.0.so.0
#4  0x00007ff8219d5506 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#6  0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7ff7ebfff700 (LWP 6302)):
#0  0x00007ff82382b2c9 in poll () at /lib64/libc.so.6
#1  0x00007ff8219acfb6 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8219ad0dc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ff8219ad121 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007ff8219d5506 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#6  0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7ff7f9bde700 (LWP 6301)):
#0  0x00007ff8228c58c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ff823d595b5 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007ff823d596e5 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007ff823d577e2 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007ff823d53702 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#6  0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7ff7fb7fe700 (LWP 6294)):
#0  0x00007ff823830739 in syscall () at /lib64/libc.so.6
#1  0x00007ff823d55a24 in QSemaphore::acquire(int) () at /usr/lib64/libQt5Core.so.5
#2  0x00007ff82323fb84 in  () at /usr/lib64/libQt5Network.so.5
#3  0x00007ff823d53702 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#5  0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7ff7fbfff700 (LWP 6293)):
#0  0x00007ff823826d34 in read () at /lib64/libc.so.6
#1  0x00007ff8219f2b20 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8219acabb in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ff8219acf60 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007ff8219ad0dc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007ff823f5d88b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007ff823f0802b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007ff823d523b6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007ff823d53702 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#10 0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7ff80cc9d700 (LWP 6292)):
#0  0x00007ff82382b2c9 in poll () at /lib64/libc.so.6
#1  0x00007ff8219acfb6 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8219ad0dc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ff823f5d88b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ff823f0802b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007ff823d523b6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007ff823d53702 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#8  0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7ff80e3a5700 (LWP 6291)):
#0  0x00007ff8219f3ec4 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007ff8219acf76 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8219ad0dc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ff823f5d88b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ff823f0802b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007ff823d523b6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007ff8257fe246 in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007ff823d53702 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#9  0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7ff80f5b6700 (LWP 6290)):
#0  0x00007ff8228c54dc in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ff80f8d3083 in  () at /usr/lib64/dri/i965_dri.so
#2  0x00007ff80f8d2dd7 in  () at /usr/lib64/dri/i965_dri.so
#3  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#4  0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7ff816733700 (LWP 6289)):
#0  0x00007ff82382b2c9 in poll () at /lib64/libc.so.6
#1  0x00007ff8219acfb6 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8219ad0dc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ff823f5d88b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ff823f0802b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007ff823d523b6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007ff824571f25 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007ff823d53702 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#9  0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7ff817944700 (LWP 6288)):
#0  0x00007ff82382b2c9 in poll () at /lib64/libc.so.6
#1  0x00007ff8219acfb6 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8219ad0dc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ff823f5d88b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ff823f0802b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007ff823d523b6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007ff825356565 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007ff823d53702 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#9  0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7ff81db1d700 (LWP 6287)):
#0  0x00007ff82382b2c9 in poll () at /lib64/libc.so.6
#1  0x00007ff8218cbcc7 in  () at /usr/lib64/libxcb.so.1
#2  0x00007ff8218cd8ea in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007ff81e7335da in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007ff823d53702 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007ff8228bf554 in start_thread () at /lib64/libpthread.so.0
#6  0x00007ff823835ccf in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ff8203da340 (LWP 6286)):
[KCrash Handler]
#6  0x00007ff825d76e12 in AbstractResource::reportNewState() () at /usr/lib64/plasma-discover/libDiscoverCommon.so
#7  0x00007ff823f33200 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#8  0x00007ff80c415945 in  () at /usr/lib64/qt5/plugins/discover/fwupd-backend.so
#9  0x00007ff80c416157 in  () at /usr/lib64/qt5/plugins/discover/fwupd-backend.so
#10 0x00007ff80c416a39 in  () at /usr/lib64/qt5/plugins/discover/fwupd-backend.so
#11 0x00007ff823f33200 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#12 0x00007ff823d5dbc5 in QFutureWatcherBase::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#13 0x00007ff824e3d591 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007ff824e44b50 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007ff823f09359 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#16 0x00007ff823f0c357 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#17 0x00007ff823f5e263 in  () at /usr/lib64/libQt5Core.so.5
#18 0x00007ff8219acc85 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#19 0x00007ff8219ad048 in  () at /usr/lib64/libglib-2.0.so.0
#20 0x00007ff8219ad0dc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#21 0x00007ff823f5d873 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#22 0x00007ff823f0802b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#23 0x00007ff823f10192 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#24 0x000056153d274b23 in  ()
#25 0x00007ff82375dfeb in __libc_start_main () at /lib64/libc.so.6
#26 0x000056153d2750ca in _start ()
[Inferior 1 (process 6286) detached]

Reported using DrKonqi
Comment 1 pujos.michael 2019-01-12 23:38:49 UTC
As the backtrace hints at, it is the fwupd backend that is causing the crash. After uninstalling it (the backend), Discover starts up fine again.
Comment 2 Aleix Pol 2019-01-14 17:53:36 UTC

*** This bug has been marked as a duplicate of bug 402328 ***