Bug 215369

Summary: Kate Crash On Closing Session
Product: [Applications] kate Reporter: John Schneiderman <JohnMS>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description John Schneiderman 2009-11-20 05:16:17 UTC
Application that crashed: kate
Version of the application: 3.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.5-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
After working on a project for some time, I closed Kate to shut down and it crashed. Session was in a normal view, with around seven or eight files open.

 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff863e43710 (LWP 5765))]

Thread 7 (Thread 0x7ff84d71c910 (LWP 5811)):
#0  0x00007ff863619e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff863884d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007ff84eb033d9 in ?? () from /usr/lib64/kde4/nepomuksmartfilemodule.so
#3  0x00007ff863883ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007ff8636157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007ff86100337d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff837c26910 (LWP 6371)):
#0  0x00007ff863619e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff863884d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007ff84eb033d9 in ?? () from /usr/lib64/kde4/nepomuksmartfilemodule.so
#3  0x00007ff863883ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007ff8636157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007ff86100337d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff84c654910 (LWP 8772)):
#0  0x00007ff863619e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff863884d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007ff84eb033d9 in ?? () from /usr/lib64/kde4/nepomuksmartfilemodule.so
#3  0x00007ff863883ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007ff8636157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007ff86100337d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff837425910 (LWP 8870)):
#0  0x00007ff863619e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff863884d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007ff84eb033d9 in ?? () from /usr/lib64/kde4/nepomuksmartfilemodule.so
#3  0x00007ff863883ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007ff8636157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007ff86100337d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff832c23910 (LWP 8936)):
#0  0x00007ff863619e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff863884d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007ff84eb033d9 in ?? () from /usr/lib64/kde4/nepomuksmartfilemodule.so
#3  0x00007ff863883ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007ff8636157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007ff86100337d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff832422910 (LWP 9037)):
#0  0x00007ff863619e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff863884d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007ff84eb033d9 in ?? () from /usr/lib64/kde4/nepomuksmartfilemodule.so
#3  0x00007ff863883ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007ff8636157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007ff86100337d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff863e43710 (LWP 5765)):
[KCrash Handler]
#5  0x00007ff861a85610 in QAbstractButton::isChecked () from /usr/lib64/libQtGui.so.4
#6  0x00007ff84bc4f013 in ?? () from /usr/lib64/kde4/kfileaudiopreview.so
#7  0x00007ff86397790c in QObjectPrivate::deleteChildren () from /usr/lib64/libQtCore.so.4
#8  0x00007ff86176eb43 in QWidget::~QWidget () from /usr/lib64/libQtGui.so.4
#9  0x00007ff861b30d31 in QStackedWidget::~QStackedWidget () from /usr/lib64/libQtGui.so.4
#10 0x00007ff86397790c in QObjectPrivate::deleteChildren () from /usr/lib64/libQtCore.so.4
#11 0x00007ff86176eb43 in QWidget::~QWidget () from /usr/lib64/libQtGui.so.4
#12 0x00007ff86293e0d0 in KFileMetaPreview::~KFileMetaPreview () from /usr/lib64/libkio.so.5
#13 0x00007ff852d57b12 in KDirOperator::Private::~Private () from /usr/lib64/libkfile.so.4
#14 0x00007ff852d57cdf in KDirOperator::~KDirOperator () from /usr/lib64/libkfile.so.4
#15 0x00007ff852d71caf in KFileWidget::~KFileWidget () from /usr/lib64/libkfile.so.4
#16 0x00007ff86397790c in QObjectPrivate::deleteChildren () from /usr/lib64/libQtCore.so.4
#17 0x00007ff86176eb43 in QWidget::~QWidget () from /usr/lib64/libQtGui.so.4
#18 0x00007ff861b30d31 in QStackedWidget::~QStackedWidget () from /usr/lib64/libQtGui.so.4
#19 0x00007ff86397790c in QObjectPrivate::deleteChildren () from /usr/lib64/libQtCore.so.4
#20 0x00007ff86176eb43 in QWidget::~QWidget () from /usr/lib64/libQtGui.so.4
#21 0x00007ff84eaf7fcd in ?? () from /usr/lib64/kde4/nepomuksmartfilemodule.so
#22 0x00007ff86397790c in QObjectPrivate::deleteChildren () from /usr/lib64/libQtCore.so.4
#23 0x00007ff86176eb43 in QWidget::~QWidget () from /usr/lib64/libQtGui.so.4
#24 0x00007ff86293279d in KEncodingFileDialog::~KEncodingFileDialog () from /usr/lib64/libkio.so.5
#25 0x00007ff86397790c in QObjectPrivate::deleteChildren () from /usr/lib64/libQtCore.so.4
#26 0x00007ff86176eb43 in QWidget::~QWidget () from /usr/lib64/libQtGui.so.4
#27 0x00007ff8624191a5 in KMainWindow::~KMainWindow () from /usr/lib64/libkdeui.so.5
#28 0x00007ff856f1f7c4 in ~KateMainWindow (this=0x28d61e0) at /usr/src/debug/kdesdk-4.3.2/kate/app/katemainwindow.cpp:232
#29 0x00007ff863978bcd in QObject::event () from /usr/lib64/libQtCore.so.4
#30 0x00007ff86177230f in QWidget::event () from /usr/lib64/libQtGui.so.4
#31 0x00007ff861ae759b in QMainWindow::event () from /usr/lib64/libQtGui.so.4
#32 0x00007ff8624537b3 in KXmlGuiWindow::event () from /usr/lib64/libkdeui.so.5
#33 0x00007ff86172412c in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#34 0x00007ff86172b3fe in QApplication::notify () from /usr/lib64/libQtGui.so.4
#35 0x00007ff862348326 in KApplication::notify () from /usr/lib64/libkdeui.so.5
#36 0x00007ff8639696ac in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#37 0x00007ff86396a2ba in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/libQtCore.so.4
#38 0x00007ff8639920d3 in ?? () from /usr/lib64/libQtCore.so.4
#39 0x00007ff86067e4ce in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#40 0x00007ff860681e98 in ?? () from /usr/lib64/libglib-2.0.so.0
#41 0x00007ff860681fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#42 0x00007ff863991c73 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#43 0x00007ff8617b764e in ?? () from /usr/lib64/libQtGui.so.4
#44 0x00007ff863967fe2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#45 0x00007ff8639683b4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#46 0x00007ff85a15fc61 in Phonon::PulseSupport::PulseSupport () from /usr/lib64/libphonon.so.4
#47 0x00007ff85a15fcdf in Phonon::PulseSupport::getInstance () from /usr/lib64/libphonon.so.4
#48 0x00007ff84b52fc28 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so
#49 0x00007ff84b530143 in qt_plugin_instance () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so
#50 0x00007ff84ba3fc92 in Phonon::KdePlatformPlugin::createBackend (this=<value optimized out>, newService=) at /usr/src/debug/kdebase-runtime-4.3.2/phonon/platform_kde/kdeplatformplugin.cpp:155
#51 0x00007ff84ba40e6b in Phonon::KdePlatformPlugin::createBackend (this=0x33dadf0) at /usr/src/debug/kdebase-runtime-4.3.2/phonon/platform_kde/kdeplatformplugin.cpp:204
#52 0x00007ff85a1521d6 in ?? () from /usr/lib64/libphonon.so.4
#53 0x00007ff85a153c27 in Phonon::Factory::backend () from /usr/lib64/libphonon.so.4
#54 0x00007ff85a14c43e in Phonon::BackendCapabilities::availableMimeTypes () from /usr/lib64/libphonon.so.4
#55 0x00007ff84bc4f441 in ?? () from /usr/lib64/kde4/kfileaudiopreview.so
#56 0x00007ff84bc50245 in KPluginFactory::createInstance<KFileAudioPreview, QWidget> () from /usr/lib64/kde4/kfileaudiopreview.so
#57 0x00007ff86337e10e in KPluginFactory::create () from /usr/lib64/libkdecore.so.5
#58 0x00007ff86293e267 in KFileMetaPreview::createAudioPreview () from /usr/lib64/libkio.so.5
#59 0x00007ff86293f0ba in KFileMetaPreview::previewProviderFor () from /usr/lib64/libkio.so.5
#60 0x00007ff86293e3f2 in KFileMetaPreview::showPreview () from /usr/lib64/libkio.so.5
#61 0x00007ff852d55141 in KDirOperator::Private::_k_triggerPreview () from /usr/lib64/libkfile.so.4
#62 0x00007ff852d60eb8 in KDirOperator::qt_metacall () from /usr/lib64/libkfile.so.4
#63 0x00007ff86397e88c in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#64 0x00007ff861beec45 in QAbstractItemView::entered () from /usr/lib64/libQtGui.so.4
#65 0x00007ff861bfa180 in QAbstractItemView::mouseMoveEvent () from /usr/lib64/libQtGui.so.4
#66 0x00007ff861c11689 in QListView::mouseMoveEvent () from /usr/lib64/libQtGui.so.4
#67 0x00007ff8617729d2 in QWidget::event () from /usr/lib64/libQtGui.so.4
#68 0x00007ff861accf96 in QFrame::event () from /usr/lib64/libQtGui.so.4
#69 0x00007ff861bff38b in QAbstractItemView::viewportEvent () from /usr/lib64/libQtGui.so.4
#70 0x00007ff8639689f7 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib64/libQtCore.so.4
#71 0x00007ff8617240fc in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#72 0x00007ff86172b241 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#73 0x00007ff862348326 in KApplication::notify () from /usr/lib64/libkdeui.so.5
#74 0x00007ff8639696ac in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#75 0x00007ff86172ab10 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/libQtGui.so.4
#76 0x00007ff861790bae in ?? () from /usr/lib64/libQtGui.so.4
#77 0x00007ff86178fc4a in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#78 0x00007ff8617b7e9c in ?? () from /usr/lib64/libQtGui.so.4
#79 0x00007ff86067e4ce in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#80 0x00007ff860681e98 in ?? () from /usr/lib64/libglib-2.0.so.0
#81 0x00007ff860681fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#82 0x00007ff863991c73 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#83 0x00007ff8617b764e in ?? () from /usr/lib64/libQtGui.so.4
#84 0x00007ff863967fe2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#85 0x00007ff8639683b4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#86 0x00007ff85a15fc61 in Phonon::PulseSupport::PulseSupport () from /usr/lib64/libphonon.so.4
#87 0x00007ff85a15fcdf in Phonon::PulseSupport::getInstance () from /usr/lib64/libphonon.so.4
#88 0x00007ff84b52fc28 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so
#89 0x00007ff84b530143 in qt_plugin_instance () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so
#90 0x00007ff84ba3fc92 in Phonon::KdePlatformPlugin::createBackend (this=<value optimized out>, newService=) at /usr/src/debug/kdebase-runtime-4.3.2/phonon/platform_kde/kdeplatformplugin.cpp:155
#91 0x00007ff84ba40e6b in Phonon::KdePlatformPlugin::createBackend (this=0x33dadf0) at /usr/src/debug/kdebase-runtime-4.3.2/phonon/platform_kde/kdeplatformplugin.cpp:204
#92 0x00007ff85a1521d6 in ?? () from /usr/lib64/libphonon.so.4
#93 0x00007ff85a153c27 in Phonon::Factory::backend () from /usr/lib64/libphonon.so.4
#94 0x00007ff85a14c43e in Phonon::BackendCapabilities::availableMimeTypes () from /usr/lib64/libphonon.so.4
#95 0x00007ff84bc4f441 in ?? () from /usr/lib64/kde4/kfileaudiopreview.so
#96 0x00007ff84bc50245 in KPluginFactory::createInstance<KFileAudioPreview, QWidget> () from /usr/lib64/kde4/kfileaudiopreview.so
#97 0x00007ff86337e10e in KPluginFactory::create () from /usr/lib64/libkdecore.so.5
#98 0x00007ff86293e267 in KFileMetaPreview::createAudioPreview () from /usr/lib64/libkio.so.5
#99 0x00007ff86293f0ba in KFileMetaPreview::previewProviderFor () from /usr/lib64/libkio.so.5
#100 0x00007ff86293e3f2 in KFileMetaPreview::showPreview () from /usr/lib64/libkio.so.5
#101 0x00007ff852d55141 in KDirOperator::Private::_k_triggerPreview () from /usr/lib64/libkfile.so.4
#102 0x00007ff852d60eb8 in KDirOperator::qt_metacall () from /usr/lib64/libkfile.so.4
#103 0x00007ff86397e88c in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#104 0x00007ff861beec45 in QAbstractItemView::entered () from /usr/lib64/libQtGui.so.4
#105 0x00007ff861bfa180 in QAbstractItemView::mouseMoveEvent () from /usr/lib64/libQtGui.so.4
#106 0x00007ff861c11689 in QListView::mouseMoveEvent () from /usr/lib64/libQtGui.so.4
#107 0x00007ff8617729d2 in QWidget::event () from /usr/lib64/libQtGui.so.4
#108 0x00007ff861accf96 in QFrame::event () from /usr/lib64/libQtGui.so.4
#109 0x00007ff861bff38b in QAbstractItemView::viewportEvent () from /usr/lib64/libQtGui.so.4
#110 0x00007ff8639689f7 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib64/libQtCore.so.4
#111 0x00007ff8617240fc in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#112 0x00007ff86172b241 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#113 0x00007ff862348326 in KApplication::notify () from /usr/lib64/libkdeui.so.5
#114 0x00007ff8639696ac in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#115 0x00007ff86172ab10 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/libQtGui.so.4
#116 0x00007ff861790bae in ?? () from /usr/lib64/libQtGui.so.4
#117 0x00007ff86178fc4a in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#118 0x00007ff8617b7e9c in ?? () from /usr/lib64/libQtGui.so.4
#119 0x00007ff86067e4ce in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#120 0x00007ff860681e98 in ?? () from /usr/lib64/libglib-2.0.so.0
#121 0x00007ff860681fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#122 0x00007ff863991c73 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#123 0x00007ff8617b764e in ?? () from /usr/lib64/libQtGui.so.4
#124 0x00007ff863967fe2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#125 0x00007ff8639683b4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#126 0x00007ff861b9cc5e in QDialog::exec () from /usr/lib64/libQtGui.so.4
#127 0x00007ff862933599 in KEncodingFileDialog::getOpenUrlsAndEncoding () from /usr/lib64/libkio.so.5
#128 0x00007ff856f2c2be in KateViewManager::slotDocumentOpen (this=0x2cd7d80) at /usr/src/debug/kdesdk-4.3.2/kate/app/kateviewmanager.cpp:178
#129 0x00007ff856f2c7f4 in KateViewManager::qt_metacall (this=0x2cd7d80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff28738ed0)
    at /usr/src/debug/kdesdk-4.3.2/build/kate/app/kateviewmanager.moc:123
