When trying to use a second user with phonon, it crashes. While there is no usefull console output, I am guessing there is some "can not open a second time" open error and maybe it tries to save something invalid? using phonon git master + phonon-gstreamer git master. ASSERT failure in QVariant::save: "Invalid type to save", file kernel/qvariant.cpp, line 2049 Reproducible: Always Application: KDE-Dienst (kdeinit4), signal: Aborted Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7fc12b688780 (LWP 8579))] Thread 3 (Thread 0x7fc1191a3700 (LWP 8602)): #0 0x00007fc128ba6efd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc125886e3c in g_main_context_iterate.isra.24 () from /usr/lib/libglib-2.0.so.0 #2 0x00007fc125886f6c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007fc12a2d2bce in QEventDispatcherGlib::processEvents (this=0x7fc1140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007fc12a2a012f in QEventLoop::processEvents (this=this@entry=0x7fc1191a2e30, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007fc12a2a03e8 in QEventLoop::exec (this=this@entry=0x7fc1191a2e30, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007fc12a196a0d in QThread::exec (this=this@entry=0x2772f80) at thread/qthread.cpp:542 #7 0x00007fc12a27fa73 in QInotifyFileSystemWatcherEngine::run (this=0x2772f80) at io/qfilesystemwatcher_inotify.cpp:256 #8 0x00007fc12a199779 in QThreadPrivate::start (arg=0x2772f80) at thread/qthread_unix.cpp:338 #9 0x00007fc129f0301b in start_thread (arg=0x7fc1191a3700) at pthread_create.c:308 #10 0x00007fc128bb0b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 2 (Thread 0x7fc1189a2700 (LWP 8603)): #0 0x00007fc128ba6efd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc125886e3c in g_main_context_iterate.isra.24 () from /usr/lib/libglib-2.0.so.0 #2 0x00007fc125886f6c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007fc12a2d2bce in QEventDispatcherGlib::processEvents (this=0x7fc10c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007fc12a2a012f in QEventLoop::processEvents (this=this@entry=0x7fc1189a1e30, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007fc12a2a03e8 in QEventLoop::exec (this=this@entry=0x7fc1189a1e30, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007fc12a196a0d in QThread::exec (this=this@entry=0x27c37b0) at thread/qthread.cpp:542 #7 0x00007fc12a27fa73 in QInotifyFileSystemWatcherEngine::run (this=0x27c37b0) at io/qfilesystemwatcher_inotify.cpp:256 #8 0x00007fc12a199779 in QThreadPrivate::start (arg=0x27c37b0) at thread/qthread_unix.cpp:338 #9 0x00007fc129f0301b in start_thread (arg=0x7fc1189a2700) at pthread_create.c:308 #10 0x00007fc128bb0b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 1 (Thread 0x7fc12b688780 (LWP 8579)): [KCrash Handler] #6 0x00007fc128afa995 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #7 0x00007fc128afbe07 in __GI_abort () at abort.c:90 #8 0x00007fc12a18f344 in qt_message_output (msgType=<optimized out>, msgType@entry=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2323 #9 0x00007fc12a18f4a0 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7fc12a30b1a8 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=ap@entry=0x7fff1af08308) at global/qglobal.cpp:2369 #10 0x00007fc12a18f614 in qFatal (msg=msg@entry=0x7fc12a30b1a8 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2552 #11 0x00007fc12a18f63a in qt_assert_x (where=where@entry=0x7fc12a38ae6e "QVariant::save", what=what@entry=0x7fc12a38ae59 "Invalid type to save", file=file@entry=0x7fc12a38ae18 "kernel/qvariant.cpp", line=line@entry=2049) at global/qglobal.cpp:2026 #12 0x00007fc12a2c6c53 in QVariant::save (this=this@entry=0x2952878, s=...) at kernel/qvariant.cpp:2049 #13 0x00007fc12a2c6d6f in operator<< (s=..., p=...) at kernel/qvariant.cpp:2076 #14 0x00007fc1194b2d5b in operator<< <QByteArray, QVariant> (out=..., hash=...) at /usr/include/qt4/QtCore/qdatastream.h:383 #15 0x00007fc1194acd92 in streamToByteArray<QHash<QByteArray, QVariant> > (data=...) at /var/tmp/portage/kde-base/phonon-kde-4.10.4/work/phonon-kde-4.10.4/phonon/kded-module/phononserver.cpp:956 #16 PhononServer::updateDevicesCache (this=0x2704b80) at /var/tmp/portage/kde-base/phonon-kde-4.10.4/work/phonon-kde-4.10.4/phonon/kded-module/phononserver.cpp:1017 #17 0x00007fc1194ada4b in PhononServer::audioDevicesIndexes (this=<optimized out>, type=<optimized out>) at /var/tmp/portage/kde-base/phonon-kde-4.10.4/work/phonon-kde-4.10.4/phonon/kded-module/phononserver.cpp:823 #18 0x00007fc1194a8718 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /var/tmp/portage/kde-base/phonon-kde-4.10.4/work/phonon-kde-4.10.4_build/phonon/kded-module/moc_phononserver.cpp:75 #19 PhononServer::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/phonon-kde-4.10.4/work/phonon-kde-4.10.4_build/phonon/kded-module/moc_phononserver.cpp:69 #20 0x00007fc1194a88a3 in PhononServer::qt_metacall (this=0x2704b80, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff1af08870) at /var/tmp/portage/kde-base/phonon-kde-4.10.4/work/phonon-kde-4.10.4_build/phonon/kded-module/moc_phononserver.cpp:131 #21 0x00007fc126f21a34 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x255eff0, object=object@entry=0x2704b80, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:951 #22 0x00007fc126f22c37 in QDBusConnectionPrivate::activateCall (this=this@entry=0x255eff0, object=0x2704b80, flags=241, msg=...) at qdbusintegrator.cpp:856 #23 0x00007fc126f233e7 in QDBusConnectionPrivate::activateObject (this=0x255eff0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1447 #24 0x00007fc126f237db in QDBusActivateObjectEvent::placeMetaCall (this=0x298dc10) at qdbusintegrator.cpp:1541 #25 0x00007fc12a2b8c1e in QObject::event (this=0x2704b80, e=<optimized out>) at kernel/qobject.cpp:1194 #26 0x00007fc12935dd51 in QApplicationPrivate::notify_helper (this=this@entry=0x2569a60, receiver=receiver@entry=0x2704b80, e=e@entry=0x298dc10) at kernel/qapplication.cpp:4562 #27 0x00007fc1293603f9 in QApplication::notify (this=this@entry=0x7fff1af0a510, receiver=receiver@entry=0x2704b80, e=e@entry=0x298dc10) at kernel/qapplication.cpp:4423 #28 0x00007fc12b08fb08 in KApplication::notify (this=0x7fff1af0a510, receiver=0x2704b80, event=0x298dc10) at /var/tmp/portage/kde-base/kdelibs-4.10.4/work/kdelibs-4.10.4/kdeui/kernel/kapplication.cpp:311 #29 0x00007fc12a2a1bcd in QCoreApplication::notifyInternal (this=0x7fff1af0a510, receiver=receiver@entry=0x2704b80, event=event@entry=0x298dc10) at kernel/qcoreapplication.cpp:946 #30 0x00007fc12a2a5457 in sendEvent (event=0x298dc10, receiver=0x2704b80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x24f42b0) at kernel/qcoreapplication.cpp:1570 #32 0x00007fc12a2a57c5 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463 #33 0x00007fc12a2d2a33 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #34 postEventSourceDispatch (s=0x256ab80) at kernel/qeventdispatcher_glib.cpp:279 #35 0x00007fc125886b34 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #36 0x00007fc125886ea4 in g_main_context_iterate.isra.24 () from /usr/lib/libglib-2.0.so.0 #37 0x00007fc125886f6c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #38 0x00007fc12a2d2ba4 in QEventDispatcherGlib::processEvents (this=0x24f5750, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #39 0x00007fc129407d86 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #40 0x00007fc12a2a012f in QEventLoop::processEvents (this=this@entry=0x7fff1af09440, flags=...) at kernel/qeventloop.cpp:149 #41 0x00007fc12a2a03e8 in QEventLoop::exec (this=this@entry=0x7fff1af09440, flags=...) at kernel/qeventloop.cpp:204 #42 0x00007fc129861d47 in QDialog::exec (this=0x25a8fe0) at dialogs/qdialog.cpp:554 #43 0x00007fc12affd71a in KMessageBox::createKMessageBox (dialog=dialog@entry=0x25a8fe0, icon=..., text=..., strlist=..., ask=..., checkboxReturn=checkboxReturn@entry=0x7fff1af0979f, options=..., details=..., notifyType=notifyType@entry=QMessageBox::Information) at /var/tmp/portage/kde-base/kdelibs-4.10.4/work/kdelibs-4.10.4/kdeui/dialogs/kmessagebox.cpp:344 #44 0x00007fc1194aa88c in PhononServer::askToRemoveDevices (this=0x2704b80, devList=..., type=<optimized out>, indexes=...) at /var/tmp/portage/kde-base/phonon-kde-4.10.4/work/phonon-kde-4.10.4/phonon/kded-module/phononserver.cpp:1145 #45 0x00007fc1194a86fe in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /var/tmp/portage/kde-base/phonon-kde-4.10.4/work/phonon-kde-4.10.4_build/phonon/kded-module/moc_phononserver.cpp:92 #46 PhononServer::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/phonon-kde-4.10.4/work/phonon-kde-4.10.4_build/phonon/kded-module/moc_phononserver.cpp:69 #47 0x00007fc12a2b8c1e in QObject::event (this=0x2704b80, e=<optimized out>) at kernel/qobject.cpp:1194 #48 0x00007fc12935dd51 in QApplicationPrivate::notify_helper (this=this@entry=0x2569a60, receiver=receiver@entry=0x2704b80, e=e@entry=0x2919320) at kernel/qapplication.cpp:4562 #49 0x00007fc1293603f9 in QApplication::notify (this=this@entry=0x7fff1af0a510, receiver=receiver@entry=0x2704b80, e=e@entry=0x2919320) at kernel/qapplication.cpp:4423 #50 0x00007fc12b08fb08 in KApplication::notify (this=0x7fff1af0a510, receiver=0x2704b80, event=0x2919320) at /var/tmp/portage/kde-base/kdelibs-4.10.4/work/kdelibs-4.10.4/kdeui/kernel/kapplication.cpp:311 #51 0x00007fc12a2a1bcd in QCoreApplication::notifyInternal (this=0x7fff1af0a510, receiver=receiver@entry=0x2704b80, event=event@entry=0x2919320) at kernel/qcoreapplication.cpp:946 #52 0x00007fc12a2a5457 in sendEvent (event=0x2919320, receiver=0x2704b80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #53 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x24f42b0) at kernel/qcoreapplication.cpp:1570 #54 0x00007fc12a2a57c5 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463 #55 0x00007fc12a2d2a33 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #56 postEventSourceDispatch (s=0x256ab80) at kernel/qeventdispatcher_glib.cpp:279 #57 0x00007fc125886b34 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #58 0x00007fc125886ea4 in g_main_context_iterate.isra.24 () from /usr/lib/libglib-2.0.so.0 #59 0x00007fc125886f6c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #60 0x00007fc12a2d2ba4 in QEventDispatcherGlib::processEvents (this=0x24f5750, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #61 0x00007fc129407d86 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #62 0x00007fc12a2a012f in QEventLoop::processEvents (this=this@entry=0x7fff1af0a290, flags=...) at kernel/qeventloop.cpp:149 #63 0x00007fc12a2a03e8 in QEventLoop::exec (this=this@entry=0x7fff1af0a290, flags=...) at kernel/qeventloop.cpp:204 #64 0x00007fc12a2a5868 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218 #65 0x00007fc1293583fc in QApplication::exec () at kernel/qapplication.cpp:3823 #66 0x00007fc120d38a99 in kdemain (argc=1, argv=0x2518620) at /var/tmp/portage/kde-base/kdelibs-4.10.4/work/kdelibs-4.10.4/kded/kded.cpp:925 #67 0x0000000000408a63 in launch (argc=argc@entry=1, _name=_name@entry=0x40b44c "kded4", args=args@entry=0x0, cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x0, reset_env=reset_env@entry=false, tty=tty@entry=0x0, avoid_loops=avoid_loops@entry=false, startup_id_str=startup_id_str@entry=0x40b2e6 "0") at /var/tmp/portage/kde-base/kdelibs-4.10.4/work/kdelibs-4.10.4/kinit/kinit.cpp:726 #68 0x00000000004063b5 in main (argc=2, argv=<optimized out>, envp=0x7fff1af0aca0) at /var/tmp/portage/kde-base/kdelibs-4.10.4/work/kdelibs-4.10.4/kinit/kinit.cpp:1841
What do you mean with "second user"?
another account on the system useradd foo passwd foo su - foo ./something-that-uses-phonon its really just a testuser in my case, so I delete ~/.kde (for the testuser) from time to time, but always BEFORE running the first kde app.
launch kdebugdialog first, activate everything, then trigger the crash, then attach .xsession-errors to the report please.
*** This bug has been marked as a duplicate of bug 318451 ***