Bug 335065 - Kate crashes during save
Summary: Kate crashes during save
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 3.12.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2014-05-20 08:16 UTC by Marci Lipusz
Modified: 2018-10-27 03:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marci Lipusz 2014-05-20 08:16:59 UTC
Application: kate (3.12.3)
KDE Platform Version: 4.12.3
Qt Version: 4.8.2
Operating System: Linux 3.2.0-61-generic x86_64
Distribution: Ubuntu 12.04.4 LTS

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

I tried to save and kate crashed. It happens from time to time, but not always during save. I use kate project plugin and multiple tab was open.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb9fd457780 (LWP 9903))]

Thread 6 (Thread 0x7fb9e05dc700 (LWP 9904)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb9ea8fb022 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fb9ea8fb059 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fb9fa37de9a in start_thread (arg=0x7fb9e05dc700) at pthread_create.c:308
#4  0x00007fb9fcda43fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb95cfa2700 (LWP 9906)):
#0  0x00007fb9fcd98a43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb9f9eb0ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb9f9eb1124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb9fac73926 in QEventDispatcherGlib::processEvents (this=0x7fb9580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fb9fac42e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb9fac430b7 in QEventLoop::exec (this=0x7fb95cfa1dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fb9fab42077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fb9fac22b6f in QInotifyFileSystemWatcherEngine::run (this=0x2b1bdd0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb9fab4509b in QThreadPrivate::start (arg=0x2b1bdd0) at thread/qthread_unix.cpp:307
#9  0x00007fb9fa37de9a in start_thread (arg=0x7fb95cfa2700) at pthread_create.c:308
#10 0x00007fb9fcda43fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb957fff700 (LWP 9911)):
#0  0x00007fb9fcd96ffd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fb9f9eeb8df in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb9f9eb0b64 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb9f9eb0f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb9f9eb1124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb9fac73926 in QEventDispatcherGlib::processEvents (this=0x7fb9500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fb9fac42e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fb9fac430b7 in QEventLoop::exec (this=0x7fb957ffedd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fb9fab42077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fb9fac22b6f in QInotifyFileSystemWatcherEngine::run (this=0x2bc3790) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fb9fab4509b in QThreadPrivate::start (arg=0x2bc3790) at thread/qthread_unix.cpp:307
#11 0x00007fb9fa37de9a in start_thread (arg=0x7fb957fff700) at pthread_create.c:308
#12 0x00007fb9fcda43fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb956a4d700 (LWP 9940)):
#0  __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:49
#1  __pthread_mutex_unlock (mutex=0x7fb94800b3d0) at pthread_mutex_unlock.c:290
#2  0x00007fb9f9eec5e1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb9f9eb07fb in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb9f9eb0f1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb9f9eb1124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fb9fac73926 in QEventDispatcherGlib::processEvents (this=0x7fb948001130, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007fb9fac42e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fb9fac430b7 in QEventLoop::exec (this=0x7fb956a4cdf0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fb9fab42077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007fb9e988b5e9 in ?? () from /usr/lib/kde4/kateprojectplugin.so
#11 0x0000000002563568 in ?? ()
#12 0x00007fb9fab4509b in QThreadPrivate::start (arg=0x2563568) at thread/qthread_unix.cpp:307
#13 0x00007fb9fa37de9a in start_thread (arg=0x7fb956a4d700) at pthread_create.c:308
#14 0x00007fb9fcda43fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb95624c700 (LWP 9941)):
#0  0x00007fb9f9eec335 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb9f9eec5d9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb9f9eb07fb in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb9f9eb0f1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb9f9eb1124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb9fac73926 in QEventDispatcherGlib::processEvents (this=0x7fb94c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fb9fac42e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fb9fac430b7 in QEventLoop::exec (this=0x7fb95624bdd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fb9fab42077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fb9fac22b6f in QInotifyFileSystemWatcherEngine::run (this=0x1b418d0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fb9fab4509b in QThreadPrivate::start (arg=0x1b418d0) at thread/qthread_unix.cpp:307
#11 0x00007fb9fa37de9a in start_thread (arg=0x7fb95624c700) at pthread_create.c:308
#12 0x00007fb9fcda43fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb9fd457780 (LWP 9903)):
[KCrash Handler]
#6  QModelIndex (other=..., this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModelPrivate::filter_changed (this=0x2da5000, source_parent=...) at itemviews/qsortfilterproxymodel.cpp:1042
#8  0x00007fb9fc7610aa in QSortFilterProxyModelPrivate::filter_changed (this=0x2da5000, source_parent=...) at itemviews/qsortfilterproxymodel.cpp:1047
#9  0x00007fb9fc761285 in QSortFilterProxyModel::setFilterFixedString (this=<optimized out>, pattern=...) at itemviews/qsortfilterproxymodel.cpp:2227
#10 0x00007fb9e9891768 in node_destruct (to=0x7fffb553f440, from=0x1, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:755
#11 QList<QModelIndex>::free (data=0x0, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:757
#12 0x0000000002dbad10 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x00007fb9fac58781 in QMetaObject::activate (sender=0x2ad3740, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb553f580) at kernel/qobject.cpp:3547
#15 0x00007fb9fc5cd142 in QLineEdit::textChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qlineedit.cpp:264
#16 0x00007fb9fc5cd3e9 in QLineEdit::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qlineedit.cpp:140
#17 0x00007fb9fac58781 in QMetaObject::activate (sender=0x2c9e770, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb553f6f0) at kernel/qobject.cpp:3547
#18 0x00007fb9fc8402f5 in QLineControl::textChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qlinecontrol_p.cpp:148
#19 0x00007fb9fc5d200b in QLineControl::finishChange (this=0x2c9e770, validateFromState=157, update=<optimized out>, edited=true) at widgets/qlinecontrol.cpp:660
#20 0x00007fb9fc5d43dd in QLineControl::processKeyEvent (this=0x2c9e770, event=0x7fffb55404c0) at widgets/qlinecontrol.cpp:1879
#21 0x00007fb9fc5c91d9 in QLineEdit::keyPressEvent (this=0x2ad3740, event=0x7fffb55404c0) at widgets/qlineedit.cpp:1707
#22 0x00007fb9fb508138 in KLineEdit::keyPressEvent (this=0x2ad3740, e=0x7fffb55404c0) at ../../kdeui/widgets/klineedit.cpp:965
#23 0x00007fb9fc1fd038 in QWidget::event (this=0x2ad3740, event=0x7fffb55404c0) at kernel/qwidget.cpp:8406
#24 0x00007fb9fc5cb777 in QLineEdit::event (this=0x2ad3740, e=0x7fffb55404c0) at widgets/qlineedit.cpp:1524
#25 0x00007fb9fb5067dd in KLineEdit::event (this=0x2ad3740, ev=0x7fffb55404c0) at ../../kdeui/widgets/klineedit.cpp:1402
#26 0x00007fb9fc1ac7b4 in notify_helper (e=0x7fffb55404c0, receiver=0x2ad3740, this=0x177a390) at kernel/qapplication.cpp:4556
#27 QApplicationPrivate::notify_helper (this=0x177a390, receiver=0x2ad3740, e=0x7fffb55404c0) at kernel/qapplication.cpp:4528
#28 0x00007fb9fc1b1c45 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fffb55404c0) at kernel/qapplication.cpp:3997
#29 0x00007fb9fb44e1d6 in KApplication::notify (this=0x7fffb5541400, receiver=0x2ad3740, event=0x7fffb55404c0) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007fb9fac4432c in QCoreApplication::notifyInternal (this=0x7fffb5541400, receiver=0x2ad3740, event=0x7fffb55404c0) at kernel/qcoreapplication.cpp:915
#31 0x00007fb9fc250bc9 in QKeyMapper::sendKeyEvent (keyWidget=0x2ad3740, grab=<optimized out>, type=QEvent::KeyPress, code=68, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=40, nativeVirtualKey=68, nativeModifiers=1) at kernel/qkeymapper_x11.cpp:1866
#32 0x00007fb9fc25103b in QKeyMapperPrivate::translateKeyEvent (this=0x17bc2f0, keyWidget=0x2ad3740, event=0x7fffb5540fb0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#33 0x00007fb9fc22b557 in QApplication::x11ProcessEvent (this=0x7fffb5541400, event=0x7fffb5540fb0) at kernel/qapplication_x11.cpp:3625
#34 0x00007fb9fc255052 in x11EventSourceDispatch (s=0x177ce00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007fb9f9eb0d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fb9f9eb1060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fb9f9eb1124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fb9fac73926 in QEventDispatcherGlib::processEvents (this=0x1741b30, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#39 0x00007fb9fc254cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007fb9fac42e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007fb9fac430b7 in QEventLoop::exec (this=0x7fffb5541350, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007fb9fac48407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#43 0x00007fb9fd07627d in detach_helper (this=0x7fffb55422f0) at /usr/include/qt4/QtCore/qlist.h:725
#44 detach (this=0x7fffb55422f0) at /usr/include/qt4/QtCore/qlist.h:139
#45 detach (this=0x7fffb55422f0) at ./katemain.moc:97
#46 operator[] (i=0, this=0x7fffb55422f0) at /usr/include/qt4/QtCore/qlist.h:478
#47 kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:217
#48 0x00007fffb55429b0 in ?? ()
#49 0x0000000000000000 in ?? ()

Reported using DrKonqi
Comment 1 Dominik Haumann 2014-06-07 13:08:46 UTC
Can you try to update Qt to version >= 4.8.4 ?

The backtrace doesn't contain any Kate traces, so it's not easy to see what's happening here. Maybe a Qt issue...
Comment 2 Christoph Cullmann 2014-09-09 22:19:03 UTC
We need more info how to reproduce.
Comment 3 Andrew Crouthamel 2018-09-25 03:54:20 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 4 Andrew Crouthamel 2018-10-27 03:45:16 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!