KWin slowness (was Re: Release schedule clarifications)

Armin Berres trigger at space-based.de
Mon Oct 29 23:21:32 GMT 2007


On Mon, 29 Oct 07 23:01, Andreas Pakulat wrote:
> I'm sorry I can't be more specific at the moment, because I can't start 
> a kde4 desktop using kwin at all. As soon as the desktop is up and 
> running I get tons of dr.konqi crash dialogs from knotify4 and I can't 
> find a way to stop that currently. No such problems with xfwm4....

Ok, i think I can enlighten you a little bit: 
IIRC you are using Debian. We discovered the following problem while
working on the Debian packages:
When libpulse0 is installed (it is alsways installed with latest xine
packages) pulseaudio is used as backend for the sound output. It
seems as if this makes Xine crashing which kills knotify4 via phonon (I
did now further investigations, so...).
The problem is the following: Since beta4 I can't debug this anymore,
because the desktop is more than unusably slow. I have two backtraces from
beta3 still lying around, maybe they are usable for someone. Find them
attached.
If you want to work around this problem try move
/usr/lib/xine/plugins/1.1.8/xineplug_ao_out_pulseaudio.so out of the
way.

I'd be really glad if we could find a way to work around this problem,
because without deleting this file KDE4 is currently unusable on a
Debian system. Even if xine dies why ever I guess knotify4 should be
still alive.

Tell me if I can give you any more information.

HTH
Armin
-------------- next part --------------
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb6a1d960 (LWP 11563)]
[New Thread 0xb2cd6b90 (LWP 11567)]
[New Thread 0xb34d7b90 (LWP 11566)]
[New Thread 0xb3d1ab90 (LWP 11565)]
[New Thread 0xb4566b90 (LWP 11564)]
[KCrash handler]
#5  q_atomic_increment (ptr=0x6f72747b)
    at /usr/include/qt4/QtCore/qatomic_i386.h:85
#6  0xb4eafa81 in QBasicAtomic::ref (this=0x6f72747b)
    at /usr/include/qt4/QtCore/qatomic.h:90
#7  0xb4eb089c in QHash (this=0xb2cd5aa8, other=@0x829ca80)
    at /usr/include/qt4/QtCore/qhash.h:252
#8  0xb4eafcfc in Phonon::Xine::SourceNode::sinks (this=0x829ca78)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdebase/runtime/phonon/xine/sourcenode.cpp:73
#9  0xb4ebb315 in Phonon::Xine::XineStream::createStream (this=0x829e400)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdebase/runtime/phonon/xine/xinestream.cpp:356
#10 0xb4ebf0aa in Phonon::Xine::XineStream::event (this=0x829e400, 
    ev=0x82bd858)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdebase/runtime/phonon/xine/xinestream.cpp:917
#11 0xb74e561d in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#12 0xb74e9057 in QApplication::notify () from /usr/lib/libQtGui.so.4
#13 0xb71fd113 in KApplication::notify (this=0xbf805d94, receiver=0x829e400, 
    event=0x82bd858)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdelibs/kdeui/kernel/kapplication.cpp:320
#14 0xb7eaec5b in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#15 0xb7eb043e in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#16 0xb7eb072d in QCoreApplication::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#17 0xb7ed2a2b in ?? () from /usr/lib/libQtCore.so.4
#18 0x00000000 in ?? ()

Thread 1 (Thread 0xb6a1d960 (LWP 11563)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6d4d653 in __xstat64 () from /lib/i686/cmov/libc.so.6
#2  0xb7e8be3e in ?? () from /usr/lib/libQtCore.so.4
#3  0x00000003 in ?? ()
#4  0xb7e9013d in ?? () from /usr/lib/libQtCore.so.4
#5  0x080ac540 in ?? ()
#6  0xb7f29a00 in ?? () from /usr/lib/libQtCore.so.4
#7  0xbf804df8 in ?? ()
#8  0xb7e8bca0 in QFSFileEngine::size () from /usr/lib/libQtCore.so.4
Backtrace stopped: frame did not save the PC
#0  0xffffe410 in __kernel_vsyscall ()
-------------- next part --------------
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb699d960 (LWP 11629)]
[New Thread 0xb0291b90 (LWP 11637)]
[New Thread 0xb0a92b90 (LWP 11636)]
[New Thread 0xb1460b90 (LWP 11635)]
[New Thread 0xb204ab90 (LWP 11634)]
[New Thread 0xb2c56b90 (LWP 11633)]
[New Thread 0xb3457b90 (LWP 11632)]
[New Thread 0xb3c9ab90 (LWP 11631)]
[New Thread 0xb44e6b90 (LWP 11630)]
[KCrash handler]
#5  0xffffe410 in __kernel_vsyscall ()
#6  0xb6c357f5 in raise () from /lib/i686/cmov/libc.so.6
#7  0xb6c37181 in abort () from /lib/i686/cmov/libc.so.6
#8  0xb6c2eb6e in __assert_fail () from /lib/i686/cmov/libc.so.6
#9  0xb3ccf65f in pa_mutex_unlock () from /usr/lib/libpulse.so.0
#10 0xb3cbbcfc in pa_threaded_mainloop_unlock () from /usr/lib/libpulse.so.0
#11 0xb3ce3066 in ?? ()
   from /usr/lib/xine/plugins/1.1.8/xineplug_ao_out_pulseaudio.so
