Public bug reported:

Binary package hint: libshout3

This issue is related to Debian bug 490070:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490070

Affected Applications:
1. DarkIce
2. liquidsoap
3. idjc
4. Development versions of mpd
5. xmms2-plugin-ices
6. vlc-nox
7. ezstream
8. gstreamer-plugins-good (and any applications that stream using gstreamer, 
such as flumotion)

The history is thus:

1. Intrepid pulled in a Debian update to libshout3, version 2.2.2-4,
which purported to fix an issue for some user. This "fix" has no
documented advantages, but it has a *major* regression: the mp3
streaming functionality of libshout3 is completely broken.

The only change is in src/mp3.c, line 320:
-  if(mh->layer != 2)
+ if(mh->layer != 2 || mh->layer != 1)

If the statement is true, the function returns silently with a 0 exit
code, indicating success. However, the stream is not actually sent.

2. In Jaunty, we pulled in the Debian update to libshout3 2.2.2-5. The
*only* change in this package update is that one line of code is
reverted back to the original.

The end-user impact is thus:
1. In Intrepid, all of the above "Affected Applications" can not stream mp3 
data to an icecast/icecast2 server.

I am requesting a Stable Release Update (SRU) for this problem. I have
read the guidelines at https://wiki.ubuntu.com/StableReleaseUpdates and
believe this satisfies the criteria as follows:

1. "Bugs which represent severe regressions from the previous release of 
Ubuntu. This includes packages which are totally unusable, like being 
uninstallable or crashing on startup."
2. "Bugs which do not fit under above categories, but (1) have an obviously 
safe patch and (2) affect an application rather than critical infrastructure 
packages (like X.org or the kernel)." Both (1) and (2).
3. The bug is indeed fixed in Jaunty. libshout3 2.2.2-5.
4. libshout3 2.2.2-5 does not make any other changes besides this one fix, and 
the original sources have not changed.

TEST CASE: 
1. Install icecast2, gstreamer0.10-plugins-good, 
gstreamer0.10-plugins-ugly-multiverse, and gstreamer0.10-tools.
2. Configure icecast2 to have an mp3 mount point, by editing 
/etc/icecast2/icecast.xml. For example, add the following lines within the 
<icecast></icecast> element:
<mount>
        <mount-name>/test.mp3</mount-name>
<username>source</username>
<password>bugtest</password>
<max-listeners>1</max-listeners>
<burst-size>65536</burst-size>
<hidden>1</hidden>
<no-yp>1</no-yp>
    </mount>
3. Edit /etc/default/icecast2 and uncomment the line reading "ENABLE=true".
4. Start icecast2 by running `sudo /etc/init.d/icecast2 start`
5. Launch these three commands in sequence, as a user (not root):
`gst-launch-0.10 audiotestsrc ! audioconvert ! lame ! shout2send ip=localhost 
port=8000 password=bugtest username=source mount=/test.mp3 &`
`sleep 5`
`gst-launch-0.10 souphttpsrc location=http://localhost:8000/test.mp3 ! 
decodebin2 ! audioconvert ! autoaudiosink`

You should *not* hear sound, if you are running Ubuntu Intrepid and thus using 
libshout3 2.2.2-4. You may also receive an error message.
If you are running any other version of Ubuntu, you *should* hear sound (a tone 
similar to what you hear when you do an audio test in Gnome's Sound panel). 
Press Ctrl+C to stop.

** Affects: libshout (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: 490070 debian mp3 regression streaming

-- 
SRU Request: libshout3 in intrepid
https://bugs.launchpad.net/bugs/304843
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to