Bug 381644 - Dr. Konqi Crashes During Crash Report
Summary: Dr. Konqi Crashes During Crash Report
Status: RESOLVED FIXED
Alias: None
Product: drkonqi
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 272540 359405 362776 372108 372550 372730 384238 384400 387139 388436 389229 391534 392115 393667 395852 395962 396049 398424 399036 400550 400734 402003 407482 408107 408993 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-25 13:57 UTC by J.Fly
Modified: 2019-07-03 12:54 UTC (History)
24 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.16.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J.Fly 2017-06-25 13:57:19 UTC
Konqi crashed while trying to file a bug report on the kmail archiver for crashing.  It appears to be all QT5.9 related.  If you look up my last 2 reports they are similar, if not identical.  I'll keep filing them until someone says "FOR THE LOVE OF GOD STOP!" or something along those lines.

Plasma 5.10.2
Framework 5.34.0
QT 5.9.0
Kernel 4.11.6-1-default
Distro: OpenSUSE Tumbleweed

Application: drkonqi (drkonqi), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb5eec6e040 (LWP 7191))]

Thread 9 (Thread 0x7fb5bd53b700 (LWP 7205)):
#0  0x00007fb5e872b5ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb5c750d2fb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007fb5c750d037 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fb5e87254e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb5ea27fa2f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fb5bdd3c700 (LWP 7204)):
#0  0x00007fb5e872b5ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb5c750d2fb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007fb5c750d037 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fb5e87254e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb5ea27fa2f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fb5be53d700 (LWP 7203)):
#0  0x00007fb5e872b5ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb5c750d2fb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007fb5c750d037 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fb5e87254e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb5ea27fa2f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fb5bed3e700 (LWP 7202)):
#0  0x00007fb5e872b5ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb5c750d2fb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007fb5c750d037 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fb5e87254e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb5ea27fa2f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fb5bf77a700 (LWP 7201)):
#0  0x00007fb5e872b5ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb5c750d2fb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007fb5c750d037 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fb5e87254e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb5ea27fa2f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fb5c00bc700 (LWP 7200)):
#0  0x00007fb5e872b5ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb5c750d2fb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007fb5c750d037 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fb5e87254e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb5ea27fa2f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fb5cf796700 (LWP 7193)):
#0  0x00007fb5e653cb19 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fb5e64f7ccf in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb5e64f7dfc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb5eab9175b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fb5eab3ad0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fb5ea96d05a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fb5ebfb4a45 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fb5ea97173e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007fb5e87254e7 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fb5ea27fa2f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fb5dd2c0700 (LWP 7192)):
#0  0x00007fb5ea27608d in poll () from /lib64/libc.so.6
#1  0x00007fb5e59af387 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fb5e59b117a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fb5e0078249 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fb5ea97173e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fb5e87254e7 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fb5ea27fa2f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb5eec6e040 (LWP 7191)):
[KCrash Handler]
#6  BacktraceLine::type (this=<optimized out>) at /usr/src/debug/plasma-workspace-5.10.2/drkonqi/parser/backtraceline.h:59
#7  GdbHighlighter::highlightBlock (this=0x5640f631ed60, text=...) at /usr/src/debug/plasma-workspace-5.10.2/drkonqi/gdbhighlighter.cpp:80
#8  0x00007fb5eb2659f8 in QSyntaxHighlighterPrivate::reformatBlock(QTextBlock const&) () from /usr/lib64/libQt5Gui.so.5
#9  0x00007fb5eb265b90 in QSyntaxHighlighterPrivate::reformatBlocks(int, int, int) () from /usr/lib64/libQt5Gui.so.5
#10 0x00007fb5eab6957a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#11 0x00007fb5eb47dc6a in QTextDocument::contentsChange(int, int, int) () from /usr/lib64/libQt5Gui.so.5
#12 0x00007fb5eb224781 in QTextDocumentPrivate::finishEdit() () from /usr/lib64/libQt5Gui.so.5
#13 0x00007fb5eba8cc7c in QWidgetTextControlPrivate::append(QString const&, Qt::TextFormat) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007fb5eba475f9 in QTextEdit::append(QString const&) () from /usr/lib64/libQt5Widgets.so.5
#15 0x00005640f3e24ff0 in BacktraceWidget::backtraceNewLine (this=<optimized out>, line=...) at /usr/src/debug/plasma-workspace-5.10.2/drkonqi/backtracewidget.cpp:316
#16 0x00007fb5eab6967c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#17 0x00005640f3e714f5 in BacktraceGenerator::newLine (this=this@entry=0x5640f5ea4c80, _t1=...) at /usr/src/debug/plasma-workspace-5.10.2/build/drkonqi/drkonqi_autogen/EWIEGA46WW/moc_backtracegenerator.cpp:202
#18 0x00005640f3e291ea in BacktraceGenerator::slotReadInput (this=0x5640f5ea4c80) at /usr/src/debug/plasma-workspace-5.10.2/drkonqi/backtracegenerator.cpp:127
#19 0x00007fb5eab6967c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#20 0x00007fb5eaabd8aa in QProcess::readyReadStandardOutput(QProcess::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#21 0x00007fb5eaac4a21 in QProcessPrivate::tryReadFromChannel(QProcessPrivate::Channel*) () from /usr/lib64/libQt5Core.so.5
#22 0x00007fb5eaac4f60 in QProcess::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Core.so.5
#23 0x00007fb5eab6957a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#24 0x00007fb5eabe1f78 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#25 0x00007fb5eab755c2 in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#26 0x00007fb5eb8c593c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007fb5eb8cccb4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007fb5eab3c578 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#29 0x00007fb5eab91bcd in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#30 0x00007fb5e64f7b37 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fb5e64f7d68 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fb5e64f7dfc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007fb5eab9173f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#34 0x00007fb5eab3ad0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#35 0x00007fb5eab43164 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#36 0x00005640f3e1d569 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.10.2/drkonqi/main.cpp:170
Comment 1 Christoph Feck 2017-06-26 13:39:42 UTC
*** Bug 272540 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2017-09-12 10:53:10 UTC
*** Bug 384400 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2017-09-13 08:41:41 UTC
*** Bug 384238 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2017-12-19 22:40:08 UTC
*** Bug 387139 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2018-01-17 18:46:43 UTC
*** Bug 388436 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2018-01-30 01:32:09 UTC
*** Bug 389229 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2018-03-07 17:58:35 UTC
*** Bug 391534 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2018-05-16 18:01:07 UTC
*** Bug 393667 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2018-07-18 18:20:21 UTC
*** Bug 395852 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2018-07-18 18:21:17 UTC
*** Bug 392115 has been marked as a duplicate of this bug. ***
Comment 11 Christoph Feck 2018-07-18 18:23:33 UTC
*** Bug 395962 has been marked as a duplicate of this bug. ***
Comment 12 Christoph Feck 2018-07-18 18:24:12 UTC
*** Bug 372550 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2018-07-18 18:25:47 UTC
*** Bug 396049 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2018-09-12 23:35:08 UTC
*** Bug 398424 has been marked as a duplicate of this bug. ***
Comment 15 Christoph Feck 2018-10-01 14:22:50 UTC
*** Bug 399036 has been marked as a duplicate of this bug. ***
Comment 16 Christoph Feck 2018-11-01 15:10:02 UTC
*** Bug 400550 has been marked as a duplicate of this bug. ***
Comment 17 Christoph Feck 2018-11-20 12:21:48 UTC
*** Bug 400734 has been marked as a duplicate of this bug. ***
Comment 18 Christoph Feck 2018-12-27 17:12:22 UTC
*** Bug 362776 has been marked as a duplicate of this bug. ***
Comment 19 Christoph Feck 2019-01-09 02:39:36 UTC
*** Bug 402003 has been marked as a duplicate of this bug. ***
Comment 20 Volker Kuhlmann 2019-02-11 07:07:53 UTC
openSUSE Leap 15.0
drkonqi crash when trying to report a plasmashell crash

