Bug 374219 - Pasting a piece of text into a .yml file crashes kdevelop
Summary: Pasting a piece of text into a .yml file crashes kdevelop
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.29.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2016-12-27 17:34 UTC by Julio J.
Modified: 2018-10-28 03:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julio J. 2016-12-27 17:34:26 UTC
Application: kdevelop (5.0.3)

Qt Version: 5.7.1
Frameworks Version: 5.29.0
Operating System: Linux 4.8.13-1-zen x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:

I had a couple of files opened, I copy-pasted some text from one to another and then it crashed. It happened twice already with different text from different files.

Not sure if related, but the files were YAML config files.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8b79b08600 (LWP 14929))]

Thread 15 (Thread 0x7f8ac5c2c700 (LWP 15164)):
#0  0x00007f8b7035910f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f8b683181f4 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f8b68318239 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7f8ac642d700 (LWP 15014)):
#0  0x00007f8b7692348d in poll () at /usr/lib/libc.so.6
#1  0x00007f8b6e364786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f8b6e36489c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f8b772462db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f8b771efd3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8b77012063 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f8b77016cf8 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f8ac7bf3700 (LWP 15007)):
#0  0x00007f8b7035910f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f8b6a5787c3 in  () at /usr/lib/libQt5WebKit.so.5
#2  0x00007f8b6a8b0a51 in  () at /usr/lib/libQt5WebKit.so.5
#3  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f8ac83f4700 (LWP 15006)):
#0  0x00007f8b7035910f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f8b6a5787c3 in  () at /usr/lib/libQt5WebKit.so.5
#2  0x00007f8b6a8b0a51 in  () at /usr/lib/libQt5WebKit.so.5
#3  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f8ac8bf5700 (LWP 15005)):
#0  0x00007f8b7035910f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f8b6a5787c3 in  () at /usr/lib/libQt5WebKit.so.5
#2  0x00007f8b6a8b0a51 in  () at /usr/lib/libQt5WebKit.so.5
#3  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f8ac93f6700 (LWP 15004)):
#0  0x00007f8b7035910f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f8b6a577671 in  () at /usr/lib/libQt5WebKit.so.5
#2  0x00007f8b6a8b0a51 in  () at /usr/lib/libQt5WebKit.so.5
#3  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f8aca283700 (LWP 15003)):
#0  0x00007f8b6e3a9db9 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f8b6e364742 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f8b6e36489c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f8b772462db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f8b771efd3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8b77012063 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f8b77016cf8 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f8b0b104700 (LWP 15002)):
#0  0x00007f8b7035910f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f8b6a87f8ab in  () at /usr/lib/libQt5WebKit.so.5
#2  0x00007f8b6a87f8e9 in  () at /usr/lib/libQt5WebKit.so.5
#3  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f8b267fc700 (LWP 15001)):
#0  0x00007f8b6e3a9db9 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f8b6e364184 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x00007f8b6e364724 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f8b6e36489c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f8b772462db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8b771efd3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f8b77012063 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f8b6c41fe75 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f8b77016cf8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f8b34b4f700 (LWP 14954)):
#0  0x00007f8b7724588b in  () at /usr/lib/libQt5Core.so.5
#1  0x00007f8b6e363c89 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f8b6e3646ab in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f8b6e36489c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f8b772462db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8b771efd3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f8b77012063 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f8b77016cf8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f8b36a6a700 (LWP 14950)):
#0  0x00007f8b6e363c45 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#1  0x00007f8b6e3646ab in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f8b6e36489c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f8b772462db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f8b771efd3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8b77012063 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f8b74b4836f in  () at /usr/lib/libKDevPlatformLanguage.so.10
#7  0x00007f8b77016cf8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f8b35350700 (LWP 14948)):
#0  0x00007f8b703594b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f8b77017ae6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f8b74a46df8 in  () at /usr/lib/libKDevPlatformLanguage.so.10
#3  0x00007f8b77016cf8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f8b56217700 (LWP 14931)):
#0  0x00007ffea75e4ac7 in clock_gettime ()
#1  0x00007f8b769396b6 in clock_gettime () at /usr/lib/libc.so.6
#2  0x00007f8b770bc211 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f8b77243f59 in QTimerInfoList::updateCurrentTime() () at /usr/lib/libQt5Core.so.5
#4  0x00007f8b77244505 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8b772458ae in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f8b6e363c89 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#7  0x00007f8b6e3646ab in  () at /usr/lib/libglib-2.0.so.0
#8  0x00007f8b6e36489c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#9  0x00007f8b772462db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#10 0x00007f8b771efd3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#11 0x00007f8b77012063 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#12 0x00007f8b78d3dde5 in  () at /usr/lib/libQt5DBus.so.5
#13 0x00007f8b77016cf8 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#15 0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f8b57bcf700 (LWP 14930)):
#0  0x00007f8b7692348d in poll () at /usr/lib/libc.so.6
#1  0x00007f8b66a178e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f8b66a19679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f8b59b10789 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f8b77016cf8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f8b70353454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f8b7692c7df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f8b79b08600 (LWP 14929)):
[KCrash Handler]
#6  0x00007f8b7371c984 in  () at /usr/lib/libKF5TextEditor.so.5
#7  0x00007f8b7371af5f in  () at /usr/lib/libKF5TextEditor.so.5
#8  0x00007f8b7371f75d in KateUndoManager::undo() () at /usr/lib/libKF5TextEditor.so.5
#9  0x00007f8b738af795 in  () at /usr/lib/libKF5TextEditor.so.5
#10 0x00007f8b7721d0c9 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#11 0x00007f8b77ec4992 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f8b77ec7380 in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f8b77ec7cfc in QAction::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f8b77ecb35c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f8b77ed2ad1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f8b771f18e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007f8b77763d98 in QShortcutMap::dispatchEvent(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
#18 0x00007f8b77763e59 in QShortcutMap::tryShortcut(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
#19 0x00007f8b7771c79d in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () at /usr/lib/libQt5Gui.so.5
#20 0x00007f8b77733ca4 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/libQt5Gui.so.5
#21 0x00007f8b777391c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#22 0x00007f8b7771715b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#23 0x00007f8b59b46dc0 in  () at /usr/lib/libQt5XcbQpa.so.5
#24 0x00007f8b6e364587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#25 0x00007f8b6e3647f0 in  () at /usr/lib/libglib-2.0.so.0
#26 0x00007f8b6e36489c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#27 0x00007f8b772462bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#28 0x00007f8b771efd3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#29 0x00007f8b771f823c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#30 0x000000000040baac in  ()
#31 0x00007f8b76864291 in __libc_start_main () at /usr/lib/libc.so.6
#32 0x000000000040c0ea in _start ()

Reported using DrKonqi
Comment 1 Dominik Haumann 2017-02-18 12:12:31 UTC
Can you please install debug symbols and then reproduce this crash again? Since right now, it just tells us it crashes in libKTextEditor. This does not help us at all unfortunately.
Comment 2 Christoph Cullmann 2017-07-24 08:25:02 UTC
Without more info, no chance to fix that, sorry.
Comment 3 Julio J. 2017-07-24 13:59:47 UTC
I guess you can close it, I wasn't able to reproduce it again.
Comment 4 Andrew Crouthamel 2018-09-28 02:26:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-28 03:25:48 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!