https://bugs.kde.org/show_bug.cgi?id=479689

            Bug ID: 479689
           Summary: Kate crashed randomly to QtWaylandClient
    Classification: Applications
           Product: kate
           Version: 24.01.90
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: akse...@akselmo.dev
  Target Milestone: ---

SUMMARY

Kate sometimes crashes randomly, I have no idea how to reproduce this. 

This may not be Kate specific though: It seems to happen when i switch windows.

Using kdesrc-build session of plasma 6

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 39
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.0
Kernel Version: 6.6.9-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
BACKTRACE

#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
#1  0x00007fd72aaae8a3 in __pthread_kill_internal (signo=11,
threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007fd72aa5c8ee in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007fd72f166f44 in KCrash::defaultCrashHandler (sig=11)
    at /home/akseli/Repositories/kde/src/kcrash/src/kcrash.cpp:586
#4  0x00007fd72aa5c9a0 in <signal handler called> () at /lib64/libc.so.6
#5  0x00007fd72ecb0e47 in QtWaylandClient::QWaylandXdgSurface::setGrabPopup
    (this=this@entry=0x73a1d70, parent=parent@entry=0x2438cb0,
device=0x1fa3e60, serial=15354)
    at
/usr/src/debug/qt6-qtwayland-6.6.0-1.fc39.x86_64/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp:584
#6  0x00007fd72ecb1069 in
QtWaylandClient::QWaylandXdgSurface::QWaylandXdgSurface
    (this=0x73a1d70, shell=<optimized out>, surface=<optimized out>,
window=<optimized out>, this=<optimized out>, shell=<optimized out>,
surface=<optimized out>, window=<optimized out>)
    at
/usr/src/debug/qt6-qtwayland-6.6.0-1.fc39.x86_64/redhat-linux-build/include/QtWaylandClient/6.6.0/QtWaylandClient/private/../../../../../../src/client/qwaylanddisplay_p.h:185
#7  0x00007fd72ecb1195 in
QtWaylandClient::QWaylandXdgShellIntegration::createShellSurface
    (this=0x1f9aff0, window=0x40e39a0) at
/usr/include/qt6/QtCore/qscopedpointer.h:110
#8  0x00007fd728ecfceb in QtWaylandClient::QWaylandWindow::initWindow
(this=this@entry=0x40e39a0)
    at
/usr/src/debug/qt6-qtwayland-6.6.0-1.fc39.x86_64/src/client/qwaylandwindow.cpp:141
#9  0x00007fd728ed0245 in QtWaylandClient::QWaylandWindow::setVisible
    (visible=<optimized out>, this=0x40e39a0)
    at
/usr/src/debug/qt6-qtwayland-6.6.0-1.fc39.x86_64/src/client/qwaylandwindow.cpp:547
#10 QtWaylandClient::QWaylandWindow::setVisible (this=0x40e39a0,
visible=<optimized out>)
    at