Backtrace:

Application: drkonqi (drkonqi), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f96255de8c0 (LWP 11785))]

Thread 3 (Thread 0x7f9609b89700 (LWP 11789)):
#0  0x00007f961cd40819 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f961cd410fb in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f961cd412dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9621500c0b in QEventDispatcherGlib::processEvents (this=0x7f9604000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f96214a909a in QEventLoop::exec (this=this@entry=0x7f9609b88ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f96212d84da in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f9622b7e985 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f96212dd0ce in QThreadPrivate::start (arg=0x7f9622deed60) at thread/qthread_unix.cpp:368
#8  0x00007f961f078559 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f9620bdb81f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f96136b1700 (LWP 11786)):
#0  0x00007f9620bd107b in poll () from /lib64/libc.so.6
#1  0x00007f961bfba387 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f961bfbbfba in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f9616469029 in QXcbEventReader::run (this=0x55d7a928d000) at qxcbconnection.cpp:1330
#4  0x00007f96212dd0ce in QThreadPrivate::start (arg=0x55d7a928d000) at thread/qthread_unix.cpp:368
#5  0x00007f961f078559 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f9620bdb81f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f96255de8c0 (LWP 11785)):
[KCrash Handler]
#6  BacktraceLine::type (this=<optimized out>) at /usr/src/debug/drkonqi5-5.12.5-lp150.1.1.x86_64/src/parser/backtraceline.h:59
#7  GdbHighlighter::highlightBlock (this=this@entry=0x7f960c00a900, text=...) at /usr/src/debug/drkonqi5-5.12.5-lp150.1.1.x86_64/src/gdbhighlighter.cpp:80
#8  0x00007f9621bd5458 in QSyntaxHighlighterPrivate::reformatBlock (this=this@entry=0x55d7a93a9560, block=...) at text/qsyntaxhighlighter.cpp:203
#9  0x00007f9621bd55f0 in QSyntaxHighlighterPrivate::reformatBlocks (this=0x55d7a93a9560, from=<optimized out>, charsRemoved=<optimized out>, charsAdded=15) at text/qsyntaxhighlighter.cpp:184
#10 0x00007f96214d804a in QMetaObject::activate (sender=sender@entry=0x55d7a9545360, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff80e01cb0) at kernel/qobject.cpp:3766
#11 0x00007f96214d8757 in QMetaObject::activate (sender=sender@entry=0x55d7a9545360, m=m@entry=0x7f96220c1f00 <QTextDocument::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff80e01cb0) at kernel/qobject.cpp:3628
#12 0x00007f9621dedf5a in QTextDocument::contentsChange (this=this@entry=0x55d7a9545360, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>) at .moc/moc_qtextdocument.cpp:383
#13 0x00007f9621b941e1 in QTextDocumentPrivate::finishEdit (this=0x55d7a970f370) at text/qtextdocument_p.cpp:1217
#14 0x00007f9621b9441c in QTextDocumentPrivate::endEditBlock (this=<optimized out>) at text/qtextdocument_p.cpp:1201
#15 0x00007f9621bc0304 in QTextCursor::endEditBlock (this=this@entry=0x7fff80e01d58) at text/qtextcursor.cpp:2510
#16 0x00007f96224038dc in QWidgetTextControlPrivate::append (this=0x55d7a93d2350, text=..., format=format@entry=Qt::AutoText) at widgets/qwidgettextcontrol.cpp:3133
#17 0x00007f962240394e in QWidgetTextControl::append (this=<optimized out>, text=...) at widgets/qwidgettextcontrol.cpp:3139
#18 0x00007f96223ee0a9 in QTextEdit::append (this=<optimized out>, text=...) at widgets/qtextedit.cpp:2603
#19 0x000055d7a7f31340 in BacktraceWidget::backtraceNewLine (this=<optimized out>, line=...) at /usr/src/debug/drkonqi5-5.12.5-lp150.1.1.x86_64/src/backtracewidget.cpp:316
#20 0x00007f96214d814c in QtPrivate::QSlotObjectBase::call (a=0x7fff80e01f20, r=0x55d7a96b1fe0, this=0x55d7a9626940) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#21 QMetaObject::activate (sender=sender@entry=0x55d7a93ab1a0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff80e01f20) at kernel/qobject.cpp:3749
#22 0x00007f96214d8757 in QMetaObject::activate (sender=sender@entry=0x55d7a93ab1a0, m=m@entry=0x55d7a81b35c0 <BacktraceGenerator::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff80e01f20) at kernel/qobject.cpp:3628
#23 0x000055d7a7f7dc85 in BacktraceGenerator::newLine (this=this@entry=0x55d7a93ab1a0, _t1=...) at /usr/src/debug/drkonqi5-5.12.5-lp150.1.1.x86_64/build/src/drkonqi_autogen/EWIEGA46WW/moc_backtracegenerator.cpp:201
#24 0x000055d7a7f3553a in BacktraceGenerator::slotReadInput (this=0x55d7a93ab1a0) at /usr/src/debug/drkonqi5-5.12.5-lp150.1.1.x86_64/src/backtracegenerator.cpp:128
#25 0x00007f96214d814c in QtPrivate::QSlotObjectBase::call (a=0x7fff80e02090, r=0x55d7a93ab1a0, this=0x55d7a97ddb80) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#26 QMetaObject::activate (sender=sender@entry=0x55d7a97993a0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff80e02090) at kernel/qobject.cpp:3749
#27 0x00007f96214d8757 in QMetaObject::activate (sender=sender@entry=0x55d7a97993a0, m=m@entry=0x7f9621960e40 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff80e02090) at kernel/qobject.cpp:3628
#28 0x00007f962142ac6a in QProcess::readyReadStandardOutput (this=this@entry=0x55d7a97993a0, _t1=...) at .moc/moc_qprocess.cpp:362
#29 0x00007f9621431211 in QProcessPrivate::tryReadFromChannel (this=0x55d7a9de2620, channel=0x55d7a9de2748) at io/qprocess.cpp:1074
#30 0x00007f96214316f0 in QProcessPrivate::_q_canReadStandardOutput (this=<optimized out>) at io/qprocess.cpp:1085
#31 QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff80e02230) at .moc/moc_qprocess.cpp:207
#32 0x00007f96214d804a in QMetaObject::activate (sender=sender@entry=0x55d7a9a925b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff80e02230) at kernel/qobject.cpp:3766
#33 0x00007f96214d8757 in QMetaObject::activate (sender=sender@entry=0x55d7a9a925b0, m=m@entry=0x7f9621962d40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff80e02230) at kernel/qobject.cpp:3628
#34 0x00007f96214e3eb8 in QSocketNotifier::activated (this=this@entry=0x55d7a9a925b0, _t1=<optimized out>, _t2=...) at .moc/moc_qsocketnotifier.cpp:136
#35 0x00007f96214e4222 in QSocketNotifier::event (this=0x55d7a9a925b0, e=0x7fff80e02490) at kernel/qsocketnotifier.cpp:266
#36 0x00007f962223ae8c in QApplicationPrivate::notify_helper (this=this@entry=0x55d7a9294560, receiver=receiver@entry=0x55d7a9a925b0, e=e@entry=0x7fff80e02490) at kernel/qapplication.cpp:3723
#37 0x00007f9622242244 in QApplication::notify (this=0x7fff80e02810, receiver=0x55d7a9a925b0, e=0x7fff80e02490) at kernel/qapplication.cpp:3482
#38 0x00007f96214aaa88 in QCoreApplication::notifyInternal2 (receiver=0x55d7a9a925b0, event=event@entry=0x7fff80e02490) at kernel/qcoreapplication.cpp:1016
#39 0x00007f96215017ed in QCoreApplication::sendEvent (event=0x7fff80e02490, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#40 socketNotifierSourceDispatch (source=0x55d7a92fe4f0) at kernel/qeventdispatcher_glib.cpp:106
#41 0x00007f961cd41017 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f961cd41250 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f961cd412dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f9621500bef in QEventDispatcherGlib::processEvents (this=0x55d7a9310010, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#45 0x00007f96214a909a in QEventLoop::exec (this=this@entry=0x7fff80e026a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#46 0x00007f96214b19e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1289
#47 0x000055d7a7f2976e in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/drkonqi5-5.12.5-lp150.1.1.x86_64/src/main.cpp:173
[Inferior 1 (process 11785) detached]
Comment 21 John Scott 2019-05-25 12:24:05 UTC
Dr. Konqi crashed trying to get a new backtrace for Plasma, and I think my crash might be related.

