Bug 186968 - Plasma crashes when launching dragon player (Mpris::setup , MPris data engine, Dbus related) (4.2.1)
Summary: Plasma crashes when launching dragon player (Mpris::setup , MPris data engine...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-nowplaying (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 185009 188373 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-12 15:22 UTC by Roland Leißa
Modified: 2009-03-29 16:26 UTC (History)
5 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 Roland Leißa 2009-03-12 15:22:47 UTC
Version:            (using KDE 4.2.1)
Compiler:          gcc (Gentoo 4.3.2-r2 p1.5, pie-10.1.5) 4.3.2
 
OS:                Linux
Installed from:    Gentoo Packages

Simply start dragon player and plasma crashes.
I had no problem with KDE 4.2.0 and qt 4.4.2. After an upgrade to KDE 4.2.1 and qt 4.5.0 this strange crash happens. I dunno whether this has to do with the qt update.
I am using a geforce 7600 with OpenGL version string: 2.1.2 NVIDIA 180.27
Comment 1 Dario Andres 2009-03-12 17:58:47 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 2 A. Andres 2009-03-14 01:44:26 UTC
I'm able to confirm this bug and reproduce it at will. I'm using KDE 4.2.1 on Kubuntu Jaunty alpha6. This crash occurs systematically when opening Dragon Player since upgrading to KDE 4.2.1.
Here is what I get with gdb : 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4be7710 (LWP 2694)]
0xb65c5840 in QVariant::QVariant () from /usr/lib/libQtCore.so.4
(gdb) backtrace full
#0  0xb65c5840 in QVariant::QVariant () from /usr/lib/libQtCore.so.4
No symbol table info available.
#1  0xb66f85a0 in QDBusPendingReplyData::argumentAt () from /usr/lib/libQtDBus.so.4
No symbol table info available.
#2  0xa8a57e9b in Mpris::setup (this=0x9d6f818) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:174
No locals.
#3  0xa8a584b1 in Mpris (this=0x9d6f818, name=@0xbff8a698, factory=0x9271c48) at /build/buildd/kdebase-workspace-4.2.1a/plasma/dataengines/nowplaying/playerinterface/mpris/mpris.cpp:73
No locals.
#4  0xa8a585cc in MprisFactory::create (this=0x9271c48, args=@0xbff8a754) at /build/buildd/kdebase-workspace-4.2.1a/plasma/dataengines/nowplaying/playerinterface/mpris/mpris.cpp:48
	dbusName = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 14972}, alloc = 0, size = 0, data = 0xb669aa5a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 238}, alloc = 0, size = 0, data = 0xb669aa6e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x9d6f158, static codecForCStrings = 0x0}
