Bug 291794 - kate crashes when clicking on "Documents" to switch to another file
Summary: kate crashes when clicking on "Documents" to switch to another file
Status: RESOLVED DUPLICATE of bug 265426
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-17 17:40 UTC by tc
Modified: 2012-02-09 16:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.11 KB, text/plain)
2012-02-09 16:53 UTC, tc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tc 2012-01-17 17:40:48 UTC
Application: kate (3.7.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
- three windows open
- project has 51 files open (in several folders)
- all files were clean, i.e. all changes had been saved before
- clicked on "Documents" to get a list of available files
- mode of Documents frame : view mode -> list mode, sort by -> Document name

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0xb3602b70 (LWP 3947)):
#0  0xb7899424 in __kernel_vsyscall ()
#1  0xb606ea5c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb77d9cfc in __pthread_cond_wait (cond=0xb3a0ba50, mutex=0xb3a0ba38) at forward.c:139
#3  0xb39069a9 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb39069ef in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb606ad31 in start_thread (arg=0xb3602b70) at pthread_create.c:304
#6  0xb77cc0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb273ab70 (LWP 3949)):
#0  0xb7899424 in __kernel_vsyscall ()
#1  0xb77bd40e in __GI___poll (fds=0x97be080, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb5fa234b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5f93896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb5f93c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6333b37 in QEventDispatcherGlib::processEvents (this=0x97393f8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb63041dd in QEventLoop::processEvents (this=0xb273a2b0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6304421 in QEventLoop::exec (this=0xb273a2b0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb620790b in QThread::exec (this=0x97b9b00) at thread/qthread.cpp:498
#9  0xb62e4e2d in QInotifyFileSystemWatcherEngine::run (this=0x97b9b00) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb620a7b3 in QThreadPrivate::start (arg=0x97b9b00) at thread/qthread_unix.cpp:331
#11 0xb606ad31 in start_thread (arg=0xb273ab70) at pthread_create.c:304
#12 0xb77cc0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb4f4f930 (LWP 3944)):
[KCrash Handler]
#7  QModelIndex (other=<optimized out>, this=0xbfa1fff0) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x9454700, child=...) at itemviews/qsortfilterproxymodel.cpp:1657
#9  0xb7360d45 in parent (this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#10 QTreeView::indexRowSizeHint (this=0x9441880, index=...) at itemviews/qtreeview.cpp:2759
#11 0xb7364d37 in itemHeight (item=48, this=0x9446848) at itemviews/qtreeview.cpp:3232
#12 QTreeViewPrivate::itemHeight (this=0x9446848, item=48) at itemviews/qtreeview.cpp:3221
#13 0xb736500b in QTreeViewPrivate::updateScrollBars (this=0x9446848) at itemviews/qtreeview.cpp:3457
#14 0xb7365358 in QTreeView::updateGeometries (this=0x9441880) at itemviews/qtreeview.cpp:2686
#15 0xb731aad5 in QAbstractItemView::resizeEvent (this=0x9441880, event=0xbfa20954) at itemviews/qabstractitemview.cpp:2399
#16 0xb6de4f7a in QWidget::event (this=0x9441880, event=0xbfa20954) at kernel/qwidget.cpp:8449
#17 0xb71ea235 in QFrame::event (this=0x9441880, e=0xbfa20954) at widgets/qframe.cpp:557
#18 0xb727c7d1 in QAbstractScrollArea::viewportEvent (this=0x9441880, e=0xbfa20954) at widgets/qabstractscrollarea.cpp:1043
#19 0xb731eb6c in QAbstractItemView::viewportEvent (this=0x9441880, event=0xbfa20954) at itemviews/qabstractitemview.cpp:1628
#20 0xb7369326 in QTreeView::viewportEvent (this=0x9441880, event=0xbfa20954) at itemviews/qtreeview.cpp:1256
#21 0xb727eee6 in viewportEvent (this=<optimized out>, event=0xbfa20954) at widgets/qabstractscrollarea_p.h:100
#22 eventFilter (e=0xbfa20954, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#23 QAbstractScrollAreaFilter::eventFilter (this=0x94479b0, o=0x9444398, e=0xbfa20954) at widgets/qabstractscrollarea_p.h:115
#24 0xb6305336 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8440f38, receiver=0x9444398, event=0xbfa20954) at kernel/qcoreapplication.cpp:902
#25 0xb6d8ad22 in notify_helper (e=0xbfa20954, receiver=0x9444398, this=0x8440f38) at kernel/qapplication.cpp:4482
#26 QApplicationPrivate::notify_helper (this=0x8440f38, receiver=0x9444398, e=0xbfa20954) at kernel/qapplication.cpp:4458
#27 0xb6d901a8 in QApplication::notify (this=0x8440f38, receiver=0x9444398, e=0xbfa20954) at kernel/qapplication.cpp:4451
#28 0xb66a2681 in KApplication::notify (this=0xbfa21de0, receiver=0x9444398, event=0xbfa20954) at ../../kdeui/kernel/kapplication.cpp:311
#29 0xb630519e in QCoreApplication::notifyInternal (this=0xbfa21de0, receiver=0x9444398, event=0xbfa20954) at kernel/qcoreapplication.cpp:787
#30 0xb6de08b3 in sendEvent (event=0xbfa20954, receiver=0x9444398) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x9446b50, recursive=false, disableUpdates=<optimized out>) at kernel/qwidget.cpp:7365
#32 0xb6de95b8 in QWidgetPrivate::show_helper (this=0x9446b50) at kernel/qwidget.cpp:7416
#33 0xb6de9a21 in QWidget::setVisible (this=0x9444398, visible=true) at kernel/qwidget.cpp:7697
#34 0xb6de9540 in show (this=0x9444398) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#35 QWidgetPrivate::showChildren (this=0x9446848, spontaneous=false) at kernel/qwidget.cpp:7785
#36 0xb6de95e0 in QWidgetPrivate::show_helper (this=0x9446848) at kernel/qwidget.cpp:7422
#37 0xb6de9a21 in QWidget::setVisible (this=0x9441880, visible=true) at kernel/qwidget.cpp:7697
#38 0xb6de9540 in show (this=0x9441880) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#39 QWidgetPrivate::showChildren (this=0x9441cd0, spontaneous=false) at kernel/qwidget.cpp:7785
#40 0xb6de95e0 in QWidgetPrivate::show_helper (this=0x9441cd0) at kernel/qwidget.cpp:7422
#41 0xb6de9a21 in QWidget::setVisible (this=0x9441990, visible=true) at kernel/qwidget.cpp:7697
#42 0xb6946c21 in show (this=<optimized out>) at /usr/include/qt4/QtGui/qwidget.h:487
#43 KateMDI::Sidebar::showWidget (this=0x93f9850, widget=0x9441990) at ../../../kate/app/katemdi.cpp:375
#44 0xb6946ebd in KateMDI::Sidebar::tabClicked (this=0x93f9850, i=2) at ../../../kate/app/katemdi.cpp:425
#45 0xb6947a15 in KateMDI::Sidebar::qt_metacall (this=0x93f9850, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfa20e48) at ./katemdi.moc:269
#46 0xb630bb7d in metacall (argv=0xbfa20e48, idx=28, cl=QMetaObject::InvokeMetaMethod, object=0x93f9850) at kernel/qmetaobject.cpp:237
#47 QMetaObject::metacall (object=0x93f9850, cl=QMetaObject::InvokeMetaMethod, idx=28, argv=0xbfa20e48) at kernel/qmetaobject.cpp:232
#48 0xb631aa6a in QMetaObject::activate (sender=0x9441608, m=0xb68eaea0, local_signal_index=0, argv=0xbfa20e48) at kernel/qobject.cpp:3278
#49 0xb6786135 in KMultiTabBarButton::clicked (this=0x9441608, _t1=2) at ./kmultitabbar.moc:190
#50 0xb6786171 in KMultiTabBarButton::slotClicked (this=0x9441608) at ../../kdeui/widgets/kmultitabbar.cpp:168
#51 0xb678640f in KMultiTabBarButton::qt_metacall (this=0x9441608, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfa20fd8) at ./kmultitabbar.moc:178
#52 0xb67868c2 in KMultiTabBarTab::qt_metacall (this=0x9441608, _c=QMetaObject::InvokeMetaMethod, _id=43, _a=0xbfa20fd8) at ./kmultitabbar.moc:247
#53 0xb630bb7d in metacall (argv=0xbfa20fd8, idx=43, cl=QMetaObject::InvokeMetaMethod, object=0x9441608) at kernel/qmetaobject.cpp:237
#54 QMetaObject::metacall (object=0x9441608, cl=QMetaObject::InvokeMetaMethod, idx=43, argv=0xbfa20fd8) at kernel/qmetaobject.cpp:232
#55 0xb631aa6a in QMetaObject::activate (sender=0x9441608, m=0xb76e6a28, local_signal_index=2, argv=0xbfa20fd8) at kernel/qobject.cpp:3278
#56 0xb749fe1d in QAbstractButton::clicked (this=0x9441608, _t1=true) at .moc/release-shared/moc_qabstractbutton.cpp:206
#57 0xb719e58d in QAbstractButtonPrivate::emitClicked (this=0x9441a18) at widgets/qabstractbutton.cpp:546
#58 0xb719fbfb in QAbstractButtonPrivate::click (this=0x9441a18) at widgets/qabstractbutton.cpp:539
#59 0xb719feb6 in QAbstractButton::mouseReleaseEvent (this=0x9441608, e=0xbfa2158c) at widgets/qabstractbutton.cpp:1121
#60 0xb6de4f98 in QWidget::event (this=0x9441608, event=0xbfa2158c) at kernel/qwidget.cpp:8295
#61 0xb719f159 in QAbstractButton::event (this=0x9441608, e=0xbfa2158c) at widgets/qabstractbutton.cpp:1080
#62 0xb7241798 in QPushButton::event (this=0x9441608, e=0xbfa2158c) at widgets/qpushbutton.cpp:683
#63 0xb6d8ad54 in notify_helper (e=0xbfa2158c, receiver=0x9441608, this=0x8440f38) at kernel/qapplication.cpp:4486
#64 QApplicationPrivate::notify_helper (this=0x8440f38, receiver=0x9441608, e=0xbfa2158c) at kernel/qapplication.cpp:4458
#65 0xb6d90dbb in QApplication::notify (this=0x8440f38, receiver=0x9441608, e=0xbfa2158c) at kernel/qapplication.cpp:4047
#66 0xb66a2681 in KApplication::notify (this=0xbfa21de0, receiver=0x9441608, event=0xbfa2158c) at ../../kdeui/kernel/kapplication.cpp:311
#67 0xb630519e in QCoreApplication::notifyInternal (this=0xbfa21de0, receiver=0x9441608, event=0xbfa2158c) at kernel/qcoreapplication.cpp:787
#68 0xb6d8bd15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#69 QApplicationPrivate::sendMouseEvent (receiver=0x9441608, event=0xbfa2158c, alienWidget=0x9441608, nativeWidget=0x93f9850, buttonDown=0xb76f5eb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#70 0xb6e182c4 in QETWidget::translateMouseEvent (this=0x93f9850, event=0xbfa21a0c) at kernel/qapplication_x11.cpp:4568
#71 0xb6e16e4d in QApplication::x11ProcessEvent (this=0xbfa21de0, event=0xbfa21a0c) at kernel/qapplication_x11.cpp:3690
#72 0xb6e4324c in x11EventSourceDispatch (s=0x8443d00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#73 0xb5f9325f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#74 0xb5f93990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#75 0xb5f93c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#76 0xb6333ada in QEventDispatcherGlib::processEvents (this=0x843cee8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#77 0xb6e42e3a in QGuiEventDispatcherGlib::processEvents (this=0x843cee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#78 0xb63041dd in QEventLoop::processEvents (this=0xbfa21d14, flags=...) at kernel/qeventloop.cpp:149
#79 0xb6304421 in QEventLoop::exec (this=0xbfa21d14, flags=...) at kernel/qeventloop.cpp:201
#80 0xb630919d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#81 0xb6d888f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#82 0xb78908cd in kdemain (argc=2, argv=0xbfa22444) at ../../../kate/app/katemain.cpp:377
#83 0x080484fb in main (argc=2, argv=0xbfa22444) at kate_dummy.cpp:3

Possible duplicates by query: bug 274398, bug 272884, bug 272240, bug 267454.

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-01-31 09:22:33 UTC
if you get this with KDE 4.8 again, please let us know!

*** This bug has been marked as a duplicate of bug 265426 ***
Comment 2 tc 2012-02-09 16:53:31 UTC
Created attachment 68653 [details]
New crash information added by DrKonqi

kate (3.7.4) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:

Loaded a new selected file in one window
changed to another kate window and klicked on "Documents"

-- Backtrace (Reduced):
#7  QModelIndex (other=<optimized out>, this=0xbfdd1eb0) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0xa2bf860, child=...) at itemviews/qsortfilterproxymodel.cpp:1657
#9  0xb71b1d95 in parent (this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#10 QTreeView::indexRowSizeHint (this=0xa2aa9c0, index=...) at itemviews/qtreeview.cpp:2759
#11 0xb71b5d87 in itemHeight (item=52, this=0xa2ae050) at itemviews/qtreeview.cpp:3232