Summary: | kate segmentation fault when hovering over scrollbar minimap under wayland session | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Ardith Metz <itgvkxsd> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bilal.elmas, bugseforuns, cmbraaksma, kare.sars, luizdl, mccilloni, notuxius, null, vishnugb |
Priority: | NOR | Keywords: | wayland |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Ardith Metz
2018-06-14 13:07:14 UTC
Actually it's reproducible with kwrite too: Application: KWrite (kwrite), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x6696fdeb0800 (LWP 11118))] Thread 3 (Thread 0x6696d8e2e700 (LWP 11121)): #0 0x00006696f4f21ffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00006696d9c0a0a4 in ?? () from /usr/lib/dri/i965_dri.so #2 0x00006696d9c09d98 in ?? () from /usr/lib/dri/i965_dri.so #3 0x00006696f4f1c075 in start_thread () from /usr/lib/libpthread.so.0 #4 0x00006696f9f5553f in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x6696e6305700 (LWP 11119)): #0 0x00006696f9f46934 in read () from /usr/lib/libc.so.6 #1 0x00006696f3194ed1 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00006696f314eff8 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #3 0x00006696f314f4c6 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00006696f314f63e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00006696fa866e64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00006696fa81285c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #7 0x00006696fa65bac9 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #8 0x00006696f5c75976 in ?? () from /usr/lib/libQt5DBus.so.5 #9 0x00006696fa665b95 in ?? () from /usr/lib/libQt5Core.so.5 #10 0x00006696f4f1c075 in start_thread () from /usr/lib/libpthread.so.0 #11 0x00006696f9f5553f in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x6696fdeb0800 (LWP 11118)): [KCrash Handler] #6 0x0000000000000001 in ?? () #7 0x00006696fa81d049 in QMetaObject::cast(QObject const*) const () from /usr/lib/libQt5Core.so.5 #8 0x00006696fb589384 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () from /usr/lib/libQt5Widgets.so.5 #9 0x00006696fadbd3d5 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/libQt5Gui.so.5 #10 0x00006696fadbd60e in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5 #11 0x00006696fad94a5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #12 0x00006696ebb70f7d in ?? () from /usr/lib/libQt5WaylandClient.so.5 #13 0x00006696fa81285c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #14 0x00006696fa81ab56 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #15 0x0000026de6f575b9 in main () It doesn't happen in kate from flatpak so it can be related to QT version (flatpak uses 5.9.5) The temporary workaround is to force to use xcb backend on wayland with: QT_QPA_PLATFORM=xcb kate Thanks for the report, I can not reproduce this in KDE NEON (Kate 18.04.2, KF5 5.47.0, Qt 5.11.0 on Plasma 15.13.2 (Wayland session) I do see a lot of flickering tho, but no crash... The crash thread also does not show any trace of KTextEditor code. My guess is that it is a Qt bug. For debugging Qt bugs, it would be good to get a new crash dump with the debug symbols for Qt(libQt5Core, libQt5Gui and libQt5Widgets) Hi Kåre Särs, I installed QT with debug support and got the below. I hope it will be helpful. Application: Kate (kate), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x6ec8e7cfd800 (LWP 24739))] Thread 3 (Thread 0x6ec8c21b5700 (LWP 24742)): #0 0x00006ec8dea48ffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00006ec8c2f91124 in ?? () from /usr/lib/dri/i965_dri.so #2 0x00006ec8c2f90e18 in ?? () from /usr/lib/dri/i965_dri.so #3 0x00006ec8dea43075 in start_thread () from /usr/lib/libpthread.so.0 #4 0x00006ec8e263953f in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x6ec8cff50700 (LWP 24740)): #0 0x00006ec8e2d3e78c in QMutex::lock (this=this@entry=0xa14de25f160) at /usr/include/c++/8.1.1/bits/atomic_base.h:742 #1 0x00006ec8e2f4cfd1 in QMutexLocker::QMutexLocker (m=0xa14de25f160, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:206 #2 QThreadData::canWaitLocked (this=0xa14de25f130) at ../../include/QtCore/5.11.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:254 #3 postEventSourcePrepare (s=0x6ec8c8004fd0, timeout=0x6ec8cff4fb94) at kernel/qeventdispatcher_glib.cpp:259 #4 0x00006ec8da30aa49 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #5 0x00006ec8da30b44e in ?? () from /usr/lib/libglib-2.0.so.0 #6 0x00006ec8da30b63e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #7 0x00006ec8e2f4d0c4 in QEventDispatcherGlib::processEvents (this=0x6ec8c8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #8 0x00006ec8e2ef89bc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #9 0x00006ec8e2d41b09 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #10 0x00006ec8e339d086 in QDBusConnectionManager::run (this=0x6ec8e3617080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #11 0x00006ec8e2d4bbb5 in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367 #12 0x00006ec8dea43075 in start_thread () from /usr/lib/libpthread.so.0 #13 0x00006ec8e263953f in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x6ec8e7cfd800 (LWP 24739)): [KCrash Handler] #6 0x00006ec8e2f031a7 in QMetaObject::cast (this=0x6ec8e4ab0a60 <QWidgetWindow::staticMetaObject>, obj=obj@entry=0xa14def773c0) at kernel/qmetaobject.cpp:366 #7 0x00006ec8e2f031e6 in QMetaObject::cast (this=<optimized out>, obj=obj@entry=0xa14def773c0) at kernel/qmetaobject.cpp:355 #8 0x00006ec8e43d9504 in qobject_cast<QWidgetWindow*> (object=0xa14def773c0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:499 #9 QApplicationPrivate::notifyActiveWindowChange (this=<optimized out>, previous=<optimized out>) at kernel/qapplication.cpp:2186 #10 0x00006ec8e3c02d35 in QGuiApplicationPrivate::processActivatedEvent (e=<optimized out>) at kernel/qguiapplication.cpp:2304 #11 0x00006ec8e3c02f6e in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0xa14def7fda0) at kernel/qguiapplication.cpp:1837 #12 0x00006ec8e3bdcbfc in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032 #13 0x00006ec8d57be5ed in QPAEventDispatcherGlib::processEvents (this=0xa14de22bb70, flags=...) at qeventdispatcher_glib.cpp:70 #14 0x00006ec8e2ef89bc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #15 0x00006ec8e2f00cb6 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #16 0x00000a14ca57d6bd in ?? () #17 0x00006ec8e256406b in __libc_start_main () from /usr/lib/libc.so.6 #18 0x00000a14ca57eeba in _start () *** Bug 392401 has been marked as a duplicate of this bug. *** *** Bug 395940 has been marked as a duplicate of this bug. *** We just fixed a crash with respect to the text preview over the scrollbar, see bug #397266. Unfortunately, the back traces are not really the same. Still, we'll close for now as needs-info / waiting-for-info. Can you retry with KDE Frameworks 5.50 once it is released? That would be nice. Yes, I'll wait for release and check. Thank you. Unfortunately it still occurs with: Kde plasma:5.13.5 Kde frameworks: 5.50.0 Qt: 5.11.1 Kate/Kwrite 18.08.1 Distro: Archlinux Application: Kate (kate), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x6aebde5c9800 (LWP 7649))] Thread 3 (Thread 0x6aebd0f42700 (LWP 7653)): #0 0x00006aebe4cccafc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00006aebd1512274 in ?? () from /usr/lib/dri/i965_dri.so #2 0x00006aebd1511f68 in ?? () from /usr/lib/dri/i965_dri.so #3 0x00006aebe4cc6a9d in start_thread () from /usr/lib/libpthread.so.0 #4 0x00006aebe63c7a43 in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x6aebdaea4700 (LWP 7651)): #0 0x00006aebe63bcbb1 in poll () from /usr/lib/libc.so.6 #1 0x00006aebe1964ee0 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00006aebe1964fce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00006aebe68e84c4 in QEventDispatcherGlib::processEvents (this=0x6aebd4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00006aebe6893dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #5 0x00006aebe66dcf59 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #6 0x00006aebe6b3aba6 in QDBusConnectionManager::run (this=0x6aebe6bb6080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #7 0x00006aebe66e7005 in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367 #8 0x00006aebe4cc6a9d in start_thread () from /usr/lib/libpthread.so.0 #9 0x00006aebe63c7a43 in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x6aebde5c9800 (LWP 7649)): [KCrash Handler] #6 0x00006aebe689e597 in QMetaObject::cast (this=0x6aebe7858a60 <QWidgetWindow::staticMetaObject>, obj=obj@entry=0x89684864ef0) at kernel/qmetaobject.cpp:366 #7 0x00006aebe689e5d6 in QMetaObject::cast (this=<optimized out>, obj=obj@entry=0x89684864ef0) at kernel/qmetaobject.cpp:355 #8 0x00006aebe7380814 in qobject_cast<QWidgetWindow*> (object=0x89684864ef0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:499 #9 QApplicationPrivate::notifyActiveWindowChange (this=<optimized out>, previous=<optimized out>) at kernel/qapplication.cpp:2186 #10 0x00006aebe6da7b85 in QGuiApplicationPrivate::processActivatedEvent (e=<optimized out>) at kernel/qguiapplication.cpp:2304 #11 0x00006aebe6da7dbe in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x89683dc8850) at kernel/qguiapplication.cpp:1837 #12 0x00006aebe6d81a4c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032 #13 0x00006aebdde795ed in QPAEventDispatcherGlib::processEvents (this=0x896828cd700, flags=...) at qeventdispatcher_glib.cpp:70 #14 0x00006aebe6893dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #15 0x00006aebe689c0a6 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #16 0x0000089643300072 in ?? () #17 0x00006aebe62f0223 in __libc_start_main () from /usr/lib/libc.so.6 #18 0x00000896433017ae in _start () Interestingly the crash happens only when hovering over scrollbar minimap is the first action I do after opening file in kate directly. If I simply click inside the document body or click somewhere in kate toolbar and then hover over scrollbar minimap the crash doesn't happen. It also doesn't happen when I start kate with empty session and open document trough File -> Open. (In reply to Ardith Metz from comment #11) > Interestingly the crash happens only when hovering over scrollbar minimap is > the first action I do after opening file in kate directly. > > If I simply click inside the document body or click somewhere in kate > toolbar and then hover over scrollbar minimap the crash doesn't happen. > > It also doesn't happen when I start kate with empty session and open > document trough File -> Open. I can confirm on my system. Operating System: Arch Linux KDE Plasma Version: 5.14.1 Qt Version: 5.12.0 beta2 KDE Frameworks Version: 5.51.0 Application: Kate (kate), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f00dd0d9800 (LWP 3208))] Thread 3 (Thread 0x7f00d23df700 (LWP 3210)): #0 0x00007f00e22feafc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f00d29cc17c in ?? () from /usr/lib/dri/i965_dri.so #2 0x00007f00d29cbeb8 in ?? () from /usr/lib/dri/i965_dri.so #3 0x00007f00e22f8a9d in start_thread () from /usr/lib/libpthread.so.0 #4 0x00007f00e381db23 in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f00da263700 (LWP 3209)): #0 0x00007f00e3812c21 in poll () from /usr/lib/libc.so.6 #1 0x00007f00e1890ee0 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f00d4003ce0, timeout=<optimized out>, context=0x7f00d4000bf0) at ../glib/glib/gmain.c:4221 #2 g_main_context_iterate (context=context@entry=0x7f00d4000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:3915 #3 0x00007f00e1890fce in g_main_context_iteration (context=0x7f00d4000bf0, may_block=1) at ../glib/glib/gmain.c:3981 #4 0x00007f00e3d47624 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f00e3cf065c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f00e3b34599 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #7 0x00007f00e3fb8ba6 in ?? () from /usr/lib/libQt5DBus.so.5 #8 0x00007f00e3b3599c in ?? () from /usr/lib/libQt5Core.so.5 #9 0x00007f00e22f8a9d in start_thread () from /usr/lib/libpthread.so.0 #10 0x00007f00e381db23 in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f00dd0d9800 (LWP 3208)): [KCrash Handler] #6 0x00005644d7ba47b0 in ?? () #7 0x00007f00e3cfae59 in QMetaObject::cast(QObject const*) const () from /usr/lib/libQt5Core.so.5 #8 0x00007f00e48227b4 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () from /usr/lib/libQt5Widgets.so.5 #9 0x00007f00e4225765 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/libQt5Gui.so.5 #10 0x00007f00e422a33e in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5 #11 0x00007f00e4203bac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #12 0x00007f00dcd44ce1 in ?? () from /usr/lib/libQt5WaylandClient.so.5 #13 0x00007f00e188f3cf in g_main_dispatch (context=0x5644d70ca3a0) at ../glib/glib/gmain.c:3182 #14 g_main_context_dispatch (context=context@entry=0x5644d70ca3a0) at ../glib/glib/gmain.c:3847 #15 0x00007f00e1890f89 in g_main_context_iterate (context=context@entry=0x5644d70ca3a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:3920 #16 0x00007f00e1890fce in g_main_context_iteration (context=0x5644d70ca3a0, may_block=1) at ../glib/glib/gmain.c:3981 #17 0x00007f00e3d47609 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #18 0x00007f00e3cf065c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #19 0x00007f00e3cf8966 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #20 0x00005644d5a53072 in ?? () #21 0x00007f00e3746223 in __libc_start_main () from /usr/lib/libc.so.6 #22 0x00005644d5a547ae in _start () [Inferior 1 (process 3208) detached] Reproducible on: Operating System: KDE neon Developer Edition KDE Plasma Version: 5.14.80 KDE Frameworks Version: 5.54.0 Qt Version: 5.11.2 Kernel Version: 4.15.0-42-generic Application: Kate (kate), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7ff76fdad800 (LWP 5964))] Thread 2 (Thread 0x7ff755c8e700 (LWP 5968)): #0 0x00007ff76a6e90b4 in __GI___libc_read (fd=7, buf=0x7ff755c8db60, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27 #1 0x00007ff76428ccd0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ff764248027 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ff7642484e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007ff76424864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007ff76b02804b in QEventDispatcherGlib::processEvents (this=0x7ff750000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #6 0x00007ff76afcc30a in QEventLoop::exec (this=this@entry=0x7ff755c8dd70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214 #7 0x00007ff76adf7bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525 #8 0x00007ff76b46ee45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #9 0x00007ff76ae02adb in QThreadPrivate::start (arg=0x7ff76b6e6d60) at thread/qthread_unix.cpp:367 #10 0x00007ff7661cc6db in start_thread (arg=0x7ff755c8e700) at pthread_create.c:463 #11 0x00007ff76a6fa88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7ff76fdad800 (LWP 5964)): [KCrash Handler] #6 0x0000000000000000 in ?? () #7 0x00007ff76afd7359 in QMetaObject::cast (this=0x7ff76cb87f80 <QWidgetWindow::staticMetaObject>, obj=obj@entry=0x55ebb49dbbf0) at kernel/qmetaobject.cpp:366 #8 0x00007ff76afd7395 in QMetaObject::cast (this=<optimized out>, obj=obj@entry=0x55ebb49dbbf0) at kernel/qmetaobject.cpp:355 #9 0x00007ff76c4c0509 in qobject_cast<QWidgetWindow*> (object=0x55ebb49dbbf0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:504 #10 QApplicationPrivate::notifyActiveWindowChange (this=<optimized out>, previous=<optimized out>) at kernel/qapplication.cpp:2186 #11 0x00007ff76bcc01c5 in QGuiApplicationPrivate::processActivatedEvent (e=<optimized out>) at kernel/qguiapplication.cpp:2309 #12 0x00007ff76bcc042d in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55ebb4904580) at kernel/qguiapplication.cpp:1838 #13 0x00007ff76bc98f5b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032 #14 0x00007ff75a77773b in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5WaylandClient.so.5 #15 0x00007ff76afcc30a in QEventLoop::exec (this=this@entry=0x7ffdebd1cf50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214 #16 0x00007ff76afd54d0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336 #17 0x000055ebb26fc11c in main (argc=<optimized out>, argv=<optimized out>) at ./kate/main.cpp:639 Still reproducible on: KDE Plasma: 5.14.4 KDE Frameworks: 5.53.0 Qt: 5.12.0 Kate/Kwrite 18.12.0 Distro: Archlinux Application: Kate (kate), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x67463825a080 (LWP 19591))] Thread 3 (Thread 0x67462e72e700 (LWP 19594)): #0 0x000067463d31fafc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x000067462ed08c24 in ?? () from /usr/lib/dri/i965_dri.so #2 0x000067462ed08948 in ?? () from /usr/lib/dri/i965_dri.so #3 0x000067463d319a9d in start_thread () from /usr/lib/libpthread.so.0 #4 0x000067463e2ceb23 in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x67463619d700 (LWP 19592)): #0 0x000067463e2c3c21 in poll () from /usr/lib/libc.so.6 #1 0x000067463ab04ee0 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x000067463ab04fce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x000067463e7fa5c4 in QEventDispatcherGlib::processEvents (this=0x674630000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #4 0x000067463e7a358c in QEventLoop::exec (this=this@entry=0x67463619cd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #5 0x000067463e5e75c9 in QThread::exec (this=this@entry=0x67463eae9080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #6 0x000067463ea6dba6 in QDBusConnectionManager::run (this=0x67463eae9080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #7 0x000067463e5e89cc in QThreadPrivate::start (arg=0x67463eae9080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361 #8 0x000067463d319a9d in start_thread () from /usr/lib/libpthread.so.0 #9 0x000067463e2ceb23 in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x67463825a080 (LWP 19591)): [KCrash Handler] #6 0x00000933d65ffad0 in ?? () #7 0x000067463e7add89 in QMetaObject::cast (this=0x67463f7c3a00 <QWidgetWindow::staticMetaObject>, obj=obj@entry=0x933d65ff830) at kernel/qmetaobject.cpp:368 #8 0x000067463e7addc6 in QMetaObject::cast (this=<optimized out>, obj=obj@entry=0x933d65ff830) at kernel/qmetaobject.cpp:357 #9 0x000067463f2e47b4 in qobject_cast<QWidgetWindow*> (object=0x933d65ff830) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:499 #10 QApplicationPrivate::notifyActiveWindowChange (this=<optimized out>, previous=<optimized out>) at kernel/qapplication.cpp:2187 #11 0x000067463ece2345 in QGuiApplicationPrivate::processActivatedEvent (e=<optimized out>) at kernel/qguiapplication.cpp:2325 #12 0x000067463ece6f1e in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x933d663a8d0) at kernel/qguiapplication.cpp:1858 #13 0x000067463ecc075c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1068 #14 0x0000674637ec9e71 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:74 #15 0x000067463ab033cf in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #16 0x000067463ab04f89 in ?? () from /usr/lib/libglib-2.0.so.0 #17 0x000067463ab04fce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #18 0x000067463e7fa5a9 in QEventDispatcherGlib::processEvents (this=0x933d4460ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #19 0x000067463e7a358c in QEventLoop::exec (this=this@entry=0x7e8db4a68a80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #20 0x000067463e7ab896 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #21 0x00000933c9ee53a8 in ?? () #22 0x000067463e1f7223 in __libc_start_main () from /usr/lib/libc.so.6 #23 0x00000933c9ee6b9e in _start () [Inferior 1 (process 19591) detached] *** Bug 401698 has been marked as a duplicate of this bug. *** *** Bug 401720 has been marked as a duplicate of this bug. *** Created attachment 117517 [details]
New crash information added by DrKonqi
kwrite (18.12.1) using Qt 5.12.0
- What I was doing when the application crashed:
The crash happens as soon as the mouse begins hovering over the code map on the right.
-- Backtrace (Reduced):
#8 0x00007f9f88d277b4 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () from /usr/lib/libQt5Widgets.so.5
#9 0x00007f9f8872a345 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/libQt5Gui.so.5
#10 0x00007f9f8872ef1e in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#11 0x00007f9f8870875c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
[...]
#16 0x00007f9f88349559 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
It seems not longer reproducible on: KDE Plasma: 5.15.0 KDE Frameworks: 5.55.0 Qt: 5.12.1 Kate/Kwrite 18.12.2 Distro: Archlinux Created attachment 118211 [details]
New crash information added by DrKonqi
kwrite (18.12.0) using Qt 5.11.3
- What I was doing when the application crashed:
Hey, so apparently this still happens sometimes. I'm on Fedora 29 and opened a tab delimited file. Kwrite continues crashing everytime I point to the scrolling preview thing. Hopefully this will help in resolving the issue.
-- Backtrace (Reduced):
#7 0x00007f64a1aa5b61 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () from /lib64/libQt5Widgets.so.5
#8 0x00007f64a1553495 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /lib64/libQt5Gui.so.5
#9 0x00007f64a15536cd in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib64/libQt5Gui.so.5
#10 0x00007f64a152e70b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
[...]
#12 0x00007f64a111be0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
(In reply to Sem from comment #19) > Created attachment 118211 [details] > New crash information added by DrKonqi > > kwrite (18.12.0) using Qt 5.11.3 > > - What I was doing when the application crashed: > > Hey, so apparently this still happens sometimes. I'm on Fedora 29 and opened > a tab delimited file. Kwrite continues crashing everytime I point to the > scrolling preview thing. Hopefully this will help in resolving the issue. > This issue should be already solved with system setup as described in: https://bugs.kde.org/show_bug.cgi?id=395369#c18 . You have to wait till your distro updates their packages. Created attachment 122067 [details]
New crash information added by DrKonqi
kate (18.08.0) using Qt 5.11.3
- What I was doing when the application crashed:
Passed mouse over scroll bar when activated the option "show text preview on scroll bar" under Wayland
- Custom settings of the application:
When is checked the option "show text preview on scroll bar"
-- Backtrace (Reduced):
#8 0x00007fdd61c9db79 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007fdd616c5ce5 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#10 0x00007fdd616c5f1d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#11 0x00007fdd616a006b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
[...]
#13 0x00007fdd6119a27b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
|