#5  0xa8a4e3f7 in DBusWatcher::serviceChange (this=0x9026248, name=@0x9d7b0d8, oldOwner=@0x9c84ba0, newOwner=@0x9c75b50) at /build/buildd/kdebase-workspace-4.2.1a/plasma/dataengines/nowplaying/playerinterface/dbuswatcher.cpp:87
	args = {{p = {static shared_null = {ref = {_q_value = 30780}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x93de788}, d = 0x93de788}}
	player = {d = 0x9d7b0d8}
	factory = (class DBusPlayerFactory *) 0x9271c48
	_container_ = {c = {{p = {static shared_null = {ref = {_q_value = 30780}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x91c2ed0}, d = 0x91c2ed0}}, brk = 0, i = {i = 0x91c2ee4}, e = {i = 0x91c2eec}}
	__PRETTY_FUNCTION__ = "void DBusWatcher::serviceChange(const QString&, const QString&, const QString&)"
#6  0xa8a45913 in DBusWatcher::qt_metacall (this=0x9026248, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff8a864) at /build/buildd/kdebase-workspace-4.2.1a/obj-i486-linux-gnu/plasma/dataengines/nowplaying/moc_dbuswatcher.cpp:75
No locals.
#7  0xb65bbcb8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
No symbol table info available.
#8  0xb65bc942 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
No symbol table info available.
#9  0xb66f8d5f in QDBusConnectionInterface::serviceOwnerChanged () from /usr/lib/libQtDBus.so.4
No symbol table info available.
#10 0xb66f92eb in QDBusConnectionInterface::qt_metacall () from /usr/lib/libQtDBus.so.4
No symbol table info available.
#11 0xb65bbcb8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
No symbol table info available.
#12 0xb65bc942 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
No symbol table info available.
#13 0xb66f8c0f in QDBusConnectionInterface::NameOwnerChanged () from /usr/lib/libQtDBus.so.4
No symbol table info available.
#14 0xb66f925b in QDBusConnectionInterface::qt_metacall () from /usr/lib/libQtDBus.so.4
No symbol table info available.
#15 0xb66bed7a in ?? () from /usr/lib/libQtDBus.so.4
No symbol table info available.
#16 0xb66c7187 in ?? () from /usr/lib/libQtDBus.so.4
No symbol table info available.
#17 0xb65b63b0 in QObject::event () from /usr/lib/libQtCore.so.4
No symbol table info available.
#18 0xb6852f5c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
No symbol table info available.
#19 0xb685b23e in QApplication::notify () from /usr/lib/libQtGui.so.4
No symbol table info available.
#20 0xb76a971d in KApplication::notify (this=0x8ce5438, receiver=0x8d0a208, event=0x9d66450) at /build/buildd/kde4libs-4.2.1a/kdeui/kernel/kapplication.cpp:307
No locals.
#21 0xb65a5a4b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
No symbol table info available.
#22 0xb65a66a5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
No symbol table info available.
#23 0xb65a689d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
No symbol table info available.
#24 0xb65d17ff in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#25 0xb4edeaf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#26 0xb4ee205b in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#27 0xb4ee21d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#28 0xb65d1448 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
No symbol table info available.
#29 0xb68f4405 in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#30 0xb65a407a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
No symbol table info available.
#31 0xb65a44ba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
No symbol table info available.
#32 0xb65a6969 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
No symbol table info available.
#33 0xb6852dd7 in QApplication::exec () from /usr/lib/libQtGui.so.4
No symbol table info available.
#34 0xb7f1a826 in kdemain (argc=1, argv=0xbff8b4a4) at /build/buildd/kdebase-workspace-4.2.1a/plasma/shells/desktop/main.cpp:54
	aboutData = {d = 0x8cd2240}
	app = (class PlasmaApp *) 0x8ce5438
	rc = <value optimized out>
#35 0x08048712 in main (argc=Cannot access memory at address 0x1
) at /build/buildd/kdebase-workspace-4.2.1a/obj-i486-linux-gnu/plasma/shells/desktop/plasma_qgv_dummy.cpp:3
No locals.
(gdb) info registr[Kers
eax            0xbff8a59c	-1074223716
ecx            0x1	1
edx            0x1	1
ebx            0xb6698ff4	-1234595852
esp            0xbff8a490	0xbff8a490
ebp            0xbff8a4a8	0xbff8a4a8
esi            0x0	0
edi            0xbff8a59c	-1074223716
eip            0xb65c5840	0xb65c5840 <QVariant::QVariant(QVariant const&)+32>
eflags         0x10292	[ AF SF IF RF ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
(gdb) thr"z[K[Kead all[K[Kpply all bacj[Kktrace

Thread 3 (Thread 0xa92fbb90 (LWP 2749)):
#0  0xb7f6f430 in __kernel_vsyscall ()
#1  0xb50e40e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb62c62ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb64b29b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7930152 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb64b196e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb50e04ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb62b749e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa8873b90 (LWP 2821)):
#0  0xb7f6f430 in __kernel_vsyscall ()
#1  0xb50e40e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb62c62ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb64b29b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xa93e8b9a in RenderThread::run (this=0x8f8931c) at /build/buildd/kdebase-workspace-4.2.1a/plasma/wallpapers/image/renderthread.cpp:91
#5  0xb64b196e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb50e04ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb62b749e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4be7710 (LWP 2694)):
#0  0xb65c5840 in QVariant::QVariant () from /usr/lib/libQtCore.so.4
#1  0xb66f85a0 in QDBusPendingReplyData::argumentAt () from /usr/lib/libQtDBus.so.4
#2  0xa8a57e9b in Mpris::setup (this=0x9d6f818) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:174
#3  0xa8a584b1 in Mpris (this=0x9d6f818, name=@0xbff8a698, factory=0x9271c48) at /build/buildd/kdebase-workspace-4.2.1a/plasma/dataengines/nowplaying/playerinterface/mpris/mpris.cpp:73
#4  0xa8a585cc in MprisFactory::create (this=0x9271c48, args=@0xbff8a754) at /build/buildd/kdebase-workspace-4.2.1a/plasma/dataengines/nowplaying/playerinterface/mpris/mpris.cpp:48
#5  0xa8a4e3f7 in DBusWatcher::serviceChange (this=0x9026248, name=@0x9d7b0d8, oldOwner=@0x9c84ba0, newOwner=@0x9c75b50) at /build/buildd/kdebase-workspace-4.2.1a/plasma/dataengines/nowplaying/playerinterface/dbuswatcher.cpp:87
#6  0xa8a45913 in DBusWatcher::qt_metacall (this=0x9026248, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff8a864) at /build/buildd/kdebase-workspace-4.2.1a/obj-i486-linux-gnu/plasma/dataengines/nowplaying/moc_dbuswatcher.cpp:75
#7  0xb65bbcb8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#8  0xb65bc942 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9  0xb66f8d5f in QDBusConnectionInterface::serviceOwnerChanged () from /usr/lib/libQtDBus.so.4
#10 0xb66f92eb in QDBusConnectionInterface::qt_metacall () from /usr/lib/libQtDBus.so.4
#11 0xb65bbcb8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb65bc942 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb66f8c0f in QDBusConnectionInterface::NameOwnerChanged () from /usr/lib/libQtDBus.so.4
#14 0xb66f925b in QDBusConnectionInterface::qt_metacall () from /usr/lib/libQtDBus.so.4
#15 0xb66bed7a in ?? () from /usr/lib/libQtDBus.so.4
#16 0xb66c7187 in ?? () from /usr/lib/libQtDBus.so.4
#17 0xb65b63b0 in QObject::event () from /usr/lib/libQtCore.so.4
#18 0xb6852f5c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#19 0xb685b23e in QApplication::notify () from /usr/lib/libQtGui.so.4
#20 0xb76a971d in KApplication::notify (this=0x8ce5438, receiver=0x8d0a208, event=0x9d66450) at /build/buildd/kde4libs-4.2.1a/kdeui/kernel/kapplication.cpp:307
#21 0xb65a5a4b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#22 0xb65a66a5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#23 0xb65a689d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#24 0xb65d17ff in ?? () from /usr/lib/libQtCore.so.4
#25 0xb4edeaf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb4ee205b in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb4ee21d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb65d1448 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#29 0xb68f4405 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb65a407a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0xb65a44ba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0xb65a6969 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#33 0xb6852dd7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#34 0xb7f1a826 in kdemain (argc=1, argv=0xbff8b4a4) at /build/buildd/kdebase-workspace-4.2.1a/plasma/shells/desktop/main.cpp:54
#35 0x08048712 in main (argc=Cannot access memory at address 0x1
) at /build/buildd/kdebase-workspace-4.2.1a/obj-i486-linux-gnu/plasma/shells/desktop/plasma_qgv_dummy.cpp:3

This is my first report on bugzilla, so if something is missing/poorly explained/etc. don't hesitate to tell me what's bad and I'll do my possible to help with more details.
Comment 3 Dario Andres 2009-03-15 13:39:21 UTC
Adding MPris maintainer to CC
Comment 4 Alex Merry 2009-03-15 19:14:58 UTC
Fixed in r938759 (trunk) and r938760 (4.1 - will be in 4.1.3).

The problem was that dragon player does not implement the MPRIS specification correctly, and the now playing engine was unforgiving about this.  It now won't crash when it encounters a media player with a bad MPRIS implementation (which are actually quite common - everyone seems to implement GetStatus() wrong).
Comment 5 Pino Toscano 2009-03-15 19:24:00 UTC
(In reply to comment #4)
> Fixed in r938759 (trunk) and r938760 (4.1 - will be in 4.1.3).

4.1? Don't you mean 4.2.1, by chance?
Comment 6 Alex Merry 2009-03-15 19:37:42 UTC
Gah, yes, 4.2.3.
Comment 7 Pino Toscano 2009-03-15 19:48:12 UTC
Yay, we're both giving numbers here :-D
Next release is KDE 4.2.2, going to be tagged in 10 days.
Comment 8 Alex Merry 2009-03-15 20:37:38 UTC
Sorry, I'm quite tired at the moment.  It will be fixed in 4.2.2.
Comment 9 Dario Andres 2009-03-26 01:21:19 UTC
*** Bug 185009 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2009-03-29 16:26:21 UTC
*** Bug 188373 has been marked as a duplicate of this bug. ***