Bug 185009 - plasma whis "now playing" widget crashes, when video player is opened.
Summary: plasma whis "now playing" widget crashes, when video player is opened.
Status: RESOLVED DUPLICATE of bug 186968
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-20 10:45 UTC by Rudolf
Modified: 2009-03-26 01:21 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rudolf 2009-02-20 10:45:23 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

i had got it with dragon player and vlc.


Application: Plasma Workspace (plasma-desktop), signal SIGABRT
[Current thread is 1 (Thread 0xb4d75710 (LWP 1787))]

Thread 2 (Thread 0xa925eb90 (LWP 1795)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6453c35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb64bff70 in QWaitConditionPrivate::wait (this=0x8493048, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#3  0xb64bfa6f in QWaitCondition::wait (this=0x849e010, mutex=0x849e00c, time=4294967295) at thread/qwaitcondition_unix.cpp:154
#4  0xb78da39b in QHostInfoAgent::run (this=0x849e000) at kernel/qhostinfo.cpp:255
#5  0xb64bf64b in QThreadPrivate::start (arg=0x849e000) at thread/qthread_unix.cpp:184
#6  0xb64501b5 in start_thread () from /lib/libpthread.so.0
#7  0xb629238e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4d75710 (LWP 1787)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb61eb990 in raise () from /lib/libc.so.6
#8  0xb61ed2c8 in abort () from /lib/libc.so.6
#9  0xb64b557f in qt_message_output (msgType=QtFatalMsg, buf=0x806bca0 "ASSERT failure in QDBusPendingReply::argumentAt: \"Index out of bounds\", file qdbuspendingreply.cpp, line 261")
    at global/qglobal.cpp:2001
#10 0xb64b55f6 in qFatal (msg=0xb660941c "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2196
#11 0xb64b564d in qt_assert_x (where=0xb66c9185 "QDBusPendingReply::argumentAt", what=0xb66c9171 "Index out of bounds", file=0xb66c9104 "qdbuspendingreply.cpp", line=261) at global/qglobal.cpp:1780
#12 0xb66c23ff in QDBusPendingReplyData::argumentAt (this=0xbfb28464, index=0) at qdbuspendingreply.cpp:261
#13 0xa8a0462b in Mpris::setup (this=0x85a71a8) at /home/kde-devel/qt-copy/include/QtDBus/qdbuspendingreply.h:169
#14 0xa8a04c41 in Mpris (this=0x85a71a8, name=@0xbfb284f8, factory=0x814cee0) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/dataengines/nowplaying/playerinterface/mpris/mpris.cpp:73
#15 0xa8a04d5c in MprisFactory::create (this=0x814cee0, args=@0xbfb285f0) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/dataengines/nowplaying/playerinterface/mpris/mpris.cpp:48
#16 0xa89fa190 in DBusWatcher::addFactory (this=0x85bcee0, factory=0x814cee0) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/dataengines/nowplaying/playerinterface/dbuswatcher.cpp:59
#17 0xa89f2b6b in NowPlayingEngine (this=0x85be3f8, parent=0x0, args=@0xbfb28808) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/dataengines/nowplaying/nowplayingengine.cpp:58
#18 0xa89f48b8 in KPluginFactory::createInstance<NowPlayingEngine, QObject> (parentWidget=0x0, parent=0x0, args=@0xbfb28808) at /home/kde-devel/kde/include/kpluginfactory.h:461
#19 0xb74470bf in KPluginFactory::create (this=0x85be800, iface=0xb7e87260 "Plasma::DataEngine", parentWidget=0x0, parent=0x0, args=@0xbfb28808, keyword=@0xbfb287f0)
    at /home/kde-devel/kde/src/KDE/kdelibs/kdecore/util/kpluginfactory.cpp:191
#20 0xb7d94158 in Plasma::DataEngineManager::loadEngine (this=0x82a5f78, name=@0xbfb28898) at /home/kde-devel/kde/src/KDE/kdelibs/kdecore/util/kpluginfactory.h:515
#21 0xb7d68c8c in Plasma::Applet::dataEngine (this=0x834fa20, name=@0xbfb28898) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/applet.cpp:563
#22 0xa92fa175 in NowPlaying::init (this=0x834fa20) at /home/kde-devel/kde/src/KDE/kdeplasma-addons/applets/nowplaying/nowplaying.cpp:106
#23 0xb7d8aed7 in Plasma::Corona::loadLayout (this=0x816fef8, configName=@0xbfb28a84) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/corona.cpp:316
#24 0xb7d8c4b1 in Plasma::Corona::initializeLayout (this=0x816fef8, configName=@0xbfb28a84) at /home/kde-devel/kde/src/KDE/kdelibs/plasma/corona.cpp:263
#25 0xb7ee17dd in PlasmaApp::corona (this=0x805cf70) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/shells/desktop/plasmaapp.cpp:478
#26 0xb7ee1c3b in PlasmaApp::setupDesktop (this=0x805cf70) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/shells/desktop/plasmaapp.cpp:202
#27 0xb7ee4f1b in PlasmaApp::qt_metacall (this=0x805cf70, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfb28b78)
    at /home/kde-devel/kde/build/KDE/kdebase/workspace/plasma/shells/desktop/plasmaapp.moc:95
#28 0xb65ca5df in QMetaObject::activate (sender=0x8163c68, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3061
#29 0xb65cb9af in QMetaObject::activate (sender=0x8163c68, m=0xb666e908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3136
#30 0xb65d2b1d in QSingleShotTimer::timeout (this=0x8163c68) at .moc/debug-shared/qtimer.moc:76
#31 0xb65d2c38 in QSingleShotTimer::timerEvent (this=0x8163c68) at kernel/qtimer.cpp:293
#32 0xb65c83da in QObject::event (this=0x8163c68, e=0xbfb29144) at kernel/qobject.cpp:1077
#33 0xb6834f1d in QApplicationPrivate::notify_helper (this=0x806dad8, receiver=0x8163c68, e=0xbfb29144) at kernel/qapplication.cpp:4051
#34 0xb6835272 in QApplication::notify (this=0x805cf70, receiver=0x8163c68, e=0xbfb29144) at kernel/qapplication.cpp:3598
#35 0xb76670ed in KApplication::notify (this=0x805cf70, receiver=0x8163c68, event=0xbfb29144) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#36 0xb65b41b7 in QCoreApplication::notifyInternal (this=0x805cf70, receiver=0x8163c68, event=0xbfb29144) at kernel/qcoreapplication.cpp:590
#37 0xb683198d in QCoreApplication::sendEvent (receiver=0x8163c68, event=0xbfb29144) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:208
#38 0xb65e6241 in QTimerInfoList::activateTimers (this=0x806f8bc) at kernel/qeventdispatcher_unix.cpp:567
#39 0xb65e3b8c in timerSourceDispatch (source=0x806f888) at kernel/qeventdispatcher_glib.cpp:159
#40 0xb515ce89 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb516040b in ?? () from /usr/lib/libglib-2.0.so.0
#42 0xb5160588 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0xb65e2ebe in QEventDispatcherGlib::processEvents (this=0x806d078, flags={i = -1078816056}) at kernel/qeventdispatcher_glib.cpp:318
#44 0xb68e211c in QGuiEventDispatcherGlib::processEvents (this=0x806d078, flags={i = -1078816008}) at kernel/qguieventdispatcher_glib.cpp:197
#45 0xb65b119c in QEventLoop::processEvents (this=0xbfb29380, flags={i = -1078815936}) at kernel/qeventloop.cpp:144
#46 0xb65b13f6 in QEventLoop::exec (this=0xbfb29380, flags={i = -1078815864}) at kernel/qeventloop.cpp:191
#47 0xb65b498f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:872
#48 0xb6834c36 in QApplication::exec () at kernel/qapplication.cpp:3526
#49 0xb7ecde30 in kdemain (argc=1, argv=0xbfb29534) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/shells/desktop/main.cpp:50
#50 0x080487d2 in main (argc=) at /home/kde-devel/kde/build/KDE/kdebase/workspace/plasma/shells/desktop/plasma-desktop_dummy.cpp:3
Comment 1 Marco Martin 2009-02-24 14:14:47 UTC
hmm, this looks like a bug in the qdbus stuff? O.o
Comment 2 Aaron J. Seigo 2009-02-24 18:06:14 UTC
possibly dbus; could also just be mismanagement in the engine. the backtrace isn't very helpful because it ends up in inlined code and so we can't see the exact line in the engine that causes the problem, just something in MPris::setup().

to the reporter:

* can you note what version of KDE and Qt you are compiling (svn rev is fine, too, if compiling from svn)

* if the latest sources still give you problems, i can give you patch (once i know what you're compiling) that will add some debug output and then you can run it via plasmadataengine and we can see which line it is die on exactly.
Comment 3 Rudolf 2009-02-28 03:07:37 UTC
KDE rev was somewhere between 928500 and 928700. Qt (qt-copy) - 927167.
and i'm sorry, i can't verify now and in the near future that there is problem or not.
Comment 4 Roman S. 2009-03-18 17:54:55 UTC
I can confirm this crash (Gentoo Linux, AMD64, KDE 4.2.1, kernel 2.6.28-r3, Qt 4.5 without 'raster' feature, DBus 1.2.3-r1, X.org server 1.5.3, NVidia binary drivers 180.37, Xine 1.1.16.2) - problem happens regardless whether desktop effects are enabled or not. However, my backtrace looks differently:

Application: Plasma Workspace (plasma), signal SIGSEGV
0x00007fb574945aa1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 4444)]

Thread 3 (Thread 0x40c6e950 (LWP 4449)):
#0  0x00007fb5776539b9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb5778bf535 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fb578dff434 in QHostInfoAgent::run () from /usr/lib64/qt4/libQtNetwork.so.4
#3  0x00007fb5778beb30 in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fb57764f097 in start_thread () from /lib/libpthread.so.0
#5  0x00007fb574972ccd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x4225f950 (LWP 4450)):
#0  0x00007fb5776539b9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb5778bf535 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fb55e1a98c1 in RenderThread::run () from /usr/kde/4.2/lib64/kde4/plasma_wallpaper_image.so
#3  0x00007fb5778beb30 in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fb57764f097 in start_thread () from /lib/libpthread.so.0
#5  0x00007fb574972ccd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 1 (Thread 0x7fb57a18d750 (LWP 4444)):
[KCrash Handler]
#5  0x00007fb5779a4be6 in QVariant::QVariant () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fb577caabb9 in QDBusPendingReplyData::argumentAt () from /usr/lib64/qt4/libQtDBus.so.4
#7  0x00007fb55aa343de in Mpris::setup () from /usr/kde/4.2/lib64/kde4/plasma_engine_nowplaying.so
#8  0x00007fb55aa349f8 in Mpris::Mpris () from /usr/kde/4.2/lib64/kde4/plasma_engine_nowplaying.so
#9  0x00007fb55aa34b12 in MprisFactory::create () from /usr/kde/4.2/lib64/kde4/plasma_engine_nowplaying.so
#10 0x00007fb55aa2b46b in DBusWatcher::serviceChange () from /usr/kde/4.2/lib64/kde4/plasma_engine_nowplaying.so
#11 0x00007fb55aa24037 in DBusWatcher::qt_metacall () from /usr/kde/4.2/lib64/kde4/plasma_engine_nowplaying.so
#12 0x00007fb57799abda in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007fb577caad0f in QDBusConnectionInterface::serviceOwnerChanged () from /usr/lib64/qt4/libQtDBus.so.4
#14 0x00007fb577cab32a in QDBusConnectionInterface::qt_metacall () from /usr/lib64/qt4/libQtDBus.so.4
#15 0x00007fb57799abda in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007fb577caac3f in QDBusConnectionInterface::NameOwnerChanged () from /usr/lib64/qt4/libQtDBus.so.4
#17 0x00007fb577cab2ee in QDBusConnectionInterface::qt_metacall () from /usr/lib64/qt4/libQtDBus.so.4
#18 0x00007fb577c83755 in QDBusConnectionPrivate::deliverCall () from /usr/lib64/qt4/libQtDBus.so.4
#19 0x00007fb577c8a2af in QDBusCallDeliveryEvent::placeMetaCall () from /usr/lib64/qt4/libQtDBus.so.4
#20 0x00007fb577997681 in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007fb576ac325e in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007fb576ac9cfe in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007fb578544d1b in KApplication::notify () from /usr/kde/4.2/lib64/libkdeui.so.5
#24 0x00007fb577989513 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fb57798a7da in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007fb5779addc3 in postEventSourceDispatch () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007fb571ace4b2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007fb571ad1795 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#29 0x00007fb571ad1c9b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007fb5779ae27e in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007fb576b42bef in QGuiEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007fb577988905 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007fb577988a86 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007fb57798aae9 in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00007fb579e7d980 in kdemain () from /usr/kde/4.2/lib64/libkdeinit4_plasma.so
#36 0x00007fb5748cb4a4 in __libc_start_main () from /lib/libc.so.6
#37 0x0000000000400929 in _start ()

Aaron, I can try to apply this patch - feel free to contact me.
Comment 5 Dario Andres 2009-03-26 01:21:19 UTC
Fixed for KDE4.2.2/4.3+ (bug 186968)

*** This bug has been marked as a duplicate of bug 186968 ***