Version: (using KDE 4.2.1) Compiler: gcc 4.2.4 OS: Linux Installed from: Compiled From Sources As of phonon 4.2.96 and later (4.3.0 and 4.3.1), using the gstreamer backend causes universal crashes or segfaults. This includes the Multimedia section of systemsettings, Jerboa, notifications... Basically any application attempting to use Phonon. This behavior does not present itself with phonon 4.2.0. Note that I'm using gstreamer 0.10.21. This problem has been universally encountered by users of Slamd64 -current, including the distro maintainer. I'll post backtraces after I've reinstalled 4.3.1.
I suppose posting a backtrace would be useful: ttp://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Backtraces: systemsettings --nofork: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f51c0b1a700 (LWP 13689)] 0x00007f51b0f86380 in gst_property_probe_get_property () from /usr/lib64/libgstinterfaces-0.10.so.0 (gdb) bt #0 0x00007f51b0f86380 in gst_property_probe_get_property () from /usr/lib64/libgstinterfaces-0.10.so.0 #1 0x00007f51b1ade306 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so #2 0x00007f51b1adbf3a in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so #3 0x00007f51b1adc43a in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so #4 0x00007f51b1ad95a5 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so #5 0x00007f51b1ad9a82 in qt_plugin_instance () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so #6 0x00007f51b1fe8072 in ?? () from /usr/lib64/kde4/plugins/phonon_platform/kde.so #7 0x00007f51b1fe921d in ?? () from /usr/lib64/kde4/plugins/phonon_platform/kde.so #8 0x00007f51b54d8457 in ?? () from /usr/lib64/libphonon.so.4 #9 0x00007f51b54d8a56 in Phonon::Factory::backend () from /usr/lib64/libphonon.so.4 #10 0x00007f51b571940a in ?? () from /usr/lib64/kde4/kcm_phonon.so #11 0x00007f51b57098e7 in ?? () from /usr/lib64/kde4/kcm_phonon.so #12 0x00007f51b570e0c7 in ?? () from /usr/lib64/kde4/kcm_phonon.so #13 0x00007f51b570684d in ?? () from /usr/lib64/kde4/kcm_phonon.so #14 0x00007f51b5706f03 in ?? () from /usr/lib64/kde4/kcm_phonon.so #15 0x00007f51b57079c5 in KPluginFactory::createInstance<PhononKcm, QWidget> () from /usr/lib64/kde4/kcm_phonon.so #16 0x00007f51bf47566d in KPluginFactory::create () from /usr/lib64/libkdecore.so.5 #17 0x00007f51c070f154 in KCModuleLoader::loadModule () from /usr/lib64/libkutils.so.4 #18 0x00007f51c0713cce in ?? () from /usr/lib64/libkutils.so.4 #19 0x00007f51c0714815 in KCModuleProxy::realModule () from /usr/lib64/libkutils.so.4 #20 0x00007f51c071493c in KCModuleProxy::buttons () from /usr/lib64/libkutils.so.4 #21 0x000000000040e2d3 in _start () Jerboa (QT4 music player): Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fa880238740 (LWP 14039)] 0x00007fa86f3d1380 in gst_property_probe_get_property () from /usr/lib64/libgstinterfaces-0.10.so.0 (gdb) backtrace #0 0x00007fa86f3d1380 in gst_property_probe_get_property () from /usr/lib64/libgstinterfaces-0.10.so.0 #1 0x00007fa86faa6306 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so #2 0x00007fa86faa3f3a in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so #3 0x00007fa86faa443a in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so #4 0x00007fa86faa15a5 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so #5 0x00007fa86faa1a82 in qt_plugin_instance () from /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so #6 0x00007fa872a88072 in ?? () from /usr/lib64/kde4/plugins/phonon_platform/kde.so #7 0x00007fa872a8921d in ?? () from /usr/lib64/kde4/plugins/phonon_platform/kde.so #8 0x00007fa87ff39457 in ?? () from /usr/lib64/libphonon.so.4 #9 0x00007fa87ff39a56 in Phonon::Factory::backend () from /usr/lib64/libphonon.so.4 #10 0x00007fa87ff2c2c2 in Phonon::MediaNodePrivate::backendObject () from /usr/lib64/libphonon.so.4 #11 0x00007fa87ff28f8e in Phonon::MediaObject::setPrefinishMark () from /usr/lib64/libphonon.so.4 #12 0x0000000000427b85 in Jerboa::PlayerWindow::setupPhonon () #13 0x000000000042edca in Jerboa::PlayerWindow::PlayerWindow () #14 0x0000000000426e9f in main ()
It was revealed to me that my former backtraces are pretty well useless. So, here's a better one. jk:~/DEV/fred/jerboa/build$ gdb ./jerboa GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-slamd64-linux"... (gdb) run Starting program: /home/jk/DEV/fred/jerboa/build/jerboa [Thread debugging using libthread_db enabled] [New Thread 0x7f42dff9c740 (LWP 2475)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f42dff9c740 (LWP 2475)] 0x00007f42cf12c380 in gst_property_probe_get_property () from /usr/lib64/libgstinterfaces-0.10.so.0 (gdb) bt #0 0x00007f42cf12c380 in gst_property_probe_get_property () from /usr/lib64/libgstinterfaces-0.10.so.0 #1 0x00007f42cf801306 in Phonon::Gstreamer::GstHelper::extractProperties (elem=<value optimized out>, value=@0x7fffe80da210) at /tmp/phonon-4.3.1/gstreamer/gsthelper.cpp:48 #2 0x00007f42cf7fef3a in Phonon::Gstreamer::DeviceManager::updateDeviceList (this=0xa50940) at /tmp/phonon-4.3.1/gstreamer/devicemanager.cpp:309 #3 0x00007f42cf7ff43a in DeviceManager (this=0xa50940, backend=<value optimized out>) at /tmp/phonon-4.3.1/gstreamer/devicemanager.cpp:89 #4 0x00007f42cf7fc5a5 in Backend (this=0x9145a0, parent=<value optimized out>) at /tmp/phonon-4.3.1/gstreamer/backend.cpp:81 #5 0x00007f42cf7fca82 in qt_plugin_instance () at /tmp/phonon-4.3.1/gstreamer/backend.cpp:36 #6 0x00007f42d27eb072 in ?? () from /usr/lib64/kde4/plugins/phonon_platform/kde.so #7 0x00007f42d27ec21d in ?? () from /usr/lib64/kde4/plugins/phonon_platform/kde.so #8 0x00007f42dfc9c457 in Phonon::FactoryPrivate::createBackend (this=0x7c8ec0) at /tmp/phonon-4.3.1/phonon/factory.cpp:118 #9 0x00007f42dfc9ca56 in Phonon::Factory::backend (createWhenNull=true) at /tmp/phonon-4.3.1/phonon/factory.cpp:416 #10 0x00007f42dfc8f2c2 in Phonon::MediaNodePrivate::backendObject (this=0x7128a0) at /tmp/phonon-4.3.1/phonon/medianode.cpp:62 #11 0x00007f42dfc8bf8e in Phonon::MediaObject::setPrefinishMark (this=0x9179f0, x=1000) at /tmp/phonon-4.3.1/phonon/mediaobject.cpp:194 #12 0x000000000042a285 in Jerboa::PlayerWindow::setupPhonon (this=0x7fffe80dad50) at /home/jk/DEV/fred/jerboa/src/core/PlayerWindow.cpp:406 #13 0x00000000004331b5 in PlayerWindow (this=0x7fffe80dad50) at /home/jk/DEV/fred/jerboa/src/core/PlayerWindow.cpp:98 #14 0x0000000000429832 in main (argc=1, argv=<value optimized out>) at /home/jk/DEV/fred/jerboa/src/core/main.cpp:47 (gdb) continue Continuing. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) quit jk:~/DEV/fred/jerboa/build$
Okay, one more try (I can rebuild kdebase-runtime if it's requested, it's just a bit of a pain.) jk:~/DEV/fred/jerboa/build$ gdb ./jerboa GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-slamd64-linux"... (gdb) run Starting program: /home/jk/DEV/fred/jerboa/build/jerboa [Thread debugging using libthread_db enabled] [New Thread 0x7f4251981740 (LWP 14514)] Qt: Session management error: Could not open network socket Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f4251981740 (LWP 14514)] gst_property_probe_get_property (probe=0xa50170, name=0xa53258 "device") at propertyprobe.c:148 148 const GParamSpec *pspec = pspecs->data; Current language: auto; currently c (gdb) bt #0 gst_property_probe_get_property (probe=0xa50170, name=0xa53258 "device") at propertyprobe.c:148 #1 0x00007f42411ee306 in Phonon::Gstreamer::GstHelper::extractProperties (elem=<value optimized out>, value=@0x7fff59ac1bf0) at /tmp/phonon-4.3.1/gstreamer/gsthelper.cpp:48 #2 0x00007f42411ebf3a in Phonon::Gstreamer::DeviceManager::updateDeviceList (this=0xa4f8f0) at /tmp/phonon-4.3.1/gstreamer/devicemanager.cpp:309 #3 0x00007f42411ec43a in DeviceManager (this=0xa4f8f0, backend=<value optimized out>) at /tmp/phonon-4.3.1/gstreamer/devicemanager.cpp:89 #4 0x00007f42411e95a5 in Backend (this=0x912e90, parent=<value optimized out>) at /tmp/phonon-4.3.1/gstreamer/backend.cpp:81 #5 0x00007f42411e9a82 in qt_plugin_instance () at /tmp/phonon-4.3.1/gstreamer/backend.cpp:36 #6 0x00007f42441d0072 in ?? () from /usr/lib64/kde4/plugins/phonon_platform/kde.so #7 0x00007f42441d121d in ?? () from /usr/lib64/kde4/plugins/phonon_platform/kde.so #8 0x00007f4251681457 in Phonon::FactoryPrivate::createBackend (this=0x7c75b0) at /tmp/phonon-4.3.1/phonon/factory.cpp:118 #9 0x00007f4251681a56 in Phonon::Factory::backend (createWhenNull=true) at /tmp/phonon-4.3.1/phonon/factory.cpp:416 #10 0x00007f42516742c2 in Phonon::MediaNodePrivate::backendObject (this=0x712550) at /tmp/phonon-4.3.1/phonon/medianode.cpp:62 #11 0x00007f4251670f8e in Phonon::MediaObject::setPrefinishMark (this=0x915a40, x=1000) at /tmp/phonon-4.3.1/phonon/mediaobject.cpp:194 #12 0x000000000042a285 in Jerboa::PlayerWindow::setupPhonon (this=0x7fff59ac2730) at /home/jk/DEV/fred/jerboa/src/core/PlayerWindow.cpp:406 #13 0x00000000004331b5 in PlayerWindow (this=0x7fff59ac2730) at /home/jk/DEV/fred/jerboa/src/core/PlayerWindow.cpp:98 #14 0x0000000000429832 in main (argc=1, argv=<value optimized out>) at /home/jk/DEV/fred/jerboa/src/core/main.cpp:47 (gdb) continue Continuing. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) quit jk:~/DEV/fred/jerboa/build$
Added crash info in title.
Is this still valid for KDE 4.4?
Closing for lack of feedback. Most likely fixed already
reassigning to the new bugzilla product for better bug tracing of the various backends. Sorry for the noise.