Application: drkonqi (drkonqi), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff3e4952840 (LWP 1312))]h

Thread 4 (Thread 0x7ff3d963a700 (LWP 1348)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56438d1bb908) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x56438d1bb8b8, cond=0x56438d1bb8e0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x56438d1bb8e0, mutex=0x56438d1bb8b8) at pthread_cond_wait.c:655
#3  0x00007ff3d9c1ce63 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff3d9c1cbb7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff3e8bd7fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007ff3e93944cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff3e1b60700 (LWP 1316)):
#0  __GI___libc_read (nbytes=16, buf=0x7ff3e1b5fb10, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=0x7ff3e1b5fb10, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007ff3e8029aa0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff3e7fe3c0f in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff3e7fe40e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff3e7fe425c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ff3e989b87b in QEventDispatcherGlib::processEvents (this=0x7ff3d4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x00007ff3e984927b in QEventLoop::exec (this=this@entry=0x7ff3e1b5fd30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#8  0x00007ff3e9698ec6 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#9  0x00007ff3ea6d5545 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007ff3e96a2aa7 in QThreadPrivate::start (arg=0x7ff3ea755d60) at thread/qthread_unix.cpp:367
#11 0x00007ff3e8bd7fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#12 0x00007ff3e93944cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff3e3b8e700 (LWP 1313)):
#0  0x00007ff3e9389819 in __GI___poll (fds=0x7ff3e3b8dc78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff3e7f70cf7 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ff3e7f7291a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ff3e44f6d79 in QXcbEventReader::run (this=0x56438ce0b300) at qxcbconnection.h:409
#4  0x00007ff3e96a2aa7 in QThreadPrivate::start (arg=0x56438ce0b300) at thread/qthread_unix.cpp:367
#5  0x00007ff3e8bd7fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007ff3e93944cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff3e4952840 (LWP 1312)):
[KCrash Handler]
#6  0x000056438cd0a6e9 in BacktraceLine::type (this=0x56438dcfc308) at ./src/parser/backtraceline.h:59
#7  GdbHighlighter::highlightBlock (this=this@entry=0x7ff3dc00b290, text=...) at ./src/gdbhighlighter.cpp:80
#8  0x00007ff3e9d49f39 in QSyntaxHighlighterPrivate::reformatBlock (this=this@entry=0x7ff3dc00a2d0, block=...) at text/qsyntaxhighlighter.cpp:201
#9  0x00007ff3e9d4a0f8 in QSyntaxHighlighterPrivate::reformatBlocks (this=0x7ff3dc00a2d0, from=<optimized out>, charsRemoved=<optimized out>, charsAdded=14) at text/qsyntaxhighlighter.cpp:182
#10 0x00007ff3e9873906 in QMetaObject::activate (sender=0x56438d007be0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3771
#11 0x00007ff3e9f7640a in QTextDocument::contentsChange (this=this@entry=0x56438d007be0, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>) at .moc/moc_qtextdocument.cpp:383
#12 0x00007ff3e9d084f1 in QTextDocumentPrivate::finishEdit (this=0x56438d022b00) at text/qtextdocument_p.cpp:1217
#13 0x00007ff3e9d08751 in QTextDocumentPrivate::endEditBlock (this=<optimized out>) at text/qtextdocument_p.cpp:1201
#14 QTextDocumentPrivate::endEditBlock (this=<optimized out>) at text/qtextdocument_p.cpp:1184
#15 0x00007ff3ea3a03f5 in QWidgetTextControlPrivate::append (this=0x56438d0084e0, text=..., format=format@entry=Qt::AutoText) at widgets/qwidgettextcontrol.cpp:3136
#16 0x00007ff3ea3a049e in QWidgetTextControl::append (this=<optimized out>, text=...) at widgets/qwidgettextcontrol.cpp:3142
#17 0x00007ff3ea37cd89 in QTextEdit::append (this=<optimized out>, text=...) at widgets/qtextedit.cpp:2626
#18 0x000056438ccf9160 in BacktraceWidget::backtraceNewLine (this=<optimized out>, line=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:436
#19 0x00007ff3e9873a43 in QtPrivate::QSlotObjectBase::call (a=0x7ffffc0bb6e0, r=0x56438d0182a0, this=0x56438cfa6740) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#20 QMetaObject::activate (sender=0x56438cecd890, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3754
#21 0x000056438cd46a45 in BacktraceGenerator::newLine (this=this@entry=0x56438cecd890, _t1=...) at ./obj-x86_64-linux-gnu/src/drkonqi_autogen/EWIEGA46WW/moc_backtracegenerator.cpp:201
#22 0x000056438ccfd29a in BacktraceGenerator::slotReadInput (this=0x56438cecd890) at ./src/backtracegenerator.cpp:128
#23 0x00007ff3e9873a43 in QtPrivate::QSlotObjectBase::call (a=0x7ffffc0bb850, r=0x56438cecd890, this=0x56438d4f3bd0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#24 QMetaObject::activate (sender=0x56438dcfbbb0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3754
#25 0x00007ff3e97e07ea in QProcess::readyReadStandardOutput (this=this@entry=0x56438dcfbbb0, _t1=...) at .moc/moc_qprocess.cpp:362
#26 0x00007ff3e97e6c8d in QProcessPrivate::tryReadFromChannel (this=0x56438d0c9bb0, channel=0x56438d0c9cd8) at io/qprocess.cpp:1070
#27 0x00007ff3e97e70d0 in QProcessPrivate::_q_canReadStandardOutput (this=<optimized out>) at io/qprocess.cpp:1081
#28 QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffffc0bb9f0) at .moc/moc_qprocess.cpp:207
#29 0x00007ff3e9873906 in QMetaObject::activate (sender=0x56438dcfbd30, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3771
#30 0x00007ff3e987efc9 in QSocketNotifier::activated (this=this@entry=0x56438dcfbd30, _t1=<optimized out>, _t2=...) at .moc/moc_qsocketnotifier.cpp:136
#31 0x00007ff3e987f311 in QSocketNotifier::event (this=0x56438dcfbd30, e=0x7ffffc0bbc50) at kernel/qsocketnotifier.cpp:266
#32 0x00007ff3ea1c54b1 in QApplicationPrivate::notify_helper (this=this@entry=0x56438cdf0390, receiver=receiver@entry=0x56438dcfbd30, e=e@entry=0x7ffffc0bbc50) at kernel/qapplication.cpp:3726
#33 0x00007ff3ea1cc950 in QApplication::notify (this=0x7ffffc0bc030, receiver=0x56438dcfbd30, e=0x7ffffc0bbc50) at kernel/qapplication.cpp:3485
#34 0x00007ff3e984a5a9 in QCoreApplication::notifyInternal2 (receiver=0x56438dcfbd30, event=event@entry=0x7ffffc0bbc50) at ../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#35 0x00007ff3e989c47a in QCoreApplication::sendEvent (event=0x7ffffc0bbc50, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#36 socketNotifierSourceDispatch (source=0x56438ce3a460) at kernel/qeventdispatcher_glib.cpp:106
#37 0x00007ff3e7fe3f2e in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ff3e7fe41c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ff3e7fe425c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007ff3e989b863 in QEventDispatcherGlib::processEvents (this=0x56438ce3d4e0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#41 0x00007ff3e458d3e1 in QPAEventDispatcherGlib::processEvents (this=0x56438ce3d4e0, flags=...) at qeventdispatcher_glib.cpp:69
#42 0x00007ff3e984927b in QEventLoop::exec (this=this@entry=0x7ffffc0bbea0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#43 0x00007ff3e9851262 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#44 0x000056438ccf1a05 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:173
[Inferior 1 (process 1312) detached]
Comment 22 Christoph Feck 2019-05-30 18:29:38 UTC
*** Bug 407482 has been marked as a duplicate of this bug. ***
Comment 23 Christoph Feck 2019-06-14 10:09:26 UTC
*** Bug 408107 has been marked as a duplicate of this bug. ***
Comment 24 Harald Sitter 2019-06-14 14:26:46 UTC
*** Bug 372108 has been marked as a duplicate of this bug. ***
Comment 25 Wolfgang Bauer 2019-06-21 19:26:42 UTC
*** Bug 408993 has been marked as a duplicate of this bug. ***
Comment 26 Harald Sitter 2019-06-27 11:43:25 UTC
Git commit c2775e7335a13f2d2a4da67e2488aa8c71708cf8 by Harald Sitter.
Committed on 27/06/2019 at 11:38.
Pushed by sitter into branch 'Plasma/5.16'.

