This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Sound OK but systemsettings crashing on audio settings

Tags: None
(comma "," separated)
User avatar
eXtremeDevil
Registered Member
Posts
58
Karma
0
OS
Hello. As the title of the post says, I do have normal sound but when I go to System Settings -> Multimedia -> Audio & Video Preferences I get a crash. I've created a new user and the problem persists. I'm using OpenSUSE 13.2 x64, and here is the crash log:

Code: Select all
Application: Módulo de control de KDE (kcmshell4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#5  0x00007fcc3fc02b8a in __strcmp_sse2_unaligned () at /lib64/libc.so.6
#6  0x00007fcc1ccd6b2e in QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void const*), void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fcc1d1d7077 in  () at /usr/lib64/libQt5Gui.so.5
#8  0x00007fcc4245a92a in call_init.part () at /lib64/ld-linux-x86-64.so.2
#9  0x00007fcc4245aa13 in _dl_init_internal () at /lib64/ld-linux-x86-64.so.2
#10 0x00007fcc4245eb48 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#11 0x00007fcc4245a7e4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#12 0x00007fcc4245e33b in _dl_open () at /lib64/ld-linux-x86-64.so.2
#13 0x00007fcc3d88802b in dlopen_doit () at /lib64/libdl.so.2
#14 0x00007fcc4245a7e4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#15 0x00007fcc3d8885dd in _dlerror_run () at /lib64/libdl.so.2
#16 0x00007fcc3d8880c1 in dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2
#17 0x00007fcc1fc4859f in  () at /usr/lib64/libvlccore.so.7
#18 0x00007fcc1fc31d5d in  () at /usr/lib64/libvlccore.so.7
#19 0x00007fcc1fc32057 in  () at /usr/lib64/libvlccore.so.7
#20 0x00007fcc1fc322c9 in  () at /usr/lib64/libvlccore.so.7
#21 0x00007fcc1fc32534 in  () at /usr/lib64/libvlccore.so.7
#22 0x00007fcc1fc32a87 in  () at /usr/lib64/libvlccore.so.7
#23 0x00007fcc1fbca49d in libvlc_InternalInit () at /usr/lib64/libvlccore.so.7
#24 0x00007fcc1f99b623 in libvlc_new () at /usr/lib64/libvlc.so.5
#25 0x00007fcc1feccec9 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#26 0x00007fcc1feb2728 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#27 0x00007fcc1feb31eb in qt_plugin_instance () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#28 0x00007fcc41267641 in QPluginLoader::instance() () at /usr/lib64/libQtCore.so.4
#29 0x00007fcc203c9f8b in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#30 0x00007fcc203ca773 in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#31 0x00007fcc31fa9c76 in  () at /usr/lib64/libphonon.so.4
#32 0x00007fcc31faa317 in Phonon::Factory::backend(bool) () at /usr/lib64/libphonon.so.4
#33 0x00007fcc31fadaaa in Phonon::GlobalConfig::audioOutputDeviceListFor(Phonon::Category, int) const () at /usr/lib64/libphonon.so.4
#34 0x00007fcc24e04b0a in  () at /usr/lib64/kde4/kcm_phonon.so
#35 0x00007fcc24e054b8 in  () at /usr/lib64/kde4/kcm_phonon.so
#36 0x00007fcc24dfe564 in  () at /usr/lib64/kde4/kcm_phonon.so
#37 0x00007fcc24dfe81b in  () at /usr/lib64/kde4/kcm_phonon.so
#38 0x00007fcc417f1553 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () at /usr/lib64/libkdecore.so.5
#39 0x00007fcc31a5aede in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () at /usr/lib64/libkcmutils.so.4
#40 0x00007fcc31a600e3 in  () at /usr/lib64/libkcmutils.so.4
#41 0x00007fcc31a607f5 in KCModuleProxy::realModule() const () at /usr/lib64/libkcmutils.so.4
#42 0x00007fcc31a60b59 in KCModuleProxy::useRootOnlyMessage() const () at /usr/lib64/libkcmutils.so.4
#43 0x00007fcc31a5db91 in KCMultiDialog::addModule(KCModuleInfo const&, KPageWidgetItem*, QStringList const&) () at /usr/lib64/libkcmutils.so.4
#44 0x00007fcc2a3dd25e in kdemain () at /usr/lib64/libkdeinit4_kcmshell4.so
#45 0x0000000000408815 in _start ()


I have IT knowledge but at this point I don't know how to handle the log or where the problem may be.

I hope someone can give me advice. Please ask all the info you need :)

Thanks in advance.


:::::::::::::::::::::::::::::::::::::::::EDIT:::::::::::::::::::::::::::::::::::::::::::

One other thing, the system notification sounds are like broken, they do make a sound but is like the noise on the TV with the snow.
luebking
Karma
0
systemsettings is KDE4 on Qt4, but phonon_vlc dlopens vlc which links Qt5 => BOOM!

That's also why "system sounds" are broken (you can assume that all phonon doesn't work)

=> install a Qt4 version of vlc

(found a bug, it's *incredibly* common)
https://bugs.kde.org/show_bug.cgi?id=335111
wolfi323
Registered Member
Posts
1129
Karma
11
OS
luebking wrote:=> install a Qt4 version of vlc

Or run this manually:
Code: Select all
sudo /usr/lib64/vlc/vlc-cache-gen -f /usr/lib64/vlc/plugins

VLC only dlopens plugins that are not found in its cache. Although the packages should do this automatically on installation.

There is no Qt4 version of the latest VLC version available for openSUSE.

You might also have a different problem, not sure whether the stacktrace might fit that case though:
The phonon-backend-vlc included in openSUSE 13.2 is built against VLC 2.1.5 and will not work with 2.2.x (which you likely have installed if it's using Qt5).
wolfi323
Registered Member
Posts
1129
Karma
11
OS
PS: it's definitely the second problem. libvlccore7 (which is mentioned in your backtrace) is the 2.1.x version, which is Qt4 based in openSUSE, so it shouldn't load Qt5.
So my inspired guess would be that you have vlc 2.2.1 with libvlccore8 installed (Qt5 based), but your phonon-backend-vlc is built against libvlccore7, i.e. vlc 2.1.x.
I suppose libvlccore7 regards 2.2.x's plugin cache as invalid and therefore loads all plugins at startup anyway (including Qt5 causing the crash).
But even without that problem, it wouldn't work as you only have plugins for 2.2.x installed, not 2.1.x.

Unfortunately there is no phonon-backend-vlc available for openSUSE 13.2, built against vlc 2.2.x/libvlccore8, that I know of. Packman provided it built against their vlc (so always against the right version) for some time, but they removed it recently. I have no idea why, you might ask them to add it back: http://lists.links2linux.de/cgi-bin/mai ... fo/packman
For now, you would have to downgrade VLC to the 2.1.x version that is shipped with openSUSE, which means no support for most codecs, even when you use VLC stand-alone.

The easiest way to fix your problem would be to just uninstall phonon-backend-vlc and use gstreamer instead though.
I wouldn't recommend the vlc backend anyway, especially if you are using PulseAudio (which is the default in openSUSE).
See here for the reason: https://bugs.kde.org/show_bug.cgi?id=345651
Also it lacks features compared to the gstreamer backend, see here: https://community.kde.org/Phonon/FeatureMatrix
User avatar
eXtremeDevil
Registered Member
Posts
58
Karma
0
OS
You guys are the best! Not only you solved my problem but also I learned new stuff!

Really appreciated :)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]