Bug 243981 - Kate crashes when closing all files
Summary: Kate crashes when closing all files
Status: RESOLVED DUPLICATE of bug 243931
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 22:48 UTC by Quinn Jones
Modified: 2010-07-20 19:06 UTC (History)
0 users

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 Quinn Jones 2010-07-08 22:48:28 UTC
Application: kate (3.4.4)
KDE Platform Version: 4.4.4 (KDE 4.4.4) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-gentoo-r7 i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
Kate crashed while closing all open files, similar to Bug 230426 (which was fixed, but I appear to have a later version so maybe it wasn't completely fixed).

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0xb31b1b70 (LWP 2839)):
#0  0xb7817424 in __kernel_vsyscall ()
#1  0xb6b83995 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb3326c3d in ?? () from /usr/lib/qt4/libQtScript.so.4
#3  0xb3326c77 in ?? () from /usr/lib/qt4/libQtScript.so.4
#4  0xb6b7eadf in start_thread () from /lib/libpthread.so.0
#5  0xb611f24e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb5b0c700 (LWP 2838)):
[KCrash Handler]
#6  0xb6cc043e in QUrl::QUrl(QUrl const&) () from /usr/lib/qt4/libQtCore.so.4
#7  0xb770d486 in KUrl (this=0xbfd0766c, _u=...) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/io/kurl.cpp:472
#8  0xb762fcf0 in KParts::ReadOnlyPart::url (this=0x87b93f0) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kparts/part.cpp:465
#9  0xb5ac7629 in KateDocManager::data (this=0x84c0bc0, index=..., role=35) at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4/kate/app/katedocmanager.cpp:133
#10 0xb5aefab8 in KateViewDocumentProxyModel::data (this=0x87e8fa0, index=..., role=35) at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4/kate/app/kateviewdocumentproxymodel.cpp:325
#11 0xb5af0465 in KateViewDocumentProxyModel::sort (this=0x87e8fa0) at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4/kate/app/kateviewdocumentproxymodel.cpp:637
#12 0xb5af1449 in KateViewDocumentProxyModel::opened (this=0x87e8fa0, index=...) at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4/kate/app/kateviewdocumentproxymodel.cpp:216
#13 0xb5ad1055 in KateMainWindow::slotWindowActivated (this=0x86720b0) at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4/kate/app/katemainwindow.cpp:566
#14 0xb5ad4b6c in KateMainWindow::qt_metacall (this=0x86720b0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfd07a18)
    at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4_build/kate/app/katemainwindow.moc:181
#15 0xb6d13959 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/qt4/libQtCore.so.4
#16 0xb6d219b8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/qt4/libQtCore.so.4
#17 0xb5ad921d in KateViewManager::viewChanged (this=0x87e17b8) at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4_build/kate/app/kateviewmanager.moc:164
#18 0xb5ad93ce in KateViewManager::activateView (this=0x87e17b8, view=0x869b530) at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4/kate/app/kateviewmanager.cpp:469
#19 0xb5ad9974 in KateViewManager::createView (this=0x87e17b8, doc=0x87b86a0) at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4/kate/app/kateviewmanager.cpp:308
#20 0xb5ada925 in KateViewManager::qt_metacall (this=0x87e17b8, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbfd07bcc)
    at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4_build/kate/app/kateviewmanager.moc:138
#21 0xb6d13959 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/qt4/libQtCore.so.4
#22 0xb6d219b8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/qt4/libQtCore.so.4
#23 0xb5ac8182 in KateDocManager::documentDeleted (this=0x84c0bc0, _t1=0x87b93f0) at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4_build/kate/app/katedocmanager.moc:138
#24 0xb5ac8406 in KateDocManager::deleteDoc (this=0x84c0bc0, doc=0x87b93f0) at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4/kate/app/katedocmanager.cpp:218
#25 0xb5ac9015 in KateDocManager::closeDocument (this=0x84c0bc0, doc=0x87b93f0, closeUrl=true) at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4/kate/app/katedocmanager.cpp:366
#26 0xb5ac909e in KateDocManager::closeOrphaned (this=0x84c0bc0) at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4/kate/app/katedocmanager.cpp:525
#27 0xb5ac9d0c in KateDocManager::qt_metacall (this=0x84c0bc0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfd07f0c)
    at /var/tmp/portage/kde-base/kate-4.4.4/work/kate-4.4.4_build/kate/app/katedocmanager.moc:105
#28 0xb6d13959 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/qt4/libQtCore.so.4
#29 0xb6d219b8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/qt4/libQtCore.so.4
#30 0xb63fed1f in QAction::triggered (this=0x87c4600, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#31 0xb64002c1 in QAction::activate (this=0x87c4600, event=QAction::Trigger) at kernel/qaction.cpp:1255
#32 0xb67482e5 in QMenuPrivate::activateCausedStack (this=0x882fa68, causedStack=..., action=0x87c4600, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#33 0xb674cdc2 in QMenuPrivate::activateAction (this=0x882fa68, action=0x87c4600, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#34 0xb674d6b6 in QMenu::mouseReleaseEvent (this=0x881f850, e=0xbfd0885c) at widgets/qmenu.cpp:2312
#35 0xb70db2e9 in KMenu::mouseReleaseEvent (this=0x881f850, e=0xbfd0885c) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/widgets/kmenu.cpp:471
#36 0xb644be37 in QWidget::event (this=0x881f850, event=0xbfd0885c) at kernel/qwidget.cpp:7998
#37 0xb674ee66 in QMenu::event (this=0x881f850, e=0xbfd0885c) at widgets/qmenu.cpp:2414
#38 0xb64048ad in QApplicationPrivate::notify_helper (this=0x8497c68, receiver=0x881f850, e=0xbfd0885c) at kernel/qapplication.cpp:4300
#39 0xb64063cc in QApplication::notify (this=0xbfd09188, receiver=0x881f850, e=0xbfd0885c) at kernel/qapplication.cpp:3865
#40 0xb702c6fd in KApplication::notify (this=0xbfd09188, receiver=0x881f850, event=0xbfd0885c) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#41 0xb6d0ec18 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/qt4/libQtCore.so.4
#42 0xb64100ac in QCoreApplication::sendSpontaneousEvent (receiver=0x881f850, event=0xbfd07654) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#43 0xb640b8fd in QApplicationPrivate::sendMouseEvent (receiver=0x881f850, event=0xbfd0885c, alienWidget=0x0, nativeWidget=0x881f850, buttonDown=0xb6b21ec8, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2963
#44 0xb646c778 in QETWidget::translateMouseEvent (this=0x881f850, event=0xbfd08c8c) at kernel/qapplication_x11.cpp:4302
#45 0xb646b65d in QApplication::x11ProcessEvent (this=0xbfd09188, event=0xbfd08c8c) at kernel/qapplication_x11.cpp:3580
#46 0xb648db17 in x11EventSourceDispatch (s=0x849a640, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0xb5deae4e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0

Possible duplicates by query: bug 241898, bug 236020, bug 231899, bug 230426, bug 178221.

Reported using DrKonqi
Comment 1 Dominik Haumann 2010-07-20 19:06:34 UTC
please try again once kde 4.5 is out or even better build Kate yourself according to this easy howto:http://kate-editor.org/get-it/
Probably this is fixed. If not, please reopen.

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