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

            Bug ID: 435500
           Summary: sporadic kate crash when dragging text
           Product: kate
           Version: 21.03.80
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: cyrille.dun...@gmail.com
  Target Milestone: ---

Application: kate (21.03.80)

Qt Version: 5.15.2
Frameworks Version: 5.80.0
Operating System: Linux 5.11.6-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.21.4
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
dragging text seem to cause crashes occasionally.
When crashing all information on open files, etc is also lost
- Custom settings of the application:
I was editing a c++ file

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f3d285d1a79 in KateLineLayout::viewLineCount (this=0x0) at
/usr/src/debug/ktexteditor-5.80.0-240.1.x86_64/src/render/katelinelayout.cpp:165
#5  KateLayoutCache::viewLine (this=this@entry=0x55f0aa060110, realCursor=...)
at
/usr/src/debug/ktexteditor-5.80.0-240.1.x86_64/src/render/katelayoutcache.cpp:377
#6  0x00007f3d285d1b72 in KateLayoutCache::textLayout (this=0x55f0aa060110,
realCursor=...) at
/usr/src/debug/ktexteditor-5.80.0-240.1.x86_64/src/render/katelayoutcache.cpp:328
#7  0x00007f3d28628c13 in KateViewInternal::doDrag (this=0x55f0aa491f10) at
/usr/src/debug/ktexteditor-5.80.0-240.1.x86_64/src/view/kateviewinternal.cpp:3903
#8  KateViewInternal::mouseMoveEvent (this=0x55f0aa491f10, e=<optimized out>)
at
/usr/src/debug/ktexteditor-5.80.0-240.1.x86_64/src/view/kateviewinternal.cpp:3130
#9  0x00007f3d274ad34e in QWidget::event (this=0x55f0aa491f10,
event=0x7ffe3f4fc510) at kernel/qwidget.cpp:9019
#10 0x00007f3d2746d4ff in QApplicationPrivate::notify_helper
(this=this@entry=0x55f0a7eae5f0, receiver=receiver@entry=0x55f0aa491f10,
e=e@entry=0x7ffe3f4fc510) at kernel/qapplication.cpp:3632
#11 0x00007f3d274743eb in QApplication::notify (this=0x7ffe3f4fc210,
receiver=0x55f0aa491f10, e=0x7ffe3f4fc510) at kernel/qapplication.cpp:3076
#12 0x00007f3d2687f32a in QCoreApplication::notifyInternal2
(receiver=0x55f0aa491f10, event=0x7ffe3f4fc510) at
kernel/qcoreapplication.cpp:1063
#13 0x00007f3d27473416 in QApplicationPrivate::sendMouseEvent
(receiver=receiver@entry=0x55f0aa491f10, event=event@entry=0x7ffe3f4fc510,
alienWidget=alienWidget@entry=0x55f0aa491f10, nativeWidget=0x55f0a809b5b0,
buttonDown=buttonDown@entry=0x7f3d2799b670 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
kernel/qapplication.cpp:2614
#14 0x00007f3d274c53b1 in QWidgetWindow::handleMouseEvent (this=0x55f0aa688210,
event=0x7ffe3f4fc7d0) at kernel/qwidgetwindow.cpp:683
#15 0x00007f3d274c88be in QWidgetWindow::event (this=0x55f0aa688210,
event=0x7ffe3f4fc7d0) at kernel/qwidgetwindow.cpp:300
#16 0x00007f3d2746d4ff in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55f0aa688210, e=0x7ffe3f4fc7d0) at
kernel/qapplication.cpp:3632
#17 0x00007f3d2687f32a in QCoreApplication::notifyInternal2
(receiver=0x55f0aa688210, event=0x7ffe3f4fc7d0) at
kernel/qcoreapplication.cpp:1063
#18 0x00007f3d26cedd03 in QGuiApplicationPrivate::processMouseEvent
(e=0x55f0ad33a4a0) at kernel/qguiapplication.cpp:2282
#19 0x00007f3d26cc3c5c in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#20 0x00007f3d21ec1faa in xcbSourceDispatch
(source=source@entry=0x55f0a7f937e0) at qxcbeventdispatcher.cpp:105
#21 0x00007f3d249dcf57 in g_main_dispatch (context=0x7f3d1c005000) at
../glib/gmain.c:3325
#22 g_main_context_dispatch (context=0x7f3d1c005000) at ../glib/gmain.c:4043
#23 0x00007f3d249dd2d8 in g_main_context_iterate
(context=context@entry=0x7f3d1c005000, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4119
#24 0x00007f3d249dd38f in g_main_context_iteration (context=0x7f3d1c005000,
may_block=may_block@entry=1) at ../glib/gmain.c:4184
#25 0x00007f3d268d68bf in QEventDispatcherGlib::processEvents
(this=0x55f0a7f97860, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#26 0x00007f3d2687dceb in QEventLoop::exec (this=this@entry=0x7ffe3f4fcb00,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#27 0x00007f3d26885f60 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#28 0x00007f3d26ce135c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1867
#29 0x00007f3d2746d475 in QApplication::exec () at kernel/qapplication.cpp:2824
#30 0x000055f0a7836e37 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kate-21.03.80-1.1.x86_64/kate/main.cpp:684
[Inferior 1 (process 29408) detached]

Possible duplicates by query: bug 424079, bug 381080, bug 342512, bug 336898,
bug 335976.

Reported using DrKonqi

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

Reply via email to