force the backtracewidget into loading state when the generator is loading

Summary:
this specifically unsets the m_highlighter which absolutely must not be
present when in loading state (or more specifically: when receiving lines
as-they-appear as opposed to the finished backtrace).
also assert that the widget has no highlighter when loading lines

the highlighter design is fairly wonky, it actually highlights off of the
qtextdocument, but to highlight it needs to know the actual parsed trace
Line entities and they are of course no longer present because the
document only has a text blob. to bridge that disconnect the highlighter
needs to match up the textual lines to the Line entities by their index.
naturally this is a potential bundle of segfault sources when the two
sources no longer align.

unfortunately that is exactly what could happen:
technically speaking drkonqi has two instances of backtracewidget. one
in the main dialog and one in the report dialog. they both use the same
generator though. so what happened was a confusion over which state the
widget needs to be in vis a vis the generator. if the first widget already
loaded a backtrace the generator would be in Loaded state and so would the
widget (i.e. it'd have a highlighter). if the user then proceeds to the
report dialog and they'd get a new widget with a reload button. if the user
then would use the reload button the new widget would be fine, it would
trigger a "reload". the old widget however would not know anything about
the reload and continue to be in Loaded state with a highlighter attached.
as the generator now sends lines to the old and the new widget, the old
widget would receive the lines with a highlighter attached.
bang! the (new) lines disalign with the Line entities in the highlighter
and all hell breaks loose.

this quite possibly fixes all occurrences of the #381644 crasher, but I
wouldn't exclude other points of frailty. as mentioned, the way the
highlighter's connecting textual lines to Line entities is fairly
fragile in of itself.

CHANGELOG: No longer crashes when reloading backtraces under certain circumstances
FIXED-IN: 5.16.1

Test Plan:
- killall -SEGV dolphin
- open drkonqi
- go to backtrace tab
- let backtrace
- click report bug
- proceed to backtrace page
- click reload
- no crashy

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D21801

M  +6    -0    src/backtracewidget.cpp

https://commits.kde.org/drkonqi/c2775e7335a13f2d2a4da67e2488aa8c71708cf8
Comment 27 Harald Sitter 2019-07-03 12:42:16 UTC
*** Bug 359405 has been marked as a duplicate of this bug. ***
Comment 28 Harald Sitter 2019-07-03 12:54:31 UTC
*** Bug 372730 has been marked as a duplicate of this bug. ***