Bug 394737 - Discover crash after failed to install eric6 and eric6 webbrowser
Summary: Discover crash after failed to install eric6 and eric6 webbrowser
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.12.90
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
: 394218 394841 394894 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-05-27 10:20 UTC by mijs tonen
Modified: 2018-06-06 01:16 UTC (History)
3 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 mijs tonen 2018-05-27 10:20:47 UTC
Application: plasma-discover (5.12.90)

Qt Version: 5.10.0
Frameworks Version: 5.47.0
Operating System: Linux 4.13.0-43-generic x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
- What I was doing when the application crashed:
There where 2 crashes. This report is only for the second crash altough the patterns where alsomst the same.
I tried to install the eric6 python pyqt IDE) web browser. It reported that it could not fullfill the dependencies. After leaving the error dialog and with the first attempt to move down the applications scroll bar it crashed. 
The first crash only differs in that I tried to install eric6.

Crashes of Discover are severe, they withhold users from installing applications or updates. I found with use of apt, aptitude and muon as a work arround. Maybe something to put in a faq, aka What todo if Discoverer (update) crashes?

-- 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 0x7f9c5ac608c0 (LWP 7771))]

Thread 11 (Thread 0x7f9c0b5ce700 (LWP 7786)):
#0  0x00007f9c55f7274d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9c5092d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c5092d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9c56bae5db in QEventDispatcherGlib::processEvents (this=0x7f9c040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f9c56b5565a in QEventLoop::exec (this=this@entry=0x7f9c0b5cdd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f9c56975554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#6  0x00007f9c5697a6eb in QThreadPrivate::start (arg=0xe432f0) at thread/qthread_unix.cpp:376
#7  0x00007f9c52a246ba in start_thread (arg=0x7f9c0b5ce700) at pthread_create.c:333
#8  0x00007f9c55f7e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f9c19148700 (LWP 7784)):
#0  0x00007f9c5092c7cd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9c5092d2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c5092d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9c56bae5db in QEventDispatcherGlib::processEvents (this=0x7f9c0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f9c56b5565a in QEventLoop::exec (this=this@entry=0x7f9c19147d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f9c56975554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#6  0x00007f9c5697a6eb in QThreadPrivate::start (arg=0x1dbd4b0) at thread/qthread_unix.cpp:376
#7  0x00007f9c52a246ba in start_thread (arg=0x7f9c19148700) at pthread_create.c:333
#8  0x00007f9c55f7e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f9c1bc62700 (LWP 7781)):
#0  0x00007f9c55f7274d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9c5092d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c5092d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9c56bae5db in QEventDispatcherGlib::processEvents (this=0x7f9c140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f9c56b5565a in QEventLoop::exec (this=this@entry=0x7f9c1bc61d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f9c56975554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#6  0x00007f9c5697a6eb in QThreadPrivate::start (arg=0x115b840) at thread/qthread_unix.cpp:376
#7  0x00007f9c52a246ba in start_thread (arg=0x7f9c1bc62700) at pthread_create.c:333
#8  0x00007f9c55f7e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f9c2783a700 (LWP 7780)):
#0  0x00007f9c55f7274d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9c5092d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c5092d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9c56bae5db in QEventDispatcherGlib::processEvents (this=0x7f9c200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f9c56b5565a in QEventLoop::exec (this=this@entry=0x7f9c27839c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f9c56975554 in QThread::exec (this=this@entry=0x1106a40) at thread/qthread.cpp:522
#6  0x00007f9c59d751c6 in QQuickPixmapReader::run (this=0x1106a40) at util/qquickpixmapcache.cpp:887
#7  0x00007f9c5697a6eb in QThreadPrivate::start (arg=0x1106a40) at thread/qthread_unix.cpp:376
#8  0x00007f9c52a246ba in start_thread (arg=0x7f9c2783a700) at pthread_create.c:333
#9  0x00007f9c55f7e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f9c28e8e700 (LWP 7779)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9c2f47a893 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f9c2f47a6f7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f9c52a246ba in start_thread (arg=0x7f9c28e8e700) at pthread_create.c:333
#4  0x00007f9c55f7e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f9c2968f700 (LWP 7778)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9c2f47a893 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f9c2f47a6f7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f9c52a246ba in start_thread (arg=0x7f9c2968f700) at pthread_create.c:333
#4  0x00007f9c55f7e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f9c29e90700 (LWP 7777)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9c2f47a893 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f9c2f47a6f7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f9c52a246ba in start_thread (arg=0x7f9c29e90700) at pthread_create.c:333
#4  0x00007f9c55f7e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f9c2a691700 (LWP 7776)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9c2f47a893 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f9c2f47a6f7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f9c52a246ba in start_thread (arg=0x7f9c2a691700) at pthread_create.c:333
#4  0x00007f9c55f7e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f9c3d9c3700 (LWP 7775)):
#0  0x00007f9c55f7274d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9c5092d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c5092d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9c56bae5db in QEventDispatcherGlib::processEvents (this=0x7f9c300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f9c56b5565a in QEventLoop::exec (this=this@entry=0x7f9c3d9c2ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f9c56975554 in QThread::exec (this=this@entry=0xb5f860) at thread/qthread.cpp:522
#6  0x00007f9c57550a35 in QQmlThreadPrivate::run (this=0xb5f860) at qml/ftw/qqmlthread.cpp:147
#7  0x00007f9c5697a6eb in QThreadPrivate::start (arg=0xb5f860) at thread/qthread_unix.cpp:376
#8  0x00007f9c52a246ba in start_thread (arg=0x7f9c3d9c3700) at pthread_create.c:333
#9  0x00007f9c55f7e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f9c3ebd4700 (LWP 7774)):
#0  0x00007f9c50971a94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9c5092d4a6 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c56bae5db in QEventDispatcherGlib::processEvents (this=0x7f9c380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#3  0x00007f9c56b5565a in QEventLoop::exec (this=this@entry=0x7f9c3ebd3cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#4  0x00007f9c56975554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#5  0x00007f9c588762c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f9c5697a6eb in QThreadPrivate::start (arg=0x7f9c58aead60) at thread/qthread_unix.cpp:376
#7  0x00007f9c52a246ba in start_thread (arg=0x7f9c3ebd4700) at pthread_create.c:333
#8  0x00007f9c55f7e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9c5ac608c0 (LWP 7771)):
[KCrash Handler]
#6  0x00007f9c56b88447 in QObject::disconnect (sender=0x46a18f0, signal=signal@entry=0x0, receiver=receiver@entry=0x2f98ff0, method=method@entry=0x0) at kernel/qobject.cpp:2982
#7  0x00007f9c599fbc78 in TransactionListener::setTransaction (this=0x2f98ff0, trans=0x0) at /workspace/build/libdiscover/Transaction/TransactionListener.cpp:117
#8  0x00007f9c599fc432 in TransactionListener::setResource (this=<optimized out>, resource=<optimized out>) at /workspace/build/libdiscover/Transaction/TransactionListener.cpp:65
#9  0x00007f9c59a270d8 in TransactionListener::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/libdiscover/moc_TransactionListener.cpp:249
#10 0x00007f9c57539d34 in QQmlPropertyData::writeProperty (flags=..., value=<optimized out>, target=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.10.0/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:320
#11 QObjectPointerBinding::write (this=0xff01e0, result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:666
#12 0x00007f9c5753b270 in QQmlNonbindingBinding::doUpdate (this=0xff01e0, watcher=..., flags=..., scope=...) at qml/qqmlbinding.cpp:211
#13 0x00007f9c5753825b in QQmlBinding::update (this=0xff01e0, flags=..., flags@entry=...) at qml/qqmlbinding.cpp:168
#14 0x00007f9c575384be in QQmlBinding::refresh (this=<optimized out>) at qml/qqmlbinding.cpp:484
#15 0x00007f9c5750d197 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:106
#16 0x00007f9c574aa664 in QQmlData::signalEmitted (object=0x2e933a0, index=3, a=0x0) at qml/qqmlengine.cpp:849
#17 0x00007f9c56b84b9e in QMetaObject::activate (sender=sender@entry=0x2e933a0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3644
#18 0x00007f9c574c5b72 in QQmlContext::setContextProperty (this=this@entry=0x2e933a0, name=..., value=0x35a32b0) at qml/qqmlcontext.cpp:364
#19 0x00007f9c574c5e8e in QQmlContext::setContextProperty (this=this@entry=0x2e933a0, name=..., value=...) at qml/qqmlcontext.cpp:313
#20 0x00007f9c37decc53 in DelegateRecycler::setSourceComponent (this=0x4210ac0, component=<optimized out>) at /workspace/build/src/delegaterecycler.cpp:174
#21 0x00007f9c37ded7db in DelegateRecycler::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/src/moc_delegaterecycler.cpp:114
#22 0x00007f9c57539d34 in QQmlPropertyData::writeProperty (flags=..., value=<optimized out>, target=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.10.0/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:320
#23 QObjectPointerBinding::write (this=0x2f73700, result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:666
#24 0x00007f9c5753b270 in QQmlNonbindingBinding::doUpdate (this=0x2f73700, watcher=..., flags=..., scope=...) at qml/qqmlbinding.cpp:211
#25 0x00007f9c5753825b in QQmlBinding::update (this=0x2f73700, flags=...) at qml/qqmlbinding.cpp:168
#26 0x00007f9c57545091 in QQmlObjectCreator::finalize (this=0x4349500, interrupt=...) at qml/qqmlobjectcreator.cpp:1225
#27 0x00007f9c574c2a82 in QQmlIncubatorPrivate::incubate (this=0x43466b0, i=...) at qml/qqmlincubator.cpp:344
#28 0x00007f9c574c36a4 in QQmlIncubationController::incubateFor (this=this@entry=0xbd1450, msecs=<optimized out>) at qml/qqmlincubator.cpp:408
#29 0x00007f9c59e53448 in QQuickWindowIncubationController::incubate (this=0xbd1440) at items/qquickwindow.cpp:156
#30 QQuickWindowIncubationController::timerEvent (this=0xbd1440) at items/qquickwindow.cpp:139
#31 0x00007f9c56b85493 in QObject::event (this=0xbd1440, e=<optimized out>) at kernel/qobject.cpp:1268
#32 0x00007f9c5815cacc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xbd1440, e=0x7ffc9de2f560) at kernel/qapplication.cpp:3732
#33 0x00007f9c58164417 in QApplication::notify (this=0x7ffc9de2f8b0, receiver=0xbd1440, e=0x7ffc9de2f560) at kernel/qapplication.cpp:3491
#34 0x00007f9c56b573d8 in QCoreApplication::notifyInternal2 (receiver=0xbd1440, event=event@entry=0x7ffc9de2f560) at kernel/qcoreapplication.cpp:1044
#35 0x00007f9c56bad98e in QCoreApplication::sendEvent (event=0x7ffc9de2f560, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#36 QTimerInfoList::activateTimers (this=0xae46e0) at kernel/qtimerinfo_unix.cpp:643
#37 0x00007f9c56bae211 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#38 0x00007f9c5092d197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f9c5092d3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f9c5092d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f9c56bae5bf in QEventDispatcherGlib::processEvents (this=this@entry=0xade8a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#42 0x00007f9c4a247351 in QPAEventDispatcherGlib::processEvents (this=0xade8a0, flags=...) at qeventdispatcher_glib.cpp:69
#43 0x00007f9c56b5565a in QEventLoop::exec (this=this@entry=0x7ffc9de2f7d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#44 0x00007f9c56b5e864 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1332
#45 0x00007f9c579ac8dc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1703
#46 0x00007f9c5815ca25 in QApplication::exec () at kernel/qapplication.cpp:2917
#47 0x0000000000412fbf in main (argc=1, argv=<optimized out>) at /workspace/build/discover/main.cpp:156

Reported using DrKonqi
Comment 1 Aleix Pol 2018-06-01 00:40:55 UTC
*** Bug 394894 has been marked as a duplicate of this bug. ***
Comment 2 Aleix Pol 2018-06-01 00:42:13 UTC
Git commit a421a5c040cffccc50371cf3b652929548d05dc2 by Aleix Pol.
Committed on 01/06/2018 at 00:40.
Pushed by apol into branch 'Plasma/5.12'.

Make sure we don't end up with a stale transaction

It seems to be a crash some people get sometimes, better safe than
sorry.

M  +4    -0    libdiscover/Transaction/TransactionListener.cpp

https://commits.kde.org/discover/a421a5c040cffccc50371cf3b652929548d05dc2
Comment 3 Aleix Pol 2018-06-01 00:45:41 UTC
*** Bug 394218 has been marked as a duplicate of this bug. ***
Comment 4 Aleix Pol 2018-06-06 01:16:45 UTC
*** Bug 394841 has been marked as a duplicate of this bug. ***