Bug 383061 - Crash when typing any single letter in the editor
Summary: Crash when typing any single letter in the editor
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 17.04.3
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-08-02 23:21 UTC by Leonardo Ferraguzzi
Modified: 2017-08-23 11:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Ferraguzzi 2017-08-02 23:21:08 UTC
Application: kate (17.04.3)
 (Compiled from sources)
Qt Version: 5.7.1
Frameworks Version: 5.36.0
Operating System: Linux 4.12.4-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:
1. Started Kate successfully
2. Typed a single letter
3. Kate crashed

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f13235492e1 in KateUndoManager::editStart (this=0xf9e420d430) at /var/tmp/portage/kde-frameworks/ktexteditor-5.36.0/work/ktexteditor-5.36.0/src/undo/kateundomanager.cpp:77
#6  0x00007f132352241e in KTextEditor::DocumentPrivate::editStart (this=this@entry=0xf9e420cff0) at /var/tmp/portage/kde-frameworks/ktexteditor-5.36.0/work/ktexteditor-5.36.0/src/document/katedocument.cpp:995
#7  0x00007f13235377b3 in KTextEditor::DocumentPrivate::editStart (this=0xf9e420cff0) at /var/tmp/portage/kde-frameworks/ktexteditor-5.36.0/work/ktexteditor-5.36.0/src/document/katedocument.cpp:2882
#8  KTextEditor::DocumentPrivate::typeChars (this=<optimized out>, view=0xf9e4a0ab60, realChars=...) at /var/tmp/portage/kde-frameworks/ktexteditor-5.36.0/work/ktexteditor-5.36.0/src/document/katedocument.cpp:2972
#9  0x00007f13235df51f in KateViewInternal::keyPressEvent (this=0xf9e4beabb0, e=0x7ffcc81314d0) at /var/tmp/portage/kde-frameworks/ktexteditor-5.36.0/work/ktexteditor-5.36.0/src/view/kateviewinternal.cpp:2464
#10 0x00007f13235e7a43 in KateViewInternal::eventFilter (this=0xf9e4beabb0, obj=0xf9e4beabb0, e=0x7ffcc81314d0) at /var/tmp/portage/kde-frameworks/ktexteditor-5.36.0/work/ktexteditor-5.36.0/src/view/kateviewinternal.cpp:2312
#11 0x00007f1321ea33fe in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0xf9e4beabb0, event=event@entry=0x7ffcc81314d0) at kernel/qcoreapplication.cpp:1099
#12 0x00007f132286c848 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xf9e4beabb0, e=0x7ffcc81314d0) at kernel/qapplication.cpp:3795
#13 0x00007f13228755c0 in QApplication::notify (this=<optimized out>, receiver=0xf9e4beabb0, e=0x7ffcc81314d0) at kernel/qapplication.cpp:3181
#14 0x00007f1321ea3720 in QCoreApplication::notifyInternal2 (receiver=0xf9e4beabb0, event=0x7ffcc81314d0) at kernel/qcoreapplication.cpp:988
#15 0x00007f13228e50a0 in QWidgetWindow::event (this=0xf9e4d6bf20, event=0x7ffcc81314d0) at kernel/qwidgetwindow.cpp:232
#16 0x00007f132286c86c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xf9e4d6bf20, e=0x7ffcc81314d0) at kernel/qapplication.cpp:3799
#17 0x00007f13228738ee in QApplication::notify (this=0x7ffcc8131b00, receiver=0xf9e4d6bf20, e=0x7ffcc81314d0) at kernel/qapplication.cpp:3556
#18 0x00007f1321ea3720 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0xf9e4d6bf20, event=event@entry=0x7ffcc81314d0) at kernel/qcoreapplication.cpp:988
#19 0x00007f13222fb25f in QCoreApplication::sendSpontaneousEvent (event=0x7ffcc81314d0, receiver=0xf9e4d6bf20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#20 QGuiApplicationPrivate::processKeyEvent (e=0xf9e50a3440) at kernel/qguiapplication.cpp:2016
#21 0x00007f1322301245 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0xf9e50a3440) at kernel/qguiapplication.cpp:1693
#22 0x00007f13222d8974 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:659
#23 0x00007f131d2f7590 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:76
#24 0x00007f131fd326db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f131fd32e45 in ?? () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f131fd32eac in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f1321efbe24 in QEventDispatcherGlib::processEvents (this=0xf9e3e62390, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007f1321ea1589 in QEventLoop::processEvents (flags=..., this=0x7ffcc8131820) at kernel/qeventloop.cpp:134
#29 QEventLoop::exec (this=this@entry=0x7ffcc8131820, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#30 0x00007f1321eaa40e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#31 0x000000f9e3d64add in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kate-17.04.3/work/kate-17.04.3/kate/main.cpp:583

Reported using DrKonqi
Comment 1 Christoph Feck 2017-08-23 11:30:29 UTC
We received no duplicates to this bug, so I am pretty sure there is/was something wrong with your build.

Please investigate with help from a forum of your distribution. If consensus shows there is a bug in Kate application or KTextEditor framework, please add a comment.