Project

General

Profile

Actions

Bug #1256

closed

Spurious lockups

Added by 0xd34df00d about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugins: Poshuku
Target version:
Start date:
09/08/2013
Due date:
% Done:

100%

Estimated time:
2:00 h
Reported in:
master

Description

Sometimes, probably during link navigation and new page loading, LC freezes spending CPU time somewhat like this:

(gdb) bt
#0 findNode (akey=<synthetic pointer>, this=0xfd22f98) at /usr/include/qt4/QtCore/qmap.h:486
#1 value (akey=<synthetic pointer>, this=0xfd22f98) at /usr/include/qt4/QtCore/qmap.h:502
#2 operator[] (akey=<synthetic pointer>, this=0xfd22f98) at /usr/include/qt4/QtCore/qmap.h:523
#3 LeechCraft::Util::TreeItem::Data (this=this@entry=0xfd22f90, column=column@entry=1, role=role@entry=0) at /home/d34df00d/Programming/leechcraft/src/util/models/treeitem.cpp:89
#4 0x00007fff9ae9de40 in LeechCraft::Poshuku::HistoryModel::Add (this=this@entry=0x5a0ffb0, item=..., announce=announce@entry=false) at /home/d34df00d/Programming/leechcraft/src/plugins/poshuku/historymodel.cpp:279
#5 0x00007fff9ae9e411 in LeechCraft::Poshuku::HistoryModel::loadData (this=0x5a0ffb0) at /home/d34df00d/Programming/leechcraft/src/plugins/poshuku/historymodel.cpp:319
#6 0x00007fff9aed3e2d in LeechCraft::Poshuku::HistoryModel::qt_static_metacall (_o=0x5a0ffb0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/d34df00d/Programming/leechcraft/build/kdevelop/plugins/poshuku/moc_historymodel.cpp:71
#7 0x00007ffff6627d04 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#8 0x00007ffff66262cc in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#9 0x00007ffff733955c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007ffff733b2a1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00000000004599c5 in LeechCraft::Application::notify (this=<optimized out>, obj=0x5a0fba0, event=0x7fffffffd3c0) at /home/d34df00d/Programming/leechcraft/src/core/application.cpp:323
#12 0x00007ffff661197e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007ffff6641ad2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007ffff663eba4 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007ffff663ebc1 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007ffff4bf5015 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#17 0x00007ffff4bf5358 in ?? () from /usr/lib64/libglib-2.0.so.0
#18 0x00007ffff4bf5414 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#19 0x00007ffff663f216 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007ffff73d4dde in ?? () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007ffff66106df in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007ffff6610968 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007ffff6615456 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#24 0x0000000000428e45 in main (argc=1, argv=0x7fffffffd858) at /home/d34df00d/Programming/leechcraft/src/core/main.cpp:40

Expected result:
Faster loadData().

Actual result:
Freezes.

STR:
Dunno, have a big history database probably.

System information:
LeechCraft 0.5.95-2291-ge2171a5
Built with Qt 4.8.4, running with Qt 4.8.4
Running on: NAME=Gentoo x86_64 3.8.8-gentoo #9 SMP Tue Apr 23 20:11:51 MSK 2013

Actions #1

Updated by 0xd34df00d about 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset main|commit:8d459ab39eced40133f2521d081fe87da8a9ca88.

Actions #2

Updated by 0xd34df00d about 11 years ago

  • Status changed from Resolved to Closed
  • Target version set to 0.6.60
  • Estimated time set to 2:00 h
Actions

Also available in: Atom PDF