| Summary: | Applications that use libvlc and a Qt version different from the one vlc was linked against crash because libqt4_plugin.so is loaded | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | David Walser <luigiwalser> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | cjw, lmenut, loginov_alex, mageia, rverschelde, shlomif |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | phonon, phonon-vlc, vlc, amarok | CVE: | |
| Status comment: | |||
| Attachments: |
KCrash dump backtrace of Amarok segfault
KCrash dump backtrace of systemsettings multimedia/phonon module |
||
|
Description
David Walser
2015-02-17 19:53:31 CET
David Walser
2015-02-17 19:54:07 CET
CC:
(none) =>
cjw, lmenut, mageia, shlomif Created attachment 5927 [details]
KCrash dump backtrace of Amarok segfault
I don't have debuginfo packages installed, so the backtrace isn't as detailed as it could be. I'm wondering if the issue is a simple conflict between the Qt4 that Phonon is built against and Qt5 that VLC is built against, or if there's more to it. Maybe someone has an idea?
We could also remove the dependency of vlc-plugin-vdpau on vlc... The vdpau lib is in a subdir so it can't be properly packaged as-is. Of course an improper library package is an option as well (: (In reply to Christiaan Welvaart from comment #2) > We could also remove the dependency of vlc-plugin-vdpau on vlc... The vdpau > lib is in a subdir so it can't be properly packaged as-is. Of course an > improper library package is an option as well (: Ahh, true. Yeah you could drop that dep and also remove the libvlc_vdpau.so file from the devel package, as it's probably not really needed by anything. Summary:
VLC 2.2.0 kills amarok =>
VLC 2.2.0 kills phonon Created attachment 5928 [details]
KCrash dump backtrace of systemsettings multimedia/phonon module
If I try to go to the Multimedia module in systemsettings to configure the phonon backend, I get a similar backtrace, so this problem is really with phonon, not specific to Amarok.
Christiaan pointed out to me on IRC that if you remove /usr/lib/vlc/plugins/gui/libqt4_plugin.so, the crashes go away and things work. Rémi pointed out that this is the same as this issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755154 It looks like the solution is to have vlc-plugin-common *not* ship the /usr/lib/vlc/plugins/plugins.dat file, and have it install file trigger that matches on /usr/lib/vlc/plugins/*/*.so and runs /usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins And indeed, after running that command, Amarok and systemsettings module work.
Rémi Verschelde
2015-02-17 23:00:19 CET
CC:
(none) =>
remi I added a rpm file trigger in vlc-plugin-common, in svn. Please review and test if this fixes the crashes.
Christiaan Welvaart
2015-02-18 13:40:17 CET
Summary:
VLC 2.2.0 kills phonon =>
Applications that use libvlc and a Qt version different from the one vlc was linked against crash because libqt4_plugin.so is loaded Looks good. I made extra sure that the plugins.dat file isn't shipped in the package, and I also cleaned up the messy cosmetics in the SPEC. Freeze push request sent. vlc-2.2.0-0.rc2.2.mga5 is now uploaded, fixing this. Status:
NEW =>
RESOLVED |