[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#908095: Buster: Kwrite crashes while opening a file



Sep 6, 2018, 12:38 PM by bernhardu@mailbox.org:

> just found your report and tried to reproduce the crash.
>
> First I assume you copied this text from the crash reporting window?
>
Yes. Also, kwrite was launched from LXDE.


> Unfortunately my test file does not get me that far to the crash. 
> Therefore I think your file contains a really special case of some
> direction changes. Therefore you probably can provide that file or
> a copy stripped down to the least causing kwrite to crash?

 It's a personal file so I'll have to see what I can do.



> This information would be way more readable if you would install 
> the debug symbols for the executable and all the shared objects in
> the crashing stack.
>

Please see below:

Application: KWrite (kwrite), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2bb2fc9500 (LWP 13900))]

Thread 4 (Thread 0x7f2ba8fc8700 (LWP 13904)):
#0  0x00007f2bb8734e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f2baa54490b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007f2baa544637 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007f2bb872ef2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f2bb9f99edf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f2ba991f700 (LWP 13903)):
#0  0x00007f2bb8734e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f2baa54490b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007f2baa544637 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007f2bb872ef2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f2bb9f99edf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f2bb09af700 (LWP 13902)):
#0  0x00007f2bb9f8f739 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2bb73db439 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2bb73db54c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2bba49f23b in QEventDispatcherGlib::processEvents (this=0x7f2ba4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2bba44c24b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2bba29b176 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f2bb8ca6545 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f2bba2a4d47 in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#8  0x00007f2bb872ef2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f2bb9f99edf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f2bb2fc9500 (LWP 13900)):
[KCrash Handler]
#4  0x00007f2bba8bf376 in (anonymous namespace)::QBidiAlgorithm::<lambda(int)>::operator()(int) const (__closure=__closure@entry=0x7ffd40968ef0, runEnd=runEnd@entry=4083) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:132
#5  0x00007f2bba8c805f in (anonymous namespace)::QBidiAlgorithm::generateDirectionalRuns (runs=..., isolatePairs=..., this=0x7ffd40968ed0) at text/qtextengine.cpp:516
#6  (anonymous namespace)::QBidiAlgorithm::resolveExplicitLevels (runs=..., this=0x7ffd40968ed0) at text/qtextengine.cpp:533
#7  (anonymous namespace)::QBidiAlgorithm::process (this=0x7ffd40968ed0) at text/qtextengine.cpp:1065
#8  QTextEngine::itemize (this=0x55a12db7e9f0) at text/qtextengine.cpp:2031
#9  0x00007f2bba8d099c in QTextLayout::beginLayout (this=this@entry=0x55a12db7afb0) at text/qtextlayout.cpp:648
#10 0x00007f2bbb9073c6 in KateRenderer::layoutLine (this=0x55a12d60b370, lineLayout=..., maxwidth=1679, cacheLayout=<optimized out>) at ./src/render/katerenderer.cpp:1014
#11 0x00007f2bbb90c881 in KateLayoutCache::line (this=this@entry=0x55a12d7ada90, realLine=realLine@entry=2, virtualLine=virtualLine@entry=2) at /usr/include/c++/8/bits/atomic_base.h:295
#12 0x00007f2bbb90db21 in KateLayoutCache::updateViewCache (this=this@entry=0x55a12d7ada90, startPos=..., newViewLineCount=newViewLineCount@entry=66, viewLinesScrolled=viewLinesScrolled@entry=0) at ./src/render/katelayoutcache.cpp:282
#13 0x00007f2bbb953f2a in KateViewInternal::doUpdateView (this=this@entry=0x55a12d6de8b0, changed=<optimized out>, changed@entry=true, viewLinesScrolled=viewLinesScrolled@entry=0) at ./src/include/ktexteditor/cursor.h:98
#14 0x00007f2bbb954214 in KateViewInternal::updateView (this=0x55a12d6de8b0, changed=changed@entry=true, viewLinesScrolled=viewLinesScrolled@entry=0) at ./src/view/kateviewinternal.cpp:609
#15 0x00007f2bbb93e196 in KTextEditor::ViewPrivate::updateView (this=0x55a12d69c050, changed=changed@entry=true) at ./src/view/kateview.cpp:2042
#16 0x00007f2bbb94d39f in KTextEditor::ViewPrivate::updateDocumentConfig (this=<optimized out>) at ./src/view/kateview.cpp:1900
#17 0x00007f2bbb8b072c in KTextEditor::DocumentPrivate::updateConfig (this=0x55a12d790cb0) at ./src/document/katedocument.cpp:4422
#18 0x00007f2bbb992dbd in KateDocumentConfig::updateConfig (this=0x55a12d607870) at ./src/utils/kateconfig.cpp:431
#19 0x00007f2bbb98c72b in KateConfig::configEnd (this=0x55a12d607870) at ./src/utils/kateconfig.cpp:67
#20 KateDocumentConfig::setEncoding (this=this@entry=0x55a12d607870, encoding=...) at ./src/utils/kateconfig.cpp:937
#21 0x00007f2bbb8cbafe in KateBuffer::openFile (this=this@entry=0x55a12d783a50, m_file=..., enforceTextCodec=enforceTextCodec@entry=false) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:255
#22 0x00007f2bbb8c2e2f in KTextEditor::DocumentPrivate::openFile (this=0x55a12d790cb0) at ./src/document/katedocument.cpp:2253
#23 0x00007f2bbb716a21 in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x55a12d791110) at ./src/readonlypart.cpp:190
#24 0x00007f2bbb7179b6 in KParts::ReadOnlyPart::openUrl (this=this@entry=0x55a12d790cb0, url=...) at ./src/readonlypart.cpp:153
#25 0x00007f2bbb8b74d1 in KTextEditor::DocumentPrivate::openUrl (this=0x55a12d790cb0, url=...) at ./src/document/katedocument.cpp:2647
#26 0x000055a12c9cedea in KWrite::loadURL (this=this@entry=0x55a12d6039d0, url=...) at ./kwrite/kwrite.cpp:203
#27 0x000055a12c9d1148 in KWrite::slotOpen (this=0x55a12d6039d0, url=...) at ./kwrite/kwrite.cpp:267
#28 0x000055a12c9d12e2 in KWrite::slotOpen (this=0x55a12d6039d0) at ./kwrite/kwrite.cpp:253
#29 0x00007f2bba4767bb in QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3771
#30 0x00007f2bba476dd7 in QMetaObject::activate (sender=sender@entry=0x55a12d932540, m=m@entry=0x7f2bbb26f840 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd4096e240) at kernel/qobject.cpp:3633
#31 0x00007f2bbad9fef2 in QAction::triggered (this=this@entry=0x55a12d932540, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#32 0x00007f2bbada2500 in QAction::activate (this=0x55a12d932540, event=<optimized out>) at kernel/qaction.cpp:1167
#33 0x00007f2bbae8dd1d in QAbstractButtonPrivate::click (this=0x55a12d9a0500) at widgets/qabstractbutton.cpp:397
#34 0x00007f2bbae8df55 in QAbstractButton::mouseReleaseEvent (this=0x55a12d99f620, e=0x7ffd4096e710) at widgets/qabstractbutton.cpp:1011
#35 0x00007f2bbaf77caa in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:622
#36 0x00007f2bbade47d8 in QWidget::event (this=0x55a12d99f620, event=0x7ffd4096e710) at kernel/qwidget.cpp:8919
#37 0x00007f2bbae8f193 in QAbstractButton::event (this=this@entry=0x55a12d99f620, e=e@entry=0x7ffd4096e710) at widgets/qabstractbutton.cpp:968
#38 0x00007f2bbaf77d53 in QToolButton::event (this=0x55a12d99f620, event=0x7ffd4096e710) at widgets/qtoolbutton.cpp:985
#39 0x00007f2bbada64a1 in QApplicationPrivate::notify_helper (this=this@entry=0x55a12d5ae8d0, receiver=receiver@entry=0x55a12d99f620, e=e@entry=0x7ffd4096e710) at kernel/qapplication.cpp:3727
#40 0x00007f2bbadadd28 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3203
#41 0x00007f2bba44d579 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at ../../include/QtCore/5.11.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#42 0x00007f2bbadad029 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#43 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55a12d99f620, event=event@entry=0x7ffd4096e710, alienWidget=alienWidget@entry=0x55a12d99f620, nativeWidget=0x55a12d6039d0, buttonDown=buttonDown@entry=0x7f2bbb29e870 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2695
#44 0x00007f2bbadff304 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /usr/include/c++/8/bits/atomic_base.h:390
#45 0x00007f2bbae01e8e in QWidgetWindow::event (this=0x55a12d9cd970, event=0x7ffd4096eb10) at kernel/qwidgetwindow.cpp:280
#46 0x00007f2bbada64a1 in QApplicationPrivate::notify_helper (this=this@entry=0x55a12d5ae8d0, receiver=receiver@entry=0x55a12d9cd970, e=e@entry=0x7ffd4096eb10) at kernel/qapplication.cpp:3727
#47 0x00007f2bbadadae0 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3486
#48 0x00007f2bba44d579 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at ../../include/QtCore/5.11.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#49 0x00007f2bba7ec53b in QCoreApplication::sendSpontaneousEvent (event=0x7ffd4096eb10, receiver=0x55a12d9cd970) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#50 QGuiApplicationPrivate::processMouseEvent (e=0x55a12db35af0) at kernel/qguiapplication.cpp:2081
#51 0x00007f2bba7ee435 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55a12db35af0) at kernel/qguiapplication.cpp:1816
#52 0x00007f2bba7c8b6b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#53 0x00007f2bb2d72e5b in QPAEventDispatcherGlib::processEvents (this=0x55a12d5f5ab0, flags=...) at qeventdispatcher_glib.cpp:70
#54 0x00007f2bba44c24b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#55 0x00007f2bba4543c2 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#56 0x000055a12c9ccd6d in main (argc=<optimized out>, argv=<optimized out>) at ./kwrite/main.cpp:294


Reply to: