[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 297214] New: okteta "hangs" at start doing timezone related operations over and over
From:       Arkadiusz Miskiewicz <arekm () maven ! pl>
Date:       2012-03-31 20:57:15
Message-ID: bug-297214-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=297214

            Bug ID: 297214
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: kossebau@kde.org
           Summary: okteta "hangs" at start doing timezone related
                    operations over and over
    Classification: Unclassified
                OS: Linux
          Reporter: arekm@maven.pl
          Hardware: Other
            Status: UNCONFIRMED
         Component: general
           Product: okteta

okteta (kde 4.8.1, 4.8.2) starts, GUI is shown, immediately becomes unusable
and okteta then
does tons of timezone related operations:

[pid  2818] 22:51:09 open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 25 <0.000014>
[pid  2818] 22:51:09 open("/usr/share/zoneinfo/Europe/Warsaw",
O_RDONLY|O_CLOEXEC) = 25 <0.000015>
[pid  2818] 22:51:09 open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 25 <0.000015>
[pid  2818] 22:51:09 open("/usr/share/zoneinfo/Europe/Warsaw",
O_RDONLY|O_CLOEXEC) = 25 <0.000017>
[pid  2818] 22:51:09 open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 25 <0.000015>
[pid  2818] 22:51:09 open("/usr/share/zoneinfo/Europe/Warsaw",
O_RDONLY|O_CLOEXEC) = 25 <0.000015>
[pid  2818] 22:51:09 open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 25 <0.000015>
[pid  2818] 22:51:09 open("/usr/share/zoneinfo/Europe/Warsaw",
O_RDONLY|O_CLOEXEC) = 25 <0.000015>
[pid  2818] 22:51:09 open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 25 <0.000016>
[pid  2818] 22:51:09 open("/usr/share/zoneinfo/Europe/Warsaw",
O_RDONLY|O_CLOEXEC) = 25 <0.000018>
[pid  2818] 22:51:09 open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 25 <0.000019>
[pid  2818] 22:51:09 open("/usr/share/zoneinfo/Europe/Warsaw",
O_RDONLY|O_CLOEXEC) = 25 <0.000017>
[pid  2818] 22:51:09 open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 25 <0.000015>
[pid  2818] 22:51:09 open("/usr/share/zoneinfo/Europe/Warsaw",
O_RDONLY|O_CLOEXEC) = 25 <0.000016>

There are n * thousands of these. After few minutes GUI becomes usable.

I guess it could be similar problem as found previously in filepicker
(#278899).

gdb trace:
Program received signal SIGINT, Interrupt.
0x00007fdeb545ded9 in timelocal () from /lib64/libc.so.6
(gdb) bt
#0  0x00007fdeb545ded9 in timelocal () from /lib64/libc.so.6
#1  0x00007fdeb603b1bc in KSystemTimeZoneBackend::offsetAtZoneTime(KTimeZone
const*, QDateTime const&, int*) const () from /usr/lib64/libkdecore.so.5
#2  0x00007fdeb601f584 in ?? () from /usr/lib64/libkdecore.so.5
#3  0x00007fdeb601f8a4 in ?? () from /usr/lib64/libkdecore.so.5
#4  0x00007fdeb6025507 in KDateTime::secsTo_long(KDateTime const&) const ()
from /usr/lib64/libkdecore.so.5
#5  0x00007fdeb6025789 in KDateTime::secsTo(KDateTime const&) const () from
/usr/lib64/libkdecore.so.5
#6  0x00007fdeb612401b in ?? () from /usr/lib64/libkdecore.so.5
#7  0x00007fdeb611e5c4 in KLocale::formatDateTime(KDateTime const&,
KLocale::DateFormat, QFlags<KLocale::DateTimeFormatOption>) const ()
   from /usr/lib64/libkdecore.so.5
#8  0x00007fdeb4b95584 in KDirModel::data(QModelIndex const&, int) const ()
from /usr/lib64/libkio.so.5
#9  0x00007fdeb6b9b4dc in QSortFilterProxyModel::data(QModelIndex const&, int)
const () from /usr/lib64/libQtGui.so.4
#10 0x00007fdeb4bb715e in KFileItemDelegate::Private::display(QModelIndex
const&) const () from /usr/lib64/libkio.so.5
#11 0x00007fdeb4bb7a49 in
KFileItemDelegate::Private::initStyleOption(QStyleOptionViewItemV4*,
QModelIndex const&) const () from /usr/lib64/libkio.so.5
#12 0x00007fdeb4bbb3bb in KFileItemDelegate::sizeHint(QStyleOptionViewItem
const&, QModelIndex const&) const () from /usr/lib64/libkio.so.5
#13 0x00007fdeb6b58b4b in QTreeView::sizeHintForColumn(int) const () from
/usr/lib64/libQtGui.so.4
#14 0x00007fdeb6b2a0cf in ?? () from /usr/lib64/libQtGui.so.4
#15 0x00007fdeb39e32ed in ?? () from /usr/lib64/libkfile.so.4
#16 0x00007fdeb5bebb15 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib64/libQtCore.so.4
#17 0x00007fdeb6ba27c4 in ?? () from /usr/lib64/libQtGui.so.4
#18 0x00007fdeb5bebb15 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib64/libQtCore.so.4
#19 0x00007fdeb5c380f7 in QAbstractItemModel::dataChanged(QModelIndex const&,
QModelIndex const&) () from /usr/lib64/libQtCore.so.4
#20 0x00007fdeb4b95a04 in KDirModel::itemChanged(QModelIndex const&) () from
/usr/lib64/libkio.so.5
#21 0x00007fdeb3a0d610 in
KFilePreviewGenerator::Private::dispatchIconUpdateQueue() () from
/usr/lib64/libkfile.so.4
#22 0x00007fdeb3a0d774 in KFilePreviewGenerator::Private::resolveMimeType() ()
from /usr/lib64/libkfile.so.4
#23 0x00007fdeb5bf0cf6 in QObject::event(QEvent*) () from
/usr/lib64/libQtCore.so.4
#24 0x00007fdeb65f8924 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQtGui.so.4
#25 0x00007fdeb65fd7a5 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQtGui.so.4
#26 0x00007fdeb7361916 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libkdeui.so.5
---Type <return> to continue, or q <return> to quit---
#27 0x00007fdeb5bd7e1c in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/libQtCore.so.4
#28 0x00007fdeb5bdb597 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#29 0x00007fdeb5c06f13 in ?? () from /usr/lib64/libQtCore.so.4
#30 0x00007fdeb0dd742a in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#31 0x00007fdeb0dd77f0 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fdeb0dd78b4 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#33 0x00007fdeb5c07346 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQtCore.so.4
#34 0x00007fdeb669b49e in ?? () from /usr/lib64/libQtGui.so.4
#35 0x00007fdeb5bd6be2 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#36 0x00007fdeb5bd6e37 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#37 0x00007fdeb5bdba19 in QCoreApplication::exec() () from
/usr/lib64/libQtCore.so.4
#38 0x00000000004097a1 in _start ()

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic