Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25767 - [phonon-vlc] Crashes of phonon-based applications

Attached to Project: Arch Linux
Opened by Nikolay (madgnu) - Friday, 26 August 2011, 08:02 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 04 October 2011, 21:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Any app that uses phonon crashes at start with useless backtrace if vlc backend chosen in phonon.
Standalone VLC works fine (instead of segfault at quit, see Archlinux bug #23869).
I've also noticed that apps will work with LD_PRELOAD=libvlc.so

I have tried to simply rebuild vlc and phonon-vlc (ad also downgrade vlc to 1.1.11-3), but it still crashes.
Also, it worked some days ago.

Here is example of amarok crash:
Application: Amarok (amarok), signal: Segmentation fault
[KCrash Handler]
#6 0x0000000000097ad6 in ?? ()
#7 0x00007f67e62e5e9c in vlc_entry__1_1_0g () from /usr/lib/vlc/plugins/gui/libqt4_plugin.so
#8 0x00007f680b8ced41 in ?? () from /usr/lib/libvlccore.so.4
#9 0x00007f680b8c882f in ?? () from /usr/lib/libvlccore.so.4
#10 0x00007f680b8c8b14 in ?? () from /usr/lib/libvlccore.so.4
#11 0x00007f680b8c8a9c in ?? () from /usr/lib/libvlccore.so.4
#12 0x00007f680b8c8a9c in ?? () from /usr/lib/libvlccore.so.4
#13 0x00007f680b8c907a in ?? () from /usr/lib/libvlccore.so.4
#14 0x00007f680b85ba7d in libvlc_InternalInit () from /usr/lib/libvlccore.so.4
#15 0x00007f680bb2fbea in libvlc_new () from /usr/lib/libvlc.so.5
#16 0x00007f680bd5e737 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_vlc.so
#17 0x00007f680bd50c6e in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_vlc.so
#18 0x00007f680bd51273 in qt_plugin_instance () from /usr/lib/kde4/plugins/phonon_backend/phonon_vlc.so
#19 0x00007f680c4384e6 in ?? () from /usr/lib/kde4/plugins/phonon_platform/kde.so
#20 0x00007f680c438fce in ?? () from /usr/lib/kde4/plugins/phonon_platform/kde.so
#21 0x00007f68217504a6 in ?? () from /usr/lib/libphonon.so.4
#22 0x00007f6821750dff in Phonon::Factory::backend(bool) () from /usr/lib/libphonon.so.4
#23 0x00007f6821751205 in ?? () from /usr/lib/libphonon.so.4
#24 0x00007f682174983e in ?? () from /usr/lib/libphonon.so.4
#25 0x00007f6821746a70 in ?? () from /usr/lib/libphonon.so.4
#26 0x00007f6826f55333 in EngineController::initializePhonon() () from /usr/lib/libamaroklib.so.1
#27 0x00007f6826f56797 in EngineController::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libamaroklib.so.1
#28 0x00007f6825235ea2 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /usr/lib/libQtCore.so.4
#29 0x00007f6825238020 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /usr/lib/libQtCore.so.4
#30 0x00007f682705d735 in ?? () from /usr/lib/libamaroklib.so.1
#31 0x00007f682705d7b1 in ?? () from /usr/lib/libamaroklib.so.1
#32 0x00007f6826f3eea9 in App::continueInit() () from /usr/lib/libamaroklib.so.1
#33 0x00007f6826f4070c in App::App() () from /usr/lib/libamaroklib.so.1
#34 0x0000000000409108 in ?? ()
#35 0x00007f682487513d in __libc_start_main () from /lib/libc.so.6
#36 0x000000000040bcdd in _start ()

Additional info:
* package version(s)
KDE: 4.7.0
qt 4.7.3-3
vlc 1.1.11-4
phonon-vlc 0.4.1-1

Steps to reproduce:
* Choose vlc backend in phonon kcm module
* Start any app that uses phonon (for example, amarok)

Please ask for any additional info which I can provide.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 04 October 2011, 21:59 GMT
Reason for closing:  Not a bug
Additional comments about closing:  seems solved
Comment by Andrea Scarpino (BaSh) - Friday, 26 August 2011, 11:02 GMT
Hi, please try to wipe out ~/.config/vlc and ~/.vlc and ~/.cache/vlc
Comment by Nikolay (madgnu) - Friday, 26 August 2011, 11:54 GMT
Thanks, Andrea, it works now.
Closing this.
Comment by Eric (eric2) - Saturday, 27 August 2011, 10:04 GMT
  • Field changed: Percent Complete (100% → 0%)
It still crashes, even after deleting ~/.config/vlc and ~/.vlc and ~/.cache/vlc .
The LD_PRELOAD trick works, but is impratical.
Comment by Eric (eric2) - Monday, 29 August 2011, 23:22 GMT
Found some info on our forum:
https://bbs.archlinux.org/viewtopic.php?pid=982903
Especially messages #7-12 are interesting.
Comment by Marius Cirsta (mcirsta) - Thursday, 08 September 2011, 19:36 GMT
I just wanted to say that I had the same problem on Frugalware, the exact same crash happened. I solved it by installing the Frugalware package "samba" , not the samba client but samba itself. Why exactly this fixes the problem I'm not sure but it seems to somehow need a samba library or something.
Could you try it and see if it's the same for you on Arch ?
Thanks.
Comment by Eric (eric2) - Saturday, 10 September 2011, 00:05 GMT
I've installed samba (and gamin) and wiped out ~/.config/vlc but it didn't help.
The new kde-4.7.1 has the same issue here.
Comment by Marius Cirsta (mcirsta) - Saturday, 10 September 2011, 00:12 GMT
Yes, I figured out how this works. The problem is basically the same. It crashes because one VLC plugin cannot be loaded because of a missing library. In my case it was the samba related VLC plugin because the samba lib had problems.
I'm pretty sure one of the VLC plugins has issues , I just don't know which one in your case. I suggest you do a ldd on each one, you'll probably find the one that doesn't have all the required libs. I all are well then I have no idea and it's probably a different issue.
Comment by Eric (eric2) - Saturday, 01 October 2011, 03:15 GMT
Somehow it is not crashing anymore.
I don't know why exactly, but it _may_ have to do with the fact that, a week ago, I've re-enabled a script in my daily cron that is prelinking libraries and binaries.

Loading...