#130 0x00007ff86397e88c in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#131 0x00007ff86171e2d7 in QAction::triggered () from /usr/lib64/libQtGui.so.4
#132 0x00007ff86171f71f in QAction::activate () from /usr/lib64/libQtGui.so.4
#133 0x00007ff861a87cda in ?? () from /usr/lib64/libQtGui.so.4
#134 0x00007ff861a87f65 in QAbstractButton::mouseReleaseEvent () from /usr/lib64/libQtGui.so.4
#135 0x00007ff861b55eaa in QToolButton::mouseReleaseEvent () from /usr/lib64/libQtGui.so.4
#136 0x00007ff861772b70 in QWidget::event () from /usr/lib64/libQtGui.so.4
#137 0x00007ff86172412c in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#138 0x00007ff86172b241 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#139 0x00007ff862348326 in KApplication::notify () from /usr/lib64/libkdeui.so.5
#140 0x00007ff8639696ac in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#141 0x00007ff86172ab10 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/libQtGui.so.4
#142 0x00007ff861790bae in ?? () from /usr/lib64/libQtGui.so.4
#143 0x00007ff86178fc4a in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#144 0x00007ff8617b7e9c in ?? () from /usr/lib64/libQtGui.so.4
#145 0x00007ff86067e4ce in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#146 0x00007ff860681e98 in ?? () from /usr/lib64/libglib-2.0.so.0
#147 0x00007ff860681fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#148 0x00007ff863991c73 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#149 0x00007ff8617b764e in ?? () from /usr/lib64/libQtGui.so.4
#150 0x00007ff863967fe2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#151 0x00007ff8639683b4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#152 0x00007ff86396a569 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#153 0x00007ff85716ea5d in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdesdk-4.3.2/kate/app/katemain.cpp:257
#154 0x00000000004068b8 in _start ()

This bug may be a duplicate of or related to bug 189127

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-21 14:53:31 UTC
It seems that the crash is related to the final cleanup of the filedialog code, may be related to the new Nepomuk-style dialog and some kind of media file preview.
- Do you remember if during the Kate session you used the filedialog and you previewed some multimedia file (or at least you had the Preview panel activated) ?
Regards
Comment 2 John Schneiderman 2009-11-22 03:21:20 UTC
I did use the file dialogue with the preview panel activated.
Comment 3 Dario Andres 2009-12-07 00:31:17 UTC
Merging with bug 213008. Thanks

*** This bug has been marked as a duplicate of bug 213008 ***