Bug 373460 - KIO::JobUiDelegate::requestMessageBox called from the wrong thread
Summary: KIO::JobUiDelegate::requestMessageBox called from the wrong thread
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.8.3
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-12-09 12:40 UTC by tbj002
Modified: 2018-04-10 08:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-24108-0.html (1.68 KB, text/html)
2018-01-29 17:21 UTC, tbj002
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbj002 2016-12-09 12:40:10 UTC
Application: plasma-discover (5.8.3)

Qt Version: 5.7.1
Frameworks Version: 5.27.0
Operating System: Linux 4.8.0-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (stretch)

-- Information about the crash:
- What I was doing when the application crashed:  I was attempting to start updates in Discover.  It has crashed many times, it works very seldom.  This is the first time I've reported this however.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7effb8a7b8c0 (LWP 3040))]

Thread 10 (Thread 0x7eff895fe700 (LWP 3267)):
#0  0x00007effc3ece56d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007effafde1eb1 in  () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007effafdd3681 in pa_mainloop_poll () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007effafdd3d1e in pa_mainloop_iterate () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007effafdd3dd0 in pa_mainloop_run () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007effafde1df9 in  () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007effaf568238 in  () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-9.0.so
#7  0x00007effc1808464 in start_thread (arg=0x7eff895fe700) at pthread_create.c:333
#8  0x00007effc3ed79df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 9 (Thread 0x7eff692f4700 (LWP 3223)):
#0  0x00007fff95fb7afb in clock_gettime ()
#1  0x00007effc3ee4886 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7eff692f3ad0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007effc4966001 in qt_gettime() (ts=0x7eff692f3ad0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:109
#3  0x00007effc4966001 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:164
#4  0x00007effc4966001 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:173
#5  0x00007effc4aee379 in QTimerInfoList::updateCurrentTime() (this=0x7eff74007b80) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007effc4af0055 in timerSourceCheck(GSource*) (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:146
#7  0x00007effc4af0055 in timerSourceCheck(GSource*) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:173
#8  0x00007effbf8fa3f9 in g_main_context_check (context=context@entry=0x7eff74016ad0, max_priority=2147483647, fds=fds@entry=0x7eff74024900, n_fds=n_fds@entry=1) at ././glib/gmain.c:3762
#9  0x00007effbf8fa994 in g_main_context_iterate (context=context@entry=0x7eff74016ad0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3926
#10 0x00007effbf8fab0c in g_main_context_iteration (context=0x7eff74016ad0, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#11 0x00007effc4af06fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7eff74000c00, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#12 0x00007effc4a9a07a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7eff692f3d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#13 0x00007effc48bc0d3 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:507
#14 0x00007effc48c0d88 in QThreadPrivate::start(void*) (arg=0x55cfe9fb2da0) at thread/qthread_unix.cpp:368
#15 0x00007effc1808464 in start_thread (arg=0x7eff692f4700) at pthread_create.c:333
#16 0x00007effc3ed79df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 8 (Thread 0x7eff79b6b700 (LWP 3055)):
#0  0x00007effc3ece56d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007effbf8fa9f6 in g_main_context_iterate (priority=<optimized out>, n_fds=1, fds=0x7eff700010c0, timeout=<optimized out>, context=0x55cfe9fbd6a0) at ././glib/gmain.c:4228
#2  0x00007effbf8fa9f6 in g_main_context_iterate (context=0x55cfe9fbd6a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3924
#3  0x00007effbf8fad82 in g_main_loop_run (loop=0x55cfe9fbd630) at ././glib/gmain.c:4125
#4  0x00007eff942734f6 in gdbus_shared_thread_func (user_data=0x55cfe9fbd670) at ././gio/gdbusprivate.c:247
#5  0x00007effbf922345 in g_thread_proxy (data=0x55cfe9dac0f0) at ././glib/gthread.c:784
#6  0x00007effc1808464 in start_thread (arg=0x7eff79b6b700) at pthread_create.c:333
#7  0x00007effc3ed79df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 7 (Thread 0x7eff7a36c700 (LWP 3054)):
#0  0x00007effbf8fa1a7 in g_main_context_query (context=context@entry=0x55cfe9fbcdf0, max_priority=2147483647, timeout=timeout@entry=0x7eff7a36bd14, fds=fds@entry=0x7eff6c0008c0, n_fds=n_fds@entry=1) at ././glib/gmain.c:3622
#1  0x00007effbf8fa968 in g_main_context_iterate (context=context@entry=0x55cfe9fbcdf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3911
#2  0x00007effbf8fab0c in g_main_context_iteration (context=0x55cfe9fbcdf0, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#3  0x00007effbf8fab51 in glib_worker_main (data=<optimized out>) at ././glib/gmain.c:5783
#4  0x00007effbf922345 in g_thread_proxy (data=0x55cfe9dac0a0) at ././glib/gthread.c:784
#5  0x00007effc1808464 in start_thread (arg=0x7eff7a36c700) at pthread_create.c:333
#6  0x00007effc3ed79df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 6 (Thread 0x7eff9cbdf700 (LWP 3047)):
#0  0x00007fff95fb7afb in clock_gettime ()
#1  0x00007effc3ee4886 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7eff9cbdead0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007effc4966001 in qt_gettime() (ts=0x7eff9cbdead0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:109
#3  0x00007effc4966001 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:164
#4  0x00007effc4966001 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:173
#5  0x00007effc4aee379 in QTimerInfoList::updateCurrentTime() (this=0x7eff90002ed0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007effc4af0055 in timerSourceCheck(GSource*) (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:146
#7  0x00007effc4af0055 in timerSourceCheck(GSource*) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:173
#8  0x00007effbf8fa3f9 in g_main_context_check (context=context@entry=0x7eff90000990, max_priority=2147483647, fds=fds@entry=0x7eff90003070, n_fds=n_fds@entry=1) at ././glib/gmain.c:3762
#9  0x00007effbf8fa994 in g_main_context_iterate (context=context@entry=0x7eff90000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3926
#10 0x00007effbf8fab0c in g_main_context_iteration (context=0x7eff90000990, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#11 0x00007effc4af06fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7eff900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#12 0x00007effc4a9a07a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7eff9cbded00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#13 0x00007effc48bc0d3 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:507
#14 0x00007effc48c0d88 in QThreadPrivate::start(void*) (arg=0x7eff98003650) at thread/qthread_unix.cpp:368
#15 0x00007effc1808464 in start_thread (arg=0x7eff9cbdf700) at pthread_create.c:333
#16 0x00007effc3ed79df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7eff9d3e0700 (LWP 3046)):
[KCrash Handler]
#6  0x00007effc56c6731 in QRasterPaintEngine::updatePen(QPen const&) (this=0x55cfebebbad0) at ../../include/QtGui/5.7.1/QtGui/private/../../../../../src/gui/painting/qpaintengine_raster_p.h:268
#7  0x00007effc56c6731 in QRasterPaintEngine::updatePen(QPen const&) (this=this@entry=0x55cfebebbad0, pen=...) at painting/qpaintengine_raster.cpp:758
#8  0x00007effc56c8a32 in QRasterPaintEngine::drawTextItem(QPointF const&, QTextItem const&) (pen=..., this=0x55cfebebbad0) at ../../include/QtGui/5.7.1/QtGui/private/../../../../../src/gui/painting/qpaintengine_raster_p.h:259
#9  0x00007effc56c8a32 in QRasterPaintEngine::drawTextItem(QPointF const&, QTextItem const&) (this=0x55cfebebbad0) at ../../include/QtGui/5.7.1/QtGui/private/../../../../../src/gui/painting/qpaintengine_raster_p.h:261
#10 0x00007effc56c8a32 in QRasterPaintEngine::drawTextItem(QPointF const&, QTextItem const&) (this=0x55cfebebbad0, p=..., textItem=...) at painting/qpaintengine_raster.cpp:3032
#11 0x00007effc56e52e6 in QPainterPrivate::drawTextItem(QPointF const&, QTextItem const&, QTextEngine*) (this=<optimized out>, p=..., _ti=..., textEngine=0x7eff980896f0) at painting/qpainter.cpp:6508
#12 0x00007effc55622ef in QTextLine::draw(QPainter*, QPointF const&, QTextLayout::FormatRange const*) const (this=this@entry=0x7eff9d3dcb10, p=p@entry=0x7eff9d3dda30, pos=..., selection=selection@entry=0x0) at text/qtextlayout.cpp:2599
#13 0x00007effc55630ed in QTextLayout::draw(QPainter*, QPointF const&, QVector<QTextLayout::FormatRange> const&, QRectF const&) const (this=this@entry=0x7eff980898b0, p=p@entry=0x7eff9d3dda30, pos=..., selections=..., clip=...) at text/qtextlayout.cpp:1252
#14 0x00007effc55a32d2 in QTextDocumentLayoutPrivate::drawBlock(QPointF const&, QPainter*, QAbstractTextDocumentLayout::PaintContext const&, QTextBlock const&, bool) const (this=this@entry=0x7eff98087f30, offset=..., painter=painter@entry=0x7eff9d3dda30, context=..., bl=..., inRootFrame=inRootFrame@entry=true) at text/qtextdocumentlayout.cpp:1359
#15 0x00007effc55a50b7 in QTextDocumentLayoutPrivate::drawFlow(QPointF const&, QPainter*, QAbstractTextDocumentLayout::PaintContext const&, QTextFrame::iterator, QList<QTextFrame*> const&, QTextBlock*) const (this=this@entry=0x7eff98087f30, offset=..., painter=painter@entry=0x7eff9d3dda30, context=..., it=..., floats=..., cursorBlockNeedingRepaint=<optimized out>) at text/qtextdocumentlayout.cpp:1257
#16 0x00007effc55a4ab2 in QTextDocumentLayoutPrivate::drawFrame(QPointF const&, QPainter*, QAbstractTextDocumentLayout::PaintContext const&, QTextFrame*) const (this=this@entry=0x7eff98087f30, offset=..., painter=painter@entry=0x7eff9d3dda30, context=..., frame=frame@entry=0x7eff980a4e00) at text/qtextdocumentlayout.cpp:1085
#17 0x00007effc55aecb9 in QTextDocumentLayout::draw(QPainter*, QAbstractTextDocumentLayout::PaintContext const&) (this=<optimized out>, painter=0x7eff9d3dda30, context=...) at text/qtextdocumentlayout.cpp:2886
#18 0x00007effc5bde4dc in QWidgetTextControl::drawContents(QPainter*, QRectF const&, QWidget*) (this=0x7eff98093840, p=p@entry=0x7eff9d3dda30, rect=..., widget=widget@entry=0x7eff980d8a80) at widgets/qwidgettextcontrol.cpp:3231
#19 0x00007effc5b4a026 in QLabel::paintEvent(QPaintEvent*) (this=0x7eff980d8a80) at widgets/qlabel.cpp:1056
#20 0x00007effc5a5b1d8 in QWidget::event(QEvent*) (this=this@entry=0x7eff980d8a80, event=event@entry=0x7eff9d3dde30) at kernel/qwidget.cpp:9161
#21 0x00007effc5b436ee in QFrame::event(QEvent*) (this=0x7eff980d8a80, e=0x7eff9d3dde30) at widgets/qframe.cpp:550
#22 0x00007effc5a13b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7eff980d8a80, e=0x7eff9d3dde30) at kernel/qapplication.cpp:3799
#23 0x00007effc5a1b2e1 in QApplication::notify(QObject*, QEvent*) (this=0x7fff95eeb5c0, receiver=0x7eff980d8a80, e=0x7eff9d3dde30) at kernel/qapplication.cpp:3556
#24 0x00007effc4a9c090 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x7eff980d8a80, event=event@entry=0x7eff9d3dde30) at kernel/qcoreapplication.cpp:988
#25 0x00007effc5a53f5a in QWidgetPrivate::sendPaintEvent(QRegion const&) (event=0x7eff9d3dde30, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#26 0x00007effc5a53f5a in QWidgetPrivate::sendPaintEvent(QRegion const&) (this=this@entry=0x7eff98093430, toBePainted=...) at kernel/qwidget.cpp:5705
#27 0x00007effc5a545a9 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (this=this@entry=0x7eff98093430, pdev=pdev@entry=0x55cfec02dd60, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5645
#28 0x00007effc5a5529c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (this=this@entry=0x7eff981d2c70, pdev=pdev@entry=0x55cfec02dd60, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7eff981ecd20) at kernel/qwidget.cpp:5840
#29 0x00007effc5a54114 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (this=this@entry=0x7eff981d2c70, pdev=pdev@entry=0x55cfec02dd60, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5697
#30 0x00007effc5a5529c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (this=this@entry=0x7eff980b0510, pdev=pdev@entry=0x55cfec02dd60, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7eff981ecd20) at kernel/qwidget.cpp:5840
#31 0x00007effc5a54114 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (this=0x7eff980b0510, pdev=0x55cfec02dd60, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5697
#32 0x00007effc5a23f2a in QWidgetBackingStore::doSync() (this=this@entry=0x7eff981ecd20) at kernel/qwidgetbackingstore.cpp:1400
#33 0x00007effc5a240e7 in QWidgetBackingStore::sync() (this=0x7eff981ecd20) at kernel/qwidgetbackingstore.cpp:1179
#34 0x00007effc5a42f5f in QWidgetPrivate::syncBackingStore() (this=0x7eff980b0510) at kernel/qwidget.cpp:1962
#35 0x00007effc5a5b2a8 in QWidget::event(QEvent*) (this=0x7eff980df650, event=0x55cfec07b330) at kernel/qwidget.cpp:9100
#36 0x00007effc5a13b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7eff980df650, e=0x55cfec07b330) at kernel/qapplication.cpp:3799
#37 0x00007effc5a1b2e1 in QApplication::notify(QObject*, QEvent*) (this=0x7fff95eeb5c0, receiver=0x7eff980df650, e=0x55cfec07b330) at kernel/qapplication.cpp:3556
#38 0x00007effc4a9c090 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7eff980df650, event=event@entry=0x55cfec07b330) at kernel/qcoreapplication.cpp:988
#39 0x00007effc4a9e81d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x55cfec07b330, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 0x00007effc4a9e81d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55cfe9bc6790) at kernel/qcoreapplication.cpp:1649
#41 0x00007effc4a9ec88 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#42 0x00007effc4af02d3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x7eff980012d0) at kernel/qeventdispatcher_glib.cpp:276
#43 0x00007effbf8fa7f7 in g_main_context_dispatch (context=0x7eff98000990) at ././glib/gmain.c:3203
#44 0x00007effbf8fa7f7 in g_main_context_dispatch (context=context@entry=0x7eff98000990) at ././glib/gmain.c:3856
#45 0x00007effbf8faa60 in g_main_context_iterate (context=context@entry=0x7eff98000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3929
#46 0x00007effbf8fab0c in g_main_context_iteration (context=0x7eff98000990, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#47 0x00007effc4af06df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7eff980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#48 0x00007effc4a9a07a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7eff9d3dedf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#49 0x00007effc5c01df7 in QDialog::exec() (this=0x7eff980df650) at dialogs/qdialog.cpp:552
#50 0x00007effc238452b in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#51 0x00007effc2385076 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#52 0x00007effc23875fc in  () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#53 0x00007effc23879c5 in KMessageBox::warningYesNoCancel(QWidget*, QString const&, QString const&, KGuiItem const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#54 0x00007effc33e7f3e in KIO::JobUiDelegate::requestMessageBox(KIO::JobUiDelegateExtension::MessageBoxType, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, KIO::MetaData const&) () at /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#55 0x00007effbed1f3b6 in  () at /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#56 0x00007effc4ac8b39 in QObject::event(QEvent*) (this=0x7effbf046260, e=<optimized out>) at kernel/qobject.cpp:1263
#57 0x00007effc5a13b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7effbf046260, e=0x7eff980c91e0) at kernel/qapplication.cpp:3799
#58 0x00007effc5a1b2e1 in QApplication::notify(QObject*, QEvent*) (this=0x7fff95eeb5c0, receiver=0x7effbf046260, e=0x7eff980c91e0) at kernel/qapplication.cpp:3556
#59 0x00007effc4a9c090 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7effbf046260, event=event@entry=0x7eff980c91e0) at kernel/qcoreapplication.cpp:988
#60 0x00007effc4a9e81d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7eff980c91e0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#61 0x00007effc4a9e81d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55cfe9bc6790) at kernel/qcoreapplication.cpp:1649
#62 0x00007effc4a9ec88 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#63 0x00007effc4af02d3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x7eff980012d0) at kernel/qeventdispatcher_glib.cpp:276
#64 0x00007effbf8fa7f7 in g_main_context_dispatch (context=0x7eff98000990) at ././glib/gmain.c:3203
#65 0x00007effbf8fa7f7 in g_main_context_dispatch (context=context@entry=0x7eff98000990) at ././glib/gmain.c:3856
#66 0x00007effbf8faa60 in g_main_context_iterate (context=context@entry=0x7eff98000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3929
#67 0x00007effbf8fab0c in g_main_context_iteration (context=0x7eff98000990, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#68 0x00007effc4af06df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7eff980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#69 0x00007effc4a9a07a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7eff9d3dfc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#70 0x00007effc48bc0d3 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:507
#71 0x00007effc6eac856 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#72 0x00007effc48c0d88 in QThreadPrivate::start(void*) (arg=0x55cfe9c1fff0) at thread/qthread_unix.cpp:368
#73 0x00007effc1808464 in start_thread (arg=0x7eff9d3e0700) at pthread_create.c:333
#74 0x00007effc3ed79df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7effa7fff700 (LWP 3043)):
#0  0x00007fff95fb7afb in clock_gettime ()
#1  0x00007effc3ee4886 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7effa7ffea40) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007effc4966001 in qt_gettime() (ts=0x7effa7ffea40, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:109
#3  0x00007effc4966001 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:164
#4  0x00007effc4966001 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:173
#5  0x00007effc4aee379 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7effa0002cd0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007effc4aee925 in QTimerInfoList::timerWait(timespec&) (this=0x7effa0002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007effc4aefcce in timerSourcePrepare(GSource*, gint*) (timeout=0x7effa7ffeb14, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#8  0x00007effc4aefcce in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=timeout@entry=0x7effa7ffeb14) at kernel/qeventdispatcher_glib.cpp:165
#9  0x00007effbf8f9edd in g_main_context_prepare (context=context@entry=0x7effa0000990, priority=priority@entry=0x7effa7ffeba0) at ././glib/gmain.c:3501
#10 0x00007effbf8fa91b in g_main_context_iterate (context=context@entry=0x7effa0000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3909
#11 0x00007effbf8fab0c in g_main_context_iteration (context=0x7effa0000990, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#12 0x00007effc4af06fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7effa00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007effc4a9a07a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7effa7ffece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#14 0x00007effc48bc0d3 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:507
#15 0x00007effc52545d5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#16 0x00007effc48c0d88 in QThreadPrivate::start(void*) (arg=0x55cfe98b2e70) at thread/qthread_unix.cpp:368
#17 0x00007effc1808464 in start_thread (arg=0x7effa7fff700) at pthread_create.c:333
#18 0x00007effc3ed79df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7effad868700 (LWP 3042)):
#0  0x00007effc3ece56d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007effbf8fa9f6 in g_main_context_iterate (priority=<optimized out>, n_fds=1, fds=0x7effa8018670, timeout=<optimized out>, context=0x7effa8000990) at ././glib/gmain.c:4228
#2  0x00007effbf8fa9f6 in g_main_context_iterate (context=context@entry=0x7effa8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3924
#3  0x00007effbf8fab0c in g_main_context_iteration (context=0x7effa8000990, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#4  0x00007effc4af06fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7effa80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007effc4a9a07a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7effad867cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007effc48bc0d3 in QThread::exec() (this=this@entry=0x7effc777ed60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#7  0x00007effc77096d5 in QDBusConnectionManager::run() (this=0x7effc777ed60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007effc48c0d88 in QThreadPrivate::start(void*) (arg=0x7effc777ed60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x00007effc1808464 in start_thread (arg=0x7effad868700) at pthread_create.c:333
#10 0x00007effc3ed79df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7effb626d700 (LWP 3041)):
#0  0x00007effc3ece56d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007effbf48c150 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007effbf48dee9 in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007effb87ccb69 in QXcbEventReader::run() (this=0x55cfe9813ca0) at qxcbconnection.cpp:1343
#4  0x00007effc48c0d88 in QThreadPrivate::start(void*) (arg=0x55cfe9813ca0) at thread/qthread_unix.cpp:368
#5  0x00007effc1808464 in start_thread (arg=0x7effb626d700) at pthread_create.c:333
#6  0x00007effc3ed79df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7effb8a7b8c0 (LWP 3040)):
#0  0x00007effc180e18f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007effbf48c3c7 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007effbf48dc0f in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007effbf48dd22 in xcb_wait_for_reply () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007effc38a1317 in _XReply () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007effb858b3ef in XIQueryDevice () at /usr/lib/x86_64-linux-gnu/libXi.so.6
#6  0x00007effb87f7366 in QXcbConnection::handleEnterEvent() (this=0x55cfe97ff5e0) at qxcbconnection_xi2.cpp:903
#7  0x00007effb87e3d18 in QXcbWindow::handleEnterNotifyEvent(int, int, int, int, unsigned char, unsigned char, unsigned int) (this=0x7eff981ecbb0, event_x=192, event_y=108, root_x=928, root_y=590, mode=<optimized out>, detail=3 '\003', timestamp=155877) at qxcbwindow.cpp:2339
#8  0x00007effb87e428f in QXcbWindow::handleXIEnterLeave(xcb_ge_event_t*) (this=0x7eff981ecbb0, event=0x7effb00136d0) at qxcbwindow.cpp:2492
#9  0x00007effb87fc3bc in QXcbConnection::xi2HandleEvent(xcb_ge_event_t*) (this=this@entry=0x55cfe97ff5e0, event=event@entry=0x7effb00136d0) at qxcbconnection_xi2.cpp:578
#10 0x00007effb87ceaca in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x55cfe97ff5e0, event=event@entry=0x7effb00136d0) at qxcbconnection.cpp:1229
#11 0x00007effb87cf015 in QXcbConnection::processXcbEvents() (this=0x55cfe97ff5e0) at qxcbconnection.cpp:1741
#12 0x00007effc4ac8b39 in QObject::event(QEvent*) (this=0x55cfe97ff5e0, e=<optimized out>) at kernel/qobject.cpp:1263
#13 0x00007effc5a13b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55cfe97ff5e0, e=0x7effb0013930) at kernel/qapplication.cpp:3799
#14 0x00007effc5a1b2e1 in QApplication::notify(QObject*, QEvent*) (this=0x7fff95eeb5c0, receiver=0x55cfe97ff5e0, e=0x7effb0013930) at kernel/qapplication.cpp:3556
#15 0x00007effc4a9c090 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55cfe97ff5e0, event=event@entry=0x7effb0013930) at kernel/qcoreapplication.cpp:988
#16 0x00007effc4a9e81d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7effb0013930, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#17 0x00007effc4a9e81d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55cfe97f14e0) at kernel/qcoreapplication.cpp:1649
#18 0x00007effc4a9ec88 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#19 0x00007effc4af02d3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55cfe9864910) at kernel/qeventdispatcher_glib.cpp:276
#20 0x00007effbf8fa7f7 in g_main_context_dispatch (context=0x7effb00016f0) at ././glib/gmain.c:3203
#21 0x00007effbf8fa7f7 in g_main_context_dispatch (context=context@entry=0x7effb00016f0) at ././glib/gmain.c:3856
#22 0x00007effbf8faa60 in g_main_context_iterate (context=context@entry=0x7effb00016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3929
#23 0x00007effbf8fab0c in g_main_context_iteration (context=0x7effb00016f0, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#24 0x00007effc4af06df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55cfe986a5f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007effc4a9a07a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff95eeb4e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#26 0x00007effc4aa27ec in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1261
#27 0x000055cfe7fae9a9 in  ()
#28 0x00007effc3e0f2b1 in __libc_start_main (main=0x55cfe7fae2b0, argc=3, argv=0x7fff95eeb758, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff95eeb748) at ../csu/libc-start.c:291
#29 0x000055cfe7faeaca in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2016-12-13 20:42:20 UTC
Something QtQuick-based uses kio, and runs in the non-GUI thread. kio causes a KMessageBox, but those are not supported in the non-GUI thread.
Comment 2 Aleix Pol 2018-01-29 16:25:35 UTC
A way to reproduce this would be awesome.
Comment 3 tbj002 2018-01-29 17:21:28 UTC
Created attachment 110212 [details]
attachment-24108-0.html

When this happens, generally I've just opened Discover from the update
notifier in the notification area and accepted whatever updates it told me
to.  After the updates were applied, the crash would occur.

That said, now that I'm reading this and thinking about it, so haven't seen
the crash in a while I don't believe.  I allowed it to update this morning
and there was no crash after.

On Jan 29, 2018 10:25 AM, "Aleix Pol" <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=373460
>
> Aleix Pol <aleixpol@kde.org> changed:
>
>            What    |Removed                     |Added
> ------------------------------------------------------------
> ----------------
>             Summary|Discover crashes in
>  |KIO::JobUiDelegate::request
>                    |QRasterPaintEngine::updateP |MessageBox called from the
>                    |en() during update          |wrong thread
>
> --- Comment #2 from Aleix Pol <aleixpol@kde.org> ---
> A way to reproduce this would be awesome.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 4 Aleix Pol 2018-04-10 08:39:05 UTC
Doesn't look like it's happening anymore, let's assume fixed for now.