/usr/src/debug/qt6-qtwayland-6.6.0-1.fc39.x86_64/src/client/qwaylandwindow.cpp:539
#11 0x00007fd72c611b37 in QWidgetPrivate::show_sys (this=this@entry=0x4bc5b80)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qwidget.cpp:8207
--Type <RET> for more, q to quit, c to continue without paging--c
#12 0x00007fd72c61ad85 in QWidgetPrivate::show_helper
(this=this@entry=0x4bc5b80)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qwidget.cpp:8130
#13 0x00007fd72c61def5 in QWidgetPrivate::setVisible (this=0x4bc5b80,
visible=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qwidget.cpp:8426
#14 0x00007fd72c9fe016 in QCompleter::complete (this=0x26682f0, rect=...)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/util/qcompleter.cpp:1505
#15 0x00007fd72c764ee4 in QWidgetLineControl::complete (this=0x2331e60, key=-1)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/widgets/qwidgetlinecontrol.cpp:1473
#16 0x00007fd72b202598 in doActivate<false> (sender=0x2331e60, signal_index=7,
argv=0x7ffef98910a0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qobject.cpp:4033
#17 0x00007fd72b1f85f7 in QMetaObject::activate
    (sender=sender@entry=0x2331e60, m=m@entry=0x7fd72cb75dc0
<QWidgetLineControl::staticMetaObject>,
local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffef98910a0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qobject.cpp:4081
#18 0x00007fd72c762cbc in QWidgetLineControl::textEdited
(this=this@entry=0x2331e60, _t1=...)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/redhat-linux-build/src/widgets/Widgets_autogen/include/moc_qwidgetlinecontrol_p.cpp:368
#19 0x00007fd72c765ef3 in QWidgetLineControl::finishChange
    (this=0x2331e60, validateFromState=26, update=update@entry=false,
edited=edited@entry=true)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/widgets/qwidgetlinecontrol.cpp:712
#20 0x00007fd72c767bea in QWidgetLineControl::insert (this=<optimized out>,
newText=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/widgets/qwidgetlinecontrol.cpp:232
#21 0x00007fd72c768cac in QWidgetLineControl::processKeyEvent
    (this=0x2331e60, event=event@entry=0x7ffef98917f0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/tools/qarraydata.h:52
#22 0x00007fd72c75823f in QLineEdit::keyPressEvent (this=<optimized out>,
event=0x7ffef98917f0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/widgets/qlineedit.cpp:1742
#23 0x00007fd72c61f2b8 in QWidget::event (this=0x2675f00, event=0x7ffef98917f0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qwidget.cpp:9021
#24 0x00007fd72c61f2b8 in QWidget::event (this=0x2675dc0, event=0x7ffef98917f0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qwidget.cpp:9021
#25 0x00007fd72c5c2b38 in QApplicationPrivate::notify_helper
    (this=this@entry=0x1f8c190, receiver=receiver@entry=0x2675dc0,
e=e@entry=0x7ffef98917f0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qapplication.cpp:3290
#26 0x00007fd72c5ccdf2 in QApplication::notify
    (this=<optimized out>, receiver=<optimized out>, e=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qapplication.cpp:2718
#27 0x00007fd72b1a0ba8 in QCoreApplication::notifyInternal2
(receiver=0x2675dc0, event=0x7ffef98917f0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qcoreapplication.cpp:1118
#28 0x00007fd72b1a0bda in QCoreApplication::forwardEvent
    (receiver=<optimized out>, event=<optimized out>,
originatingEvent=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qcoreapplication.cpp:1133
#29 0x00007fd72c634f50 in QWidgetWindow::event (this=0x2541540,
event=0x7ffef98917f0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qwidgetwindow.cpp:234
#30 0x00007fd72c5c2b38 in QApplicationPrivate::notify_helper
    (this=<optimized out>, receiver=0x2541540, e=0x7ffef98917f0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qapplication.cpp:3290
#31 0x00007fd72b1a0ba8 in QCoreApplication::notifyInternal2
(receiver=0x2541540, event=0x7ffef98917f0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qcoreapplication.cpp:1118
#32 0x00007fd72b1a0dbd in QCoreApplication::sendSpontaneousEvent
    (receiver=<optimized out>, event=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qcoreapplication.cpp:1550
#33 0x00007fd72ba0536b in QGuiApplicationPrivate::processKeyEvent (e=0x651fe80)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/kernel/qguiapplication.cpp:2441
#34 0x00007fd72ba67c1c in QWindowSystemInterface::sendWindowSystemEvents
(flags=...)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:1109
#35 0x00007fd72bf3ff14 in userEventSourceDispatch (source=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#36 0x00007fd729711e5c in g_main_dispatch (context=0x7fd710000ef0) at
../glib/gmain.c:3476
#37 g_main_context_dispatch_unlocked (context=0x7fd710000ef0) at
../glib/gmain.c:4284
#38 0x00007fd72976cf18 in g_main_context_iterate_unlocked.isra.0
    (context=context@entry=0x7fd710000ef0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4349
#39 0x00007fd72970fad3 in g_main_context_iteration (context=0x7fd710000ef0,
may_block=1)
    at ../glib/gmain.c:4414
#40 0x00007fd72b44096f in QEventDispatcherGlib::processEvents (this=0x1f8ebc0,
flags=...)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#41 0x00007fd72b1ad9bb in QEventLoop::exec (this=this@entry=0x7ffef9891b30,
flags=..., flags@entry=...)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/global/qflags.h:34
#42 0x00007fd72b1a97bd in QCoreApplication::exec ()
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/global/qflags.h:74
#43 0x000000000040d583 in main (argc=2, argv=0x7ffef9893ec8)
    at /home/akseli/Repositories/kde/src/kate/apps/kate/main.cpp:529

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to