Bug 280510

Summary: Kate attempts to restore-open files from old session and crashes each time
Product: [Applications] kate Reporter: Timothy Tuck <tek>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Timothy Tuck 2011-08-21 09:46:10 UTC
Application: kate (3.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-33-generic-pae i686
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:
Unless I open it from the command line and give it a path to a file, everytime i open it, it attempts to open with 2 files that no longer exist and will become 100% non-responsive till the error message which won't close for 5 minutes or so and once it does it will crash shortly afterwards every time.. Even opening it by calling a file out and attempting to force a new session it will work for a bit, it doesnt become non-responsive but it will still crash after no more than ten minutes regardless if I am doing something or doing nothing.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0xb525d710 (LWP 17154))]

Thread 2 (Thread 0xab987b70 (LWP 17211)):
#0  0xb7859430 in __kernel_vsyscall ()
#1  0xb7787b86 in *__GI___poll (fds=0xb781dff4, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xafbe6502 in ?? () from /usr/lib/libpulse.so.0
#3  0xafbd2a59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xafbd4a13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xafbd4ae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xafbe62a3 in ?? () from /usr/lib/libpulse.so.0
#7  0xafba6e02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0xb617d96e in start_thread (arg=0xab987b70) at pthread_create.c:300
#9  0xb7795a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb525d710 (LWP 17154)):
[KCrash Handler]
#6  0xb15fae5c in ?? () from /usr/lib/libasound.so.2
#7  0xb15b7e9e in snd_pcm_close () from /usr/lib/libasound.so.2
#8  0xafc2b662 in ?? () from /usr/lib/gstreamer-0.10/libgstalsa.so
#9  0xb1263512 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#10 0xb12536f0 in gst_ring_buffer_close_device () from /usr/lib/libgstaudio-0.10.so.0
#11 0xb125de42 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#12 0xb12f3435 in gst_element_change_state () from /usr/lib/libgstreamer-0.10.so.0
#13 0xb12f6928 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#14 0xb12f27f0 in gst_element_set_state () from /usr/lib/libgstreamer-0.10.so.0
#15 0xb1544e1c in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_gstreamer.so
#16 0xb176c621 in callSetOutputDevice (this=0x9b46900) at ../3rdparty/phonon/phonon/audiooutput.cpp:67
#17 Phonon::AudioOutputPrivate::setupBackendObject (this=0x9b46900) at ../3rdparty/phonon/phonon/audiooutput.cpp:281
#18 0xb176cd22 in Phonon::AudioOutputPrivate::createBackendObject (this=0x9b46900) at ../3rdparty/phonon/phonon/audiooutput.cpp:124
#19 0xb1769284 in Phonon::AudioOutputPrivate::init (this=0x9b46900, c=Phonon::NoCategory) at ../3rdparty/phonon/phonon/audiooutput.cpp:106
#20 0xb1769929 in AudioOutput (this=0x9b409a0, category=Phonon::NoCategory, parent=0x9911a08) at ../3rdparty/phonon/phonon/audiooutput.cpp:76
#21 0xb17aba26 in KFileAudioPreview (this=0x9911a08, parent=0x98f33c0) at ../../../../interfaces/kmediaplayer/kfileaudiopreview/kfileaudiopreview.cpp:81
#22 0xb17ac4bd in KPluginFactory::createInstance<KFileAudioPreview, QWidget> (parentWidget=0x98f33c0, parent=0x98f33c0, args=...) at ../../../../kdecore/util/kpluginfactory.h:461
#23 0xb6bf016e in KPluginFactory::create (this=0x955fee0, iface=0xb58f9780 "KPreviewWidgetBase", parentWidget=0x98f33c0, parent=0x98f33c0, args=..., keyword=...)
    at ../../kdecore/util/kpluginfactory.cpp:191
#24 0xb5878854 in KPluginFactory::create<KPreviewWidgetBase> (parent=0x98f33c0) at ../../kdecore/util/kpluginfactory.h:491
#25 KFileMetaPreview::createAudioPreview (parent=0x98f33c0) at ../../kio/kfile/kfilemetapreview.cpp:191
#26 0xb58795bb in KFileMetaPreview::previewProviderFor (this=0x98f92b8, mimeType=...) at ../../kio/kfile/kfilemetapreview.cpp:109
#27 0xb58786a6 in KFileMetaPreview::showPreview (this=0x98f92b8, url=...) at ../../kio/kfile/kfilemetapreview.cpp:140
#28 0xb3077942 in KDirOperator::Private::_k_showPreview (this=0x906ef48) at ../../kfile/kdiroperator.cpp:2451
#29 0xb307805d in KDirOperator::Private::_k_triggerPreview (this=0x906ef48, index=...) at ../../kfile/kdiroperator.cpp:2441
#30 0xb30847df in KDirOperator::qt_metacall (this=0x9001570, _c=QMetaObject::InvokeMetaMethod, _id=63, _a=0xbffe9a48) at ./kdiroperator.moc:255
#31 0xb642047a in QMetaObject::metacall (object=0x9001570, cl=3077799520, idx=90, argv=0xbffe9a48) at kernel/qmetaobject.cpp:237
#32 0xb642efbb in QMetaObject::activate (sender=0x991d498, m=0xb76b5164, local_signal_index=4, argv=0xbffe9a48) at kernel/qobject.cpp:3295
#33 0xb7319013 in QAbstractItemView::entered (this=0x991d498, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:352
#34 0xb731dc27 in QAbstractItemViewPrivate::checkMouseMove (this=0x9916ad0, index=...) at itemviews/qabstractitemview.cpp:170
#35 0xb7324fc9 in QAbstractItemView::mouseMoveEvent (this=0x991d498, event=0xbffea4c0) at itemviews/qabstractitemview.cpp:1715
#36 0xb7369594 in QTreeView::mouseMoveEvent (this=0x991d498, event=0xbffea4c0) at itemviews/qtreeview.cpp:1894
#37 0xb6ddbffa in QWidget::event (this=0x991d498, event=0xbffea4c0) at kernel/qwidget.cpp:8029
#38 0xb71da423 in QFrame::event (this=0x991d498, e=0xbffea4c0) at widgets/qframe.cpp:557
#39 0xb72749d2 in QAbstractScrollArea::viewportEvent (this=0xb7737e60, e=0x9b4a840) at widgets/qabstractscrollarea.cpp:1036
#40 0xb7329e57 in QAbstractItemView::viewportEvent (this=0x991d498, event=0xbffea4c0) at itemviews/qabstractitemview.cpp:1615
#41 0xb73696fc in QTreeView::viewportEvent (this=0x991d498, event=0xbffea4c0) at itemviews/qtreeview.cpp:1248
#42 0xb72772a5 in QAbstractScrollAreaPrivate::viewportEvent (this=0x943a3e8, o=0x98d23e0, e=0xbffea4c0) at widgets/qabstractscrollarea_p.h:100
#43 QAbstractScrollAreaFilter::eventFilter (this=0x943a3e8, o=0x98d23e0, e=0xbffea4c0) at widgets/qabstractscrollarea_p.h:116
#44 0xb641a3da in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x89a7590, receiver=0x98d23e0, event=0xbffea4c0) at kernel/qcoreapplication.cpp:841
#45 0xb6d7de69 in QApplicationPrivate::notify_helper (this=0x89a7590, receiver=0x98d23e0, e=0xbffea4c0) at kernel/qapplication.cpp:4298
#46 0xb6d853a7 in QApplication::notify (this=0xbffec124, receiver=0x98d23e0, e=0xbffea4c0) at kernel/qapplication.cpp:3867
#47 0xb678d40a in KApplication::notify (this=0xbffec124, receiver=0x98d23e0, event=0xbffea4c0) at ../../kdeui/kernel/kapplication.cpp:302
#48 0xb641b13b in QCoreApplication::notifyInternal (this=0xbffec124, receiver=0x98d23e0, event=0xbffea4c0) at kernel/qcoreapplication.cpp:726
#49 0xb6d84302 in QCoreApplication::sendEvent (receiver=0x98d23e0, event=0xbffea4c0, alienWidget=0x98d23e0, nativeWidget=0x9001570, buttonDown=0xb76c4058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#50 QApplicationPrivate::sendMouseEvent (receiver=0x98d23e0, event=0xbffea4c0, alienWidget=0x98d23e0, nativeWidget=0x9001570, buttonDown=0xb76c4058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2967
#51 0xb6e0fd58 in QETWidget::translateMouseEvent (this=0x9001570, event=0xbffea9dc) at kernel/qapplication_x11.cpp:4380
#52 0xb6e0f1e1 in QApplication::x11ProcessEvent (this=0xbffec124, event=0xbffea9dc) at kernel/qapplication_x11.cpp:3391
#53 0xb6e3e2ea in x11EventSourceDispatch (s=0x89aa8c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0xb60d25e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#55 0xb60d62d8 in ?? () from /lib/libglib-2.0.so.0
#56 0xb60d64b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#57 0xb6446e35 in QEventDispatcherGlib::processEvents (this=0x89894a0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#58 0xb6e3de15 in QGuiEventDispatcherGlib::processEvents (this=0x89894a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0xb6419759 in QEventLoop::processEvents (this=0xbffeacd0, flags=) at kernel/qeventloop.cpp:149
#60 0xb6419baa in QEventLoop::exec (this=0xbffeacd0, flags=...) at kernel/qeventloop.cpp:201
#61 0xb72beed3 in QDialog::exec (this=0xbffead3c) at dialogs/qdialog.cpp:546
#62 0xb586cd33 in KEncodingFileDialog::getSaveUrlAndEncoding (encoding=..., dir=..., filter=..., parent=0x8f63450, caption=...) at ../../kio/kfile/kencodingfiledialog.cpp:204
#63 0xb3700051 in KateDocument::documentSaveAs (this=0x8bdbc30) at ../../kate/document/katedocument.cpp:4055
#64 0xb3718799 in KateDocument::qt_metacall (this=0x8bdbc30, _c=QMetaObject::InvokeMetaMethod, _id=65, _a=0xbffeaf88) at ./katedocument.moc:377
#65 0xb642047a in QMetaObject::metacall (object=0x8bdbc30, cl=3077799520, idx=97, argv=0xbffeaf88) at kernel/qmetaobject.cpp:237
#66 0xb642efbb in QMetaObject::activate (sender=0x9122f10, m=0xb76a8cf8, local_signal_index=1, argv=0xbffeaf88) at kernel/qobject.cpp:3295
#67 0xb6d77589 in QAction::triggered (this=0x9122f10, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#68 0xb6d7977c in QAction::activate (this=0x9122f10, event=QAction::Trigger) at kernel/qaction.cpp:1255
#69 0xb721ebdf in QMenuPrivate::activateCausedStack (this=0x8d04fc0, causedStack=..., action=0x9122f10, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#70 0xb7224f3b in QMenuPrivate::activateAction (this=0x8d04fc0, action=0x9122f10, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1094
#71 0xb7225f87 in QMenu::mouseReleaseEvent (this=0x8c23a90, e=0xbffeb820) at widgets/qmenu.cpp:2312
#72 0xb6883745 in KMenu::mouseReleaseEvent (this=0x8c23a90, e=0xbffeb820) at ../../kdeui/widgets/kmenu.cpp:471
#73 0xb6ddc158 in QWidget::event (this=0x8c23a90, event=0xbffeb820) at kernel/qwidget.cpp:8044
#74 0xb722758c in QMenu::event (this=0x8c23a90, e=0xbffeb820) at widgets/qmenu.cpp:2421
#75 0xb6d7de8c in QApplicationPrivate::notify_helper (this=0x89a7590, receiver=0x8c23a90, e=0xbffeb820) at kernel/qapplication.cpp:4302
#76 0xb6d853a7 in QApplication::notify (this=0xbffec124, receiver=0x8c23a90, e=0xbffeb820) at kernel/qapplication.cpp:3867
#77 0xb678d40a in KApplication::notify (this=0xbffec124, receiver=0x8c23a90, event=0xbffeb820) at ../../kdeui/kernel/kapplication.cpp:302
#78 0xb641b13b in QCoreApplication::notifyInternal (this=0xbffec124, receiver=0x8c23a90, event=0xbffeb820) at kernel/qcoreapplication.cpp:726
#79 0xb6d84302 in QCoreApplication::sendEvent (receiver=0x8c23a90, event=0xbffeb820, alienWidget=0x0, nativeWidget=0x8c23a90, buttonDown=0xb76c4058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#80 QApplicationPrivate::sendMouseEvent (receiver=0x8c23a90, event=0xbffeb820, alienWidget=0x0, nativeWidget=0x8c23a90, buttonDown=0xb76c4058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2967
#81 0xb6e1029f in QETWidget::translateMouseEvent (this=0x8c23a90, event=0xbffebd3c) at kernel/qapplication_x11.cpp:4314
#82 0xb6e0f1e1 in QApplication::x11ProcessEvent (this=0xbffec124, event=0xbffebd3c) at kernel/qapplication_x11.cpp:3391
#83 0xb6e3e2ea in x11EventSourceDispatch (s=0x89aa8c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#84 0xb60d25e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#85 0xb60d62d8 in ?? () from /lib/libglib-2.0.so.0
#86 0xb60d64b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#87 0xb6446e35 in QEventDispatcherGlib::processEvents (this=0x89894a0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#88 0xb6e3de15 in QGuiEventDispatcherGlib::processEvents (this=0x89894a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#89 0xb6419759 in QEventLoop::processEvents (this=0xbffec034, flags=) at kernel/qeventloop.cpp:149
#90 0xb6419baa in QEventLoop::exec (this=0xbffec034, flags=...) at kernel/qeventloop.cpp:201
#91 0xb641ee3f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#92 0xb6d7df27 in QApplication::exec () at kernel/qapplication.cpp:3581
#93 0xb7851a65 in kdemain () from /usr/lib/libkdeinit4_kate.so
#94 0x080485fb in _start ()

Possible duplicates by query: bug 279171, bug 277415, bug 270497, bug 265229, bug 261363.

Reported using DrKonqi
Comment 1 Dominik Haumann 2011-08-21 19:53:19 UTC
This issue is already fixed, please update your KDE installation.

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