kate busy for a long time during startup ?

Alexander Neundorf neundorf at kde.org
Mon Sep 17 20:23:31 BST 2018


Hi,

since quite some time my git version of kate is busy for up to 20 seconds on 
startup. I.e. it uses 100% CPU during this time and doesn't react to the mouse 
or keyboard.

I attached a typical backtrace during this busy-period.

I have the "Documents", "Projects" and "Filesystem Browser" plugins enabled.

Any pointers what this might be or where to start searching ?

Alex
-------------- next part --------------
(gdb) bt
#0  0x00007fffedb210fe in  () at /usr/lib64/libharfbuzz.so.0
#1  0x00007fffedb14f07 in  () at /usr/lib64/libharfbuzz.so.0
#2  0x00007fffedae99f2 in hb_shape_plan_execute () at /usr/lib64/libharfbuzz.so.0
#3  0x00007fffedae9027 in hb_shape_full () at /usr/lib64/libharfbuzz.so.0
#4  0x00007ffff2e7eeac in QTextEngine::shapeTextWithHarfbuzzNG(QScriptItem const&, unsigned short const*, int, QFontEngine*, QVector<unsigned int> const&, bool, bool) const () at /usr/lib64/libQt5Gui.so.5
#5  0x00007ffff2e82098 in QTextEngine::shapeText(int) const () at /usr/lib64/libQt5Gui.so.5
#6  0x00007ffff2e82c13 in QTextEngine::shape(int) const () at /usr/lib64/libQt5Gui.so.5
#7  0x00007ffff2e94f51 in QTextLine::layout_helper(int) () at /usr/lib64/libQt5Gui.so.5
#8  0x00007ffff2e95d13 in QTextLine::setLineWidth(double) () at /usr/lib64/libQt5Gui.so.5
#9  0x00007ffff7263e68 in KFileItemDelegate::Private::layoutText(QTextLayout&, QString const&, int) const () at /usr/lib64/libKF5KIOWidgets.so.5
#10 0x00007ffff7265b2d in KFileItemDelegate::Private::displaySizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () at /usr/lib64/libKF5KIOWidgets.so.5
#11 0x00007ffff7267754 in KFileItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () at /usr/lib64/libKF5KIOWidgets.so.5
#12 0x00007ffff37fb684 in QTreeViewPrivate::widthHintForIndex(QModelIndex const&, int, QStyleOptionViewItem const&, int) const () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007ffff37fbc59 in QTreeView::sizeHintForColumn(int) const () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007ffff37cca19 in  () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007fffe27c2405 in  () at /usr/lib64/libKF5KIOFileWidgets.so.5
#16 0x00007ffff25febb1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#17 0x00007ffff26750f6 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () at /usr/lib64/libQt5Core.so.5
#18 0x00007ffff25a5318 in  () at /usr/lib64/libQt5Core.so.5
#19 0x00007ffff25a71d8 in  () at /usr/lib64/libQt5Core.so.5
#20 0x00007ffff25febb1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#21 0x00007ffff267504c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib64/libQt5Core.so.5
#22 0x00007ffff72ae8e4 in KDirModel::itemChanged(QModelIndex const&) () at /usr/lib64/libKF5KIOWidgets.so.5
#23 0x00007fffe27ee59a in KFilePreviewGenerator::Private::dispatchIconUpdateQueue() () at /usr/lib64/libKF5KIOFileWidgets.so.5
#24 0x00007fffe27ee9e7 in KFilePreviewGenerator::Private::resolveMimeType() () at /usr/lib64/libKF5KIOFileWidgets.so.5
#25 0x00007ffff2600166 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007ffff356ee3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007ffff357349a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#28 0x00007ffff25d4fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#29 0x00007ffff25d6daa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#30 0x00007ffff2625c83 in  () at /usr/lib64/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#31 0x00007fffedfeb134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0                                                                                     
#32 0x00007fffedfeb388 in  () at /usr/lib64/libglib-2.0.so.0                                                                                                            
#33 0x00007fffedfeb42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0                                                                                    
#34 0x00007ffff262530c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5                                   
#35 0x00007ffff25d2fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5                                                      
#36 0x00007ffff25daec6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5                                                                                     
#37 0x00000000004317a5 in main ()                                                                                                                                       
(gdb)                                                              


More information about the KWrite-Devel mailing list