Bug 366264 - Was doing upgrade in Plasma DIscover
Summary: Was doing upgrade in Plasma DIscover
Status: RESOLVED DUPLICATE of bug 370906
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.7.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-07-30 00:27 UTC by Bill Brasky
Modified: 2017-02-01 14:27 UTC (History)
2 users (show)

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 Bill Brasky 2016-07-30 00:27:56 UTC
Application: plasma-discover (5.7.2)

Qt Version: 5.7.0
Frameworks Version: 5.25.0
Operating System: Linux 4.4.0-28-generic x86_64
Distribution: KDE neon User Edition 5.7

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

Was doing upgrade in Plasma Discover. Application was launched from system tray, from the little up-arrow.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5656fbd8c0 (LWP 21926))]

Thread 7 (Thread 0x7f562553f700 (LWP 21939)):
#0  0x00007f56544ec482 in QTimerInfoList::repairTimersIfNeeded (this=0x7f5618002cd0) at kernel/qtimerinfo_unix.cpp:161
#1  0x00007f56544ec503 in QTimerInfoList::timerWait (this=0x7f5618002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:389
#2  0x00007f56544edb5c in timerSourcePrepareHelper (timeout=0x7f562553eb34, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#3  idleTimerSourcePrepare (source=<optimized out>, timeout=0x7f562553eb34) at kernel/qeventdispatcher_glib.cpp:212
#4  0x00007f564f5fe92d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f564f5ff2cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f564f5ff4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f56544ee30b in QEventDispatcherGlib::processEvents (this=0x7f56180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f5654498d9a in QEventLoop::exec (this=this@entry=0x7f562553ed00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#9  0x00007f56542be044 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#10 0x00007f56542c2c28 in QThreadPrivate::start (arg=0x1c5a9b0) at thread/qthread_unix.cpp:344
#11 0x00007f56512786fa in start_thread (arg=0x7f562553f700) at pthread_create.c:333
#12 0x00007f56538c6b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f5626ccc700 (LWP 21936)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f56542c3adb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1c60ab0) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x18f13a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f56568fbf5d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f56568fc835 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f56542c2c28 in QThreadPrivate::start (arg=0x18f1320) at thread/qthread_unix.cpp:344
#6  0x00007f56512786fa in start_thread (arg=0x7f5626ccc700) at pthread_create.c:333
#7  0x00007f56538c6b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f5634c1f700 (LWP 21930)):
#0  0x00007f564f643ae4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f564f5fe920 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f564f5ff2cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f564f5ff4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f56544ee30b in QEventDispatcherGlib::processEvents (this=0x7f562c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f5654498d9a in QEventLoop::exec (this=this@entry=0x7f5634c1ed00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#6  0x00007f56542be044 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f56542c2c28 in QThreadPrivate::start (arg=0x1bcdf50) at thread/qthread_unix.cpp:344
#8  0x00007f56512786fa in start_thread (arg=0x7f5634c1f700) at pthread_create.c:333
#9  0x00007f56538c6b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f563d2df700 (LWP 21929)):
#0  0x00007f56538bae8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f564f5ff39c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f564f5ff4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f56544ee30b in QEventDispatcherGlib::processEvents (this=0x7f56300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f5654498d9a in QEventLoop::exec (this=this@entry=0x7f563d2dece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007f56542be044 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f56563ff685 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f56542c2c28 in QThreadPrivate::start (arg=0x16df230) at thread/qthread_unix.cpp:344
#8  0x00007f56512786fa in start_thread (arg=0x7f563d2df700) at pthread_create.c:333
#9  0x00007f56538c6b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f563e4f0700 (LWP 21928)):
#0  0x00007f56538b69cd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f564f642740 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f564f5fee84 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f564f5ff340 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f564f5ff4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f56544ee30b in QEventDispatcherGlib::processEvents (this=0x7f56380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f5654498d9a in QEventLoop::exec (this=this@entry=0x7f563e4efcd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#7  0x00007f56542be044 in QThread::exec (this=this@entry=0x7f5651b83d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#8  0x00007f5651b0f7a5 in QDBusConnectionManager::run (this=0x7f5651b83d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:196
#9  0x00007f56542c2c28 in QThreadPrivate::start (arg=0x7f5651b83d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:344
#10 0x00007f56512786fa in start_thread (arg=0x7f563e4f0700) at pthread_create.c:333
#11 0x00007f56538c6b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f5646eac700 (LWP 21927)):
#0  0x00007f56538bae8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f564f194c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f564f1968d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f5649a35a39 in QXcbEventReader::run (this=0x1655b00) at qxcbconnection.cpp:1337
#4  0x00007f56542c2c28 in QThreadPrivate::start (arg=0x1655b00) at thread/qthread_unix.cpp:344
#5  0x00007f56512786fa in start_thread (arg=0x7f5646eac700) at pthread_create.c:333
#6  0x00007f56538c6b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f5656fbd8c0 (LWP 21926)):
[KCrash Handler]
#6  QString::QString (other=..., this=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:898
#7  UpdateItem::changelog (this=0x2d19860) at /workspace/build/libdiscover/UpdateModel/UpdateItem.cpp:87
#8  0x00007f5656552e0c in QTypedArrayData<int>::allocate (options=..., capacity=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:222
#9  QVector<int>::QVector (args=..., this=0x7ffef3963b50) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:508
#10 UpdateModel::resourceHasProgressed (this=0x1899570, res=<optimized out>, progress=50) at /workspace/build/libdiscover/UpdateModel/UpdateModel.cpp:82
#11 0x00007f56544c5f36 in QtPrivate::QSlotObjectBase::call (a=0x7ffef3963cc0, r=0x1899570, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:130
#12 QMetaObject::activate (sender=0x1ca7fd0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3723
#13 0x00007f565656ae4c in ReviewsModel::qt_static_metacall (_o=0x0, _c=47290464, _id=24, _a=0x7ffef3963cc0) at /workspace/build/obj-x86_64-linux-gnu/libdiscover/moc_ReviewsModel.cpp:164
#14 0x03bf2a9ca9f5ee00 in ?? ()
#15 0x00007ffef3963df0 in ?? ()
#16 0x00007f56544c5f36 in QtPrivate::QSlotObjectBase::call (a=0x7ffef3963e10, r=0x7ffef3963cb0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:130
#17 QMetaObject::activate (sender=0x1d41f20, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3723
#18 0x00007f565656a97c in AbstractResource::changelogFetched (this=0x0, _t1=...) at /workspace/build/obj-x86_64-linux-gnu/libdiscover/moc_AbstractResource.cpp:380
#19 0x03bf2a9ca9f5ee00 in ?? ()
#20 0x00007ffef3963e50 in ?? ()
#21 0x00007f5627eada69 in std::__atomic_base<int>::operator++ (this=0x18) at /usr/include/c++/5/bits/atomic_base.h:296
#22 QAtomicOps<int>::ref<int> (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:141
#23 QBasicAtomicInteger<int>::ref (this=0x18) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:110
#24 QtPrivate::RefCount::ref (this=0x18) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:61
#25 QString::QString (other=..., this=0x7ffef3963e70) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:899
#26 PackageKitUpdater::itemProgress (this=0x0, itemID=..., percentage=4086709440) at /workspace/build/libdiscover/backends/PackageKitBackend/PackageKitUpdater.cpp:310
#27 0x00007f56544c5f36 in QtPrivate::QSlotObjectBase::call (a=0x7ffef3963fe0, r=0x1d41f20, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:130
#28 QMetaObject::activate (sender=0x3d25f50, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3723
#29 0x00007f5627c65534 in PackageKit::Transaction::itemProgress(QString const&, PackageKit::Transaction::Status, unsigned int) () from /usr/lib/x86_64-linux-gnu/libpackagekitqt5.so.0
#30 0x00007f5627c67c89 in ?? () from /usr/lib/x86_64-linux-gnu/libpackagekitqt5.so.0
#31 0x00007f56544c5bc9 in QMetaObject::activate (sender=0x395aa10, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3740
#32 0x00007f5627c74254 in OrgFreedesktopPackageKitTransactionInterface::ItemProgress(QString const&, unsigned int, unsigned int) () from /usr/lib/x86_64-linux-gnu/libpackagekitqt5.so.0
#33 0x00007f5627c74b06 in ?? () from /usr/lib/x86_64-linux-gnu/libpackagekitqt5.so.0
#34 0x00007f5627c76dc8 in OrgFreedesktopPackageKitTransactionInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/libpackagekitqt5.so.0
#35 0x00007f5651b1bae3 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:983
#36 0x00007f56544c6ad9 in QObject::event (this=0x395aa10, e=<optimized out>) at kernel/qobject.cpp:1263
#37 0x00007f565501889c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x395aa10, e=0x7f56380c6340) at kernel/qapplication.cpp:3799
#38 0x00007f5655020296 in QApplication::notify (this=0x7ffef3964c20, receiver=0x395aa10, e=0x7f56380c6340) at kernel/qapplication.cpp:3556
#39 0x00007f565449ada8 in QCoreApplication::notifyInternal2 (receiver=0x395aa10, event=event@entry=0x7f56380c6340) at kernel/qcoreapplication.cpp:988
#40 0x00007f565449d46b in QCoreApplication::sendEvent (event=0x7f56380c6340, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1639160) at kernel/qcoreapplication.cpp:1649
#42 0x00007f565449d8d8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#43 0x00007f56544edee3 in postEventSourceDispatch (s=0x16765b0) at kernel/qeventdispatcher_glib.cpp:276
#44 0x00007f564f5ff1a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f564f5ff400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f564f5ff4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f56544ee2ef in QEventDispatcherGlib::processEvents (this=0x1684060, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#48 0x00007f5654498d9a in QEventLoop::exec (this=this@entry=0x7ffef3964b40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#49 0x00007f56544a13ac in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#50 0x00007f5654a75dbc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1639
#51 0x00007f56550187f5 in QApplication::exec () at kernel/qapplication.cpp:2975
#52 0x0000000000409634 in main (argc=3, argv=<optimized out>) at /workspace/build/discover/main.cpp:144

Reported using DrKonqi
Comment 1 Aleix Pol 2016-10-03 13:29:24 UTC
Can you reproduce this?
Seems like you got to a weird state there, if you have any idea of how it got there, I'd love to know.

Note for future me: See how in #26 this=0x0
Comment 2 Bill Brasky 2016-10-09 07:55:28 UTC
There was a lot when this occurred. I haven't had time to recreate the exact conditions but I've used KDE a lot since this and done a few apt upgrades and the issue hasn't recurred.
Comment 3 Aleix Pol 2017-02-01 14:27:16 UTC

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