<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>25297</bug_id>
          
          <creation_ts>2011-03-31 00:31:31 +0400</creation_ts>
          <short_desc>Периодически процесс kdeinit4 уходит в 100% CPU</short_desc>
          <delta_ts>2011-05-25 18:00:16 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>kde4libs</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Shilov">hsv</reporter>
          <assigned_to name="Sergey V Turchin">zerg</assigned_to>
          <cc>aen</cc>
    
    <cc>becase</cc>
    
    <cc>diver666</cc>
    
    <cc>sem</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>119657</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Shilov">hsv</who>
    <bug_when>2011-03-31 00:31:31 +0400</bug_when>
    <thetext>В топе поцесс с тремя подпотоками
kdeinit4: kded4 [kdeinit] 
Если прибить одного из упомянутых по kill -INT, то валится плазма с диагностикой


Application: Оболочка Plasma (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb1c19740 (LWP 10029))]

Thread 2 (Thread 0xa9f8fb70 (LWP 10054)):
#0  0xb6bc51e1 in ?? () from /usr/lib/libQtCore.so.4
#1  0xb425ea5b in ?? () from /lib/libglib-2.0.so.0
#2  0xb425f158 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0xb6bc5967 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#4  0xb6b9b529 in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#5  0xb6b9b7d2 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#6  0xb6ab6f42 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0xb6b812fb in ?? () from /usr/lib/libQtCore.so.4
#8  0xb6ab9364 in ?? () from /usr/lib/libQtCore.so.4
#9  0xb6a47940 in start_thread () from /lib/libpthread.so.0
#10 0xb77a57ce in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb1c19740 (LWP 10029)):
[KCrash Handler]
#6  0xb6fd67a4 in KIconEffect::fingerprint(int, int) const () from /usr/lib/libkdeui.so.5
#7  0xb6fde04b in ?? () from /usr/lib/libkdeui.so.5
#8  0xb6fde391 in KIconLoader::loadIcon(QString const&amp;, KIconLoader::Group, int, int, QStringList const&amp;, QString*, bool) const () from /usr/lib/libkdeui.so.5
#9  0xb6fd9954 in ?? () from /usr/lib/libkdeui.so.5
#10 0xb6383452 in QIcon::pixmap(QSize const&amp;, QIcon::Mode, QIcon::State) const () from /usr/lib/libQtGui.so.4
#11 0xb767e93a in ?? () from /usr/lib/libplasma.so.3
#12 0xb7681c88 in Plasma::IconWidget::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) () from /usr/lib/libplasma.so.3
#13 0xaf3dde55 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#14 0xb68d910c in ?? () from /usr/lib/libQtGui.so.4
#15 0xb68d943e in ?? () from /usr/lib/libQtGui.so.4
#16 0xb68ececd in ?? () from /usr/lib/libQtGui.so.4
#17 0xb68ede0f in ?? () from /usr/lib/libQtGui.so.4
#18 0xb68eeb12 in ?? () from /usr/lib/libQtGui.so.4
#19 0xb68edc34 in ?? () from /usr/lib/libQtGui.so.4
#20 0xb68eeb12 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb68edc34 in ?? () from /usr/lib/libQtGui.so.4
#22 0xb68eeb12 in ?? () from /usr/lib/libQtGui.so.4
#23 0xb68edc34 in ?? () from /usr/lib/libQtGui.so.4
#24 0xb68eeb12 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb68ef369 in ?? () from /usr/lib/libQtGui.so.4
#26 0xb690cba3 in QGraphicsView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#27 0xb786e639 in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so
#28 0xb632f12d in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#29 0xb66e5103 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#30 0xb676a3a2 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#31 0xb690dfcc in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#32 0xb676cc65 in ?? () from /usr/lib/libQtGui.so.4
#33 0xb6b9c45a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#34 0xb62dc570 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#35 0xb62e0f43 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#36 0xb7013e53 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#37 0xb6b9c2d8 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#38 0xb632c277 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&amp;, QPoint const&amp;, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#39 0xb632cfba in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList&lt;QObject*&gt; const&amp;, int, QRegion const&amp;, QPoint const&amp;, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#40 0xb632ce9a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList&lt;QObject*&gt; const&amp;, int, QRegion const&amp;, QPoint const&amp;, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#41 0xb632c024 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&amp;, QPoint const&amp;, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#42 0xb64ef7bc in ?? () from /usr/lib/libQtGui.so.4
#43 0xb6322b48 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#44 0xb632fbed in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#45 0xb66e5103 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#46 0xb676c0fc in QAbstractScrollArea::event(QEvent*) () from /usr/lib/libQtGui.so.4
#47 0xb69016c6 in QGraphicsView::event(QEvent*) () from /usr/lib/libQtGui.so.4
#48 0xb786e996 in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so
#49 0xb62dc59c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#50 0xb62e0f43 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#51 0xb7013e53 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#52 0xb6b9c2d8 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#53 0xb6b9f15a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#54 0xb6b9f22d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#55 0xb68e55ce in ?? () from /usr/lib/libQtGui.so.4
#56 0xb68e59be in QGraphicsScene::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#57 0xb7600db5 in Plasma::Corona::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libplasma.so.3
#58 0xb7863f5b in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so
#59 0xb6ba1f3e in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#60 0xb6bab846 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#61 0xb6baf907 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#62 0xb68f29c0 in QGraphicsScene::event(QEvent*) () from /usr/lib/libQtGui.so.4
#63 0xb62dc59c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#64 0xb62e0ee8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#65 0xb7013e53 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#66 0xb6b9c2d8 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#67 0xb6b9f15a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#68 0xb6b9f22d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#69 0xb6bc57d4 in ?? () from /usr/lib/libQtCore.so.4
#70 0xb425e68a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#71 0xb425ee88 in ?? () from /lib/libglib-2.0.so.0
#72 0xb425f158 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#73 0xb6bc592c in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#74 0xb6381395 in ?? () from /usr/lib/libQtGui.so.4
#75 0xb6b9b529 in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#76 0xb6b9b7d2 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#77 0xb6b9f2f7 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#78 0xb62da837 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#79 0xb786a3b3 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#80 0x080485db in _start ()


