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

            Bug ID: 472830
           Summary: Kate segfaults when starting a new session
    Classification: Applications
           Product: kate
           Version: 23.04.3
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: matheus...@hotmail.com
  Target Milestone: ---

Application: kate (23.04.3)

Qt Version: 5.15.10
Frameworks Version: 5.108.0
Operating System: Linux 6.4.7-zen1-1-zen x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
I open Kate and click on the "New Session" button, to create a new session. For
some reason, Kate instantly segfaults.
It's also consistent, it always happen when I click on that button.

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#6  0x00007f8dcf4a06ab in QMetaObject::cast(QObject const*) const
(this=0x7f8dd0685fc0 <QGesture::staticMetaObject>,
obj=obj@entry=0x5559ee915010) at kernel/qmetaobject.cpp:389
#7  0x00007f8dcf4a06ea in QMetaObject::cast(QObject*) const (this=<optimized
out>, obj=obj@entry=0x5559ee915010) at kernel/qmetaobject.cpp:378
#8  0x00007f8dd01beb35 in qobject_cast<QGesture*>(QObject*)
(object=0x5559ee915010) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:524
#9  QGestureManager::getState(QObject*, QGestureRecognizer*, Qt::GestureType)
(this=this@entry=0x5559ef4a2210, object=object@entry=0x5559ee915010,
recognizer=recognizer@entry=0x5559ef9a9290, type=type@entry=270) at
kernel/qgesturemanager.cpp:191
#10 0x00007f8dd01bf030 in
QGestureManager::filterEventThroughContexts(QMultiMap<QObject*,
Qt::GestureType> const&, QEvent*) (this=0x5559ef4a2210, contexts=<optimized
out>, event=0x7ffd0bc0ab30) at kernel/qgesturemanager.cpp:284
#11 0x00007f8dd01c4a8b in QGestureManager::filterEvent(QWidget*, QEvent*)
(this=0x5559ef4a2210, receiver=<optimized out>, event=0x7ffd0bc0ab30) at
kernel/qgesturemanager.cpp:526
#12 0x00007f8dd017d0b3 in QApplication::notify(QObject*, QEvent*)
(this=0x7ffd0bc0b480, receiver=0x5559ef9cd630, e=0x7ffd0bc0ab30) at
kernel/qapplication.cpp:2915
#13 0x00007f8dcf49c2f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5559ef9cd630, event=0x7ffd0bc0ab30) at
kernel/qcoreapplication.cpp:1064
#14 0x00007f8dcf49c383 in QCoreApplication::sendSpontaneousEvent(QObject*,
QEvent*) (receiver=<optimized out>, event=<optimized out>) at
kernel/qcoreapplication.cpp:1474
#15 0x00007f8dd017c12a in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
(receiver=0x5559ef9cd630, event=0x7ffd0bc0ab30, alienWidget=<optimized out>,
nativeWidget=0x5559ef2c71c0, buttonDown=<optimized out>, lastMouseReceiver=...,
spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#16 0x00007f8dd01cced5 in QWidgetWindow::handleMouseEvent(QMouseEvent*)
(this=this@entry=0x5559ef55cec0, event=event@entry=0x7ffd0bc0ae90) at
kernel/qwidgetwindow.cpp:684
#17 0x00007f8dd01cec27 in QWidgetWindow::event(QEvent*) (this=0x5559ef55cec0,
event=0x7ffd0bc0ae90) at kernel/qwidgetwindow.cpp:300
#18 0x00007f8dd017893f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x5559ef55cec0, e=0x7ffd0bc0ae90) at
kernel/qapplication.cpp:3640
#19 0x00007f8dcf49c2f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5559ef55cec0, event=0x7ffd0bc0ae90) at
kernel/qcoreapplication.cpp:1064
#20 0x00007f8dcf49c383 in QCoreApplication::sendSpontaneousEvent(QObject*,
QEvent*) (receiver=<optimized out>, event=<optimized out>) at
kernel/qcoreapplication.cpp:1474
#21 0x00007f8dcf94192c in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
(e=0x5559efa72510) at kernel/qguiapplication.cpp:2285
#22 0x00007f8dcf92a6c5 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#23 0x00007f8dc952f3e0 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer)
(source=<optimized out>) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#24 0x00007f8dccd0fa31 in g_main_dispatch (context=0x7f8dc4000ee0) at
../glib/glib/gmain.c:3460
#25 g_main_context_dispatch (context=0x7f8dc4000ee0) at
../glib/glib/gmain.c:4200
#26 0x00007f8dccd6ccc9 in g_main_context_iterate.isra.0
(context=context@entry=0x7f8dc4000ee0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#27 0x00007f8dccd0d0e2 in g_main_context_iteration (context=0x7f8dc4000ee0,
may_block=1) at ../glib/glib/gmain.c:4343
#28 0x00007f8dcf4eb15c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x5559ee9e4350, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f8dcf49b004 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffd0bc0b230, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007f8dcf49c4a3 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x00007f8dcf93bed2 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1870
#32 0x00007f8dd0176cda in QApplication::exec() () at
kernel/qapplication.cpp:2832
#33 0x00005559ecb8260e in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/kate/kate-23.04.3/apps/kate/main.cpp:609
[Inferior 1 (process 98354) detached]

Reported using DrKonqi

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

Reply via email to