#12 0x081713b0 in ?? ()
#13 0xb3ce2dac in ?? ()
   from /usr/lib/xine/plugins/1.1.8/xineplug_ao_out_pulseaudio.so
#14 0x08172cf0 in ?? ()
#15 0x00000000 in ?? ()

Thread 2 (Thread 0xb0291b90 (LWP 11637)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7d27676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
#2  0xb4df8d7c in xine_event_wait () from /usr/lib/libxine.so.1
#3  0x082c2420 in ?? ()
#4  0x08754fc8 in ?? ()
#5  0x00000001 in ?? ()
#6  0x08754fc8 in ?? ()
#7  0x082c2420 in ?? ()
#8  0x00000000 in ?? ()

Thread 1 (Thread 0xb699d960 (LWP 11629)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7d27676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
#2  0xb7d7b334 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb4e3157a in Phonon::Xine::XineThread::newStream ()
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdebase/runtime/phonon/xine/xinethread.cpp:62
#4  0xb4e49fe4 in MediaObject (this=0x82a3d30, parent=0x82afe60)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdebase/runtime/phonon/xine/mediaobject.cpp:61
#5  0xb4e4e08b in Phonon::Xine::Backend::createObject (this=0x80f7130, 
    c=Phonon::BackendInterface::MediaObjectClass, parent=0x82afe60, 
    args=@0xbfd31838)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdebase/runtime/phonon/xine/backend.cpp:101
#6  0xb6f63ede in Phonon::Factory::createMediaObject (parent=0x82afe60)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdelibs/phonon/factory.cpp:243
#7  0xb6f53130 in Phonon::MediaObjectPrivate::createBackendObject (
    this=0x82a3c80)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdelibs/phonon/mediaobject.cpp:44
#8  0xb6f551a3 in Phonon::MediaNodePrivate::backendObject (this=0x82a3c80)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdelibs/phonon/medianode.cpp:58
#9  0xb6f56cf8 in Phonon::Path::reconnect (this=0xbfd319a8, source=0x82afe68, 
    sink=0x80e03b0)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdelibs/phonon/path.cpp:147
#10 0xb6f570e8 in Phonon::createPath (source=0x82afe68, sink=0x80e03b0)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdelibs/phonon/path.cpp:381
#11 0x08051543 in NotifyBySound::notify (this=0x80eaa18, eventId=4, 
    config=0x80637c8)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdebase/runtime/knotify/notifybysound.cpp:160
#12 0x0804d06c in KNotify::emitEvent (this=0xbfd32530, e=0x80637c0)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdebase/runtime/knotify/knotify.cpp:170
#13 0x0804d49f in KNotify::event (this=0xbfd32530, event=@0x8176b38, 
    appname=@0x82ac9c0, contexts=@0xbfd31b34, text=@0x8066d38, 
    pixmap=@0xbfd31b08, actions=@0x8177de8, winId=0)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdebase/runtime/knotify/knotify.cpp:120
#14 0x0804d717 in KNotifyAdaptor::event (this=0x8175bc8, event=@0x8176b38, 
    fromApp=@0x82ac9c0, contexts=@0x81770f0, text=@0x8066d38, 
    image=@0x82acb70, actions=@0x8177de8, winId=0)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdebase/runtime/knotify/knotify.cpp:229
#15 0x0804de4f in KNotifyAdaptor::qt_metacall (this=0x8175bc8, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd31c14)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdebase/obj-i486-linux-gnu/runtime/knotify/knotify.moc:207
#16 0xb6f9c7ee in QDBusConnectionPrivate::deliverCall ()
   from /usr/lib/libQtDBus.so.4
#17 0xb6f9d4fb in QDBusConnectionPrivate::activateCall ()
   from /usr/lib/libQtDBus.so.4
#18 0xb6f9df91 in QDBusConnectionPrivate::activateObject ()
   from /usr/lib/libQtDBus.so.4
#19 0xb6f9e05a in ActivateObjectEvent::placeMetaCall ()
   from /usr/lib/libQtDBus.so.4
#20 0xb7e407b3 in QObject::event () from /usr/lib/libQtCore.so.4
#21 0xb746561d in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#22 0xb7469057 in QApplication::notify () from /usr/lib/libQtGui.so.4
#23 0xb717d113 in KApplication::notify (this=0xbfd32544, receiver=0xbfd32530, 
    event=0x81775d0)
    at /home/trigger/devel/debian/kde/pkg-kde/branches/kde4/packages/kdelibs/kdeui/kernel/kapplication.cpp:320
#24 0xb7e2ec5b in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#25 0xb7e3043e in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#26 0xb7e3072d in QCoreApplication::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#27 0xb7e52a2b in ?? () from /usr/lib/libQtCore.so.4
#28 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()


More information about the kde-core-devel mailing list