[vlc-devel] Segfault when activating 'shoutcast radio' service discovery
Rémi Denis-Courmont
rem at videolan.org
Sun Mar 15 17:26:38 CET 2009
Hello,
Le mercredi 11 mars 2009 13:01:07 Dominique Leuenberger, vous avez écrit :
> It goes a while and then segfaults.
It turns out this is caused by a conflict between Qt4 and VLC that causes
libxml2 version 2.7 to crash.
As far as I can currently tell, this fundamentally is a limitation of the
libxml2 initialization API. Namely, it is not re-entrant and crashes if it is
initialized from more than one place. VLC is using through its xml plugin.
Qt4 is also using it. Other underlying libraries might be using it too.
Downgrading to 2.6 will work around the bug in practice. If this is against
your distribution policy, you are screwed.
As an alternative, you will need to disable all but one of the VLC plugin
depending on GNOME-XML: libass, qt4, freetype and xml. Unfortuantely, qt4 and
freetype are both quite essential, so this hardly is an option.
N.B.: Thanks to J-B for hinting at libqt4-xml.
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list