После восстановления меняется виз значков в системном лотке и пропадает индикатор клавиатуры (переключение раскладок работает).

Ситуация воспроизводится следующим образом:

- установить КДЕ-шный(или гномовский) НМ апплет;
- настроить в VPN соединение; 
- подлючиться к VPN;
- используя апплет отключить VPN
- смотреть в топ.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119981</commentid>
    <comment_count>1</comment_count>
    <who name="Bikov Rinat">becase</who>
    <bug_when>2011-04-07 11:00:09 +0400</bug_when>
    <thetext>Ещё бы libqt4-core-debuginfo и libqt4-gui-debuginfo поставили :).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119989</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2011-04-07 13:58:07 +0400</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; Ещё бы libqt4-core-debuginfo и libqt4-gui-debuginfo поставили :).
В случае &quot;прибить одного из упомянутых по kill -INT&quot; такая диагностика не имеет смысла вообще.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119990</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2011-04-07 14:00:49 +0400</bug_when>
    <thetext>Если фигурирует NM, то скорее всего виснет его модуль из `kcmshell4 kcmkded`
А кто виноват, уже другой вопрос. Но, но в SuSE KDE-шная часть уже давно не менялась и та же, что у нас.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120052</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey Shilov">hsv</who>
    <bug_when>2011-04-08 11:07:24 +0400</bug_when>
    <thetext>(В ответ на комментарий №3)
&gt; Если фигурирует NM, то скорее всего виснет его модуль из `kcmshell4 kcmkded`
NM фигурирует в качестве быстрого способа воспроизвести ситуацию.
То-же может произойти при работе с kmail/kopete, но с меньшей вероятностью.
Картина воспроизводится также если установить, а затем закрыть сетевое :-)
мобильное соединение (не обязательно VPN).

&gt; А кто виноват, уже другой вопрос.
Как выяснить?


&gt; Но, но в SuSE KDE-шная часть уже давно не
&gt; менялась и та же, что у нас.
У меня тут у коллеги была SuSE с КДЕ 4.6.2 (сейчас нет, винт убили)
Там этой проблемы вроде не наблюдалось.

Кстати, после последних обновлений убийство процесса уже не валит плазму.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121646</commentid>
    <comment_count>5</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2011-05-25 18:00:15 +0400</bug_when>
    <thetext>kde4base-runtime-4.6.3-alt2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121647</commentid>
    <comment_count>6</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2011-05-25 18:00:16 +0400</bug_when>
    <thetext>kde4base-runtime-4.6.3-alt2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>