Bug 1720

Summary: audacious: crash on start
Product: Fedora Reporter: Elbin Pallimalil <elbin.p>
Component: ffmpegAssignee: Hans de Goede <hans>
Status: RESOLVED FIXED    
Severity: major CC: dominik, hans, kevin.kofler, kwizart, mschwendt, scott
Priority: P5    
Version: 14   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Elbin Pallimalil 2011-04-28 14:43:54 CEST
audacious crashes on start with the following message

audacious: relocation error: /usr/lib/audacious/Input/ffaudio.so: symbol av_register_protocol2, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference

Package versions:
audacious-2.4.4-2.fc14.i686
audacious-plugins-freeworld-ffaudio-2.4.4-1.fc14.i686
Comment 1 Hans de Goede 2011-04-28 15:15:31 CEST
This is not an audacious bug, but a problem with the recent ffmpeg security update for F-14, changing component.

Note you can work around this for now by downgrading ffmpeg to:
http://download1.rpmfusion.org/free/fedora/releases/14/Everything/i386/os/ffmpeg-libs-0.6-4.20100704svn.fc14.i686.rpm

Comment 2 Elbin Pallimalil 2011-04-29 08:43:43 CEST
I am just being curious. Recompiling audacious-plugins-freeworld would also fix this bug. Is that not an acceptable solution?
Comment 3 Hans de Goede 2011-04-29 08:45:35 CEST
(In reply to comment #2)
> I am just being curious. Recompiling audacious-plugins-freeworld would also fix
> this bug. Is that not an acceptable solution?
> 

The missing / not accepting of the LIBAVFORMAT_52 version is an ABI break, which is not acceptable for a security update to a released Fedora version (baring special exceptions, which should be coordinated with depending packages on forehand).
Comment 4 Hans de Goede 2011-04-29 10:42:46 CEST
*** Bug 1723 has been marked as a duplicate of this bug. ***
Comment 5 Michael Schwendt 2011-04-29 10:57:08 CEST
A quick solution would be appreciated by all Audacious users, I'm sure.

This early crash results in denial-of-service, so please do whatever is necessary to fix this.

Dunno whether Audacious Plugins could be updated to 2.4.5 to fix this very quickly. Comment 2 seems to indicate that it should suffice.
Comment 6 Kevin Kofler 2011-04-29 11:42:23 CEST
av_register_protocol2 was never defined in the 0.6 branch. It looks like what F14 previously had was a snapshot from master (around the time, but after, F14 branched).

audacious-plugins-freeworld needs to be rebuilt against the downgraded ffmpeg.
Comment 7 Kevin Kofler 2011-04-29 11:46:19 CEST
In addition, for F15, we need to build our FFmpeg 0.7 prereleases with FF_API_OLD_AVIO enabled, otherwise the entire URLContext API including av_register_protocol and av_register_protocol2 will be disabled.

See:
http://git.videolan.org/?p=ffmpeg.git;a=history;f=libavformat/avio.c;h=2d587b349acf3e8d7f66d0e17ea4e0096591897b;hb=HEAD
Comment 8 Kevin Kofler 2011-04-29 11:49:35 CEST
(And no, I don't know what to use instead, you need to ask FFmpeg upstream.)
Comment 9 Hans de Goede 2011-04-29 14:05:14 CEST
I've rebased audacious-plugins-freeworld to 2.4.5 and rebuild it which fixes this, I still believe this should not have happened though. Anyway, closing this.

Note the fix is being pushed directly to stable updates and should get there soon hopefully.
Comment 10 Michael Schwendt 2011-04-29 14:17:57 CEST
> I still believe this should not have happened though.

True.

Thank you for the quick update, Hans!
Comment 11 Hans de Goede 2011-04-30 08:36:49 CEST
*** Bug 1724 has been marked as a duplicate of this bug. ***