Bug 24369 - Recent update to libmad breaks qmmp, mplayer, rhythmbox guayadeque.
Summary: Recent update to libmad breaks qmmp, mplayer, rhythmbox guayadeque.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: High major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks: 23698
  Show dependency treegraph
 
Reported: 2019-02-16 11:36 CET by PC LX
Modified: 2019-02-21 00:37 CET (History)
6 users (show)

See Also:
Source RPM: mad-0.15.1b-22.2.mga6.src.rpm
CVE:
Status comment:


Attachments

Description PC LX 2019-02-16 11:36:44 CET
Description of problem:

Recent update to libmad breaks qmmp.
The sound becomes distorted with pops and clicks. The distortion is independent of the output method.

The previous version worked correctly:

Bug report of update:
https://bugs.mageia.org/show_bug.cgi?id=23698

System: Mageia 6, x86_64, Plasma DE, LXQt DE, Intel CPU, nVidia GPU using nvidia340 proprietary driver.



Version-Release number of selected component (if applicable):


Working: lib64mad0-0.15.1b-22.1.mga6.x86_64
Broken: lib64mad0-0.15.1b-22.2.mga6.x86_64
qmmp: qmmp-1.1.8-2.mga6.tainted



How reproducible:

Always.



Steps to Reproduce:
1. Install qmmp
2. Install working libmad (lib64mad0-0.15.1b-22.1.mga6.x86_64)
3. Play several mp3 files and listen to working playback.
4. Update to broken libmad (lib64mad0-0.15.1b-22.2.mga6.x86_64).
5. Play several mp3 files and listen to broken playback.



$ uname -a
Linux marte 4.14.100-desktop-1.mga6 #1 SMP Fri Feb 15 09:29:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ journalctl | grep lib64mad
Fev 14 09:01:05 marte [RPM][3031]: erase lib64mad0-0.15.1b-22.1.mga6.x86_64: success
Fev 14 09:01:28 marte [RPM][3031]: install lib64mad0-0.15.1b-22.2.mga6.x86_64: success
Fev 14 09:01:28 marte [RPM][3031]: erase lib64mad0-0.15.1b-22.1.mga6.x86_64: success
Fev 14 09:01:54 marte [RPM][3031]: install lib64mad0-0.15.1b-22.2.mga6.x86_64: success
Fev 14 09:59:28 marte msec[8580]: -   Added packages : lib64mad0-0.15.1b-22.2.mga6
Fev 14 09:59:28 marte msec[8603]: - Removed packages : lib64mad0-0.15.1b-22.1.mga6
Fev 15 09:38:21 marte urpmi[3765]: called with: --downgrade lib64mad0-0.15.1b-22.1.mga6
Fev 15 09:38:30 marte [RPM][3765]: erase lib64mad0-0.15.1b-22.2.mga6.x86_64: success
Fev 15 09:38:31 marte [RPM][3765]: install lib64mad0-0.15.1b-22.1.mga6.x86_64: success
Fev 15 09:38:32 marte [RPM][3765]: erase lib64mad0-0.15.1b-22.2.mga6.x86_64: success
Fev 15 09:38:32 marte [RPM][3765]: install lib64mad0-0.15.1b-22.1.mga6.x86_64: success
Comment 1 Philippe Didier 2019-02-16 13:12:34 CET
Nice diagnostic (I tried to downgrade several packages without finding the explanation...)

I can confirm this

Same kind of system : Mageia 6 , x86_64, Plasma DE, Nvidia graphic card, AMD CPU

Since the update from 
lib64mad0-0.15.1b-22.1.mga6.x86_64
to
lib64mad0-0.15.1b-22.2.mga6.x86_64

I couldn't play anymore mp3 files with : Clementine, neither with Guayadeque, nor Rythmbox, nor mplayer  : getting garbage sound.... 
unless playing a very low quality mp3 (128kB/s) in which case it's quite possible to hear the sound

NB there's no problem for playing wma, m4a, opus, ogg files with these media players after this update


But beside this I could play mp3 files fluently with Amarok or VLC that are not concerned by the problem


Downgrading to lib64mad0-0.15.1b-22.1.mga6.x86_64 solves the problem
Guayadeque Rythmbox Clementine mplayer are OK now

CC: (none) => philippedidier

Comment 2 Philippe Didier 2019-02-16 13:22:22 CET
PS

Priority: Normal => High
Blocks: (none) => 23698

Comment 3 Shlomi Fish 2019-02-16 13:38:39 CET
Hi all!

Can you reproduce the problem with this .mp3 - http://www.shlomifish.org/Files/files/music/mp3-ogg/01%20See%20Her%20Out.mp3 ? If not, please upload/send me an offending file? Also, can mpv play the file well?
Comment 4 Shlomi Fish 2019-02-16 14:25:01 CET
(In reply to Shlomi Fish from comment #3)
> Hi all!
> 
> Can you reproduce the problem with this .mp3 -
> http://www.shlomifish.org/Files/files/music/mp3-ogg/01%20See%20Her%20Out.mp3
> ? If not, please upload/send me an offending file? Also, can mpv play the
> file well?

I can reproduce the issue with this file on mga7. Please see if it is fixed with %mkrel 27, which seems to work fine here.
Comment 5 Shlomi Fish 2019-02-16 14:31:46 CET
Now see -22.3 in 6 updates_testing.
Comment 6 PC LX 2019-02-16 16:30:36 CET
Installed and tested. Fixes the issue.

Will wait for more OKs to mark it as OK for x86_64.

Much thanks, Shlomi.

$ strace -o tmp/strace.log qmmp
<SNIP>
$ grep lib64/libmad.so  tmp/strace.log 
open("/lib64/libmad.so.0", O_RDONLY|O_CLOEXEC) = 25
$ rpm -qf /lib64/libmad.so.0
lib64mad0-0.15.1b-22.3.mga6
Comment 7 Philippe Didier 2019-02-16 16:32:59 CET
Nice job !

It's OK with  -22.3 from 6 updates_testing. (I had to wait it is uploaded to the mirrors to test it)
Ok for Clementine, Guayadeque, rhythmbox and mplayer

Thanks to you to be so fast responding and so wise to repair it

I think you may push it in updates very soon before other users are stuck
Comment 8 David Walser 2019-02-16 16:36:46 CET
Advisory:
----------------------------------------

The previous for the mad library in MGASA-2019-0078 caused a regression in
playback.  This has been corrected.

References:
https://advisories.mageia.org/MGASA-2019-0078.html
----------------------------------------

Updated packages in core/updates_testing:
----------------------------------------
libmad0-0.15.1b-22.3.mga6
libmad-devel-0.15.1b-22.3.mga6

from mad-0.15.1b-22.3.mga6.src.rpm

Assignee: shlomif => qa-bugs
CC: (none) => shlomif

David Walser 2019-02-16 16:37:12 CET

Whiteboard: (none) => MGA6-64-OK

Olivier Placais 2019-02-17 09:56:35 CET

CC: (none) => olivier.placais

Philippe Didier 2019-02-18 12:45:53 CET

Summary: Recent update to libmad breaks qmmp. => Recent update to libmad breaks qmmp, mplayer, rhythmbox guayadeque.

Comment 9 roberto simone 2019-02-20 20:52:31 CET
I found the same problem updating from libmad0-0.15.1b-22.1.mga6 to libmad0-0.15.1b-22.2.mga6 (i686 architecture)
It breaks amarok too.

CC: (none) => srobi2003

Dave Hodgins 2019-02-20 22:13:42 CET

Keywords: (none) => advisory, validated_update
CC: (none) => davidwhodgins, sysadmin-bugs

Comment 10 Dave Hodgins 2019-02-20 22:25:27 CET
Sorry, didn't notice comment 9.
Removing the ok/validated.

Keywords: validated_update => (none)
Whiteboard: MGA6-64-OK => (none)

Comment 11 David Walser 2019-02-20 22:54:06 CET
Comment 9 was about the previous version, which is precisely what this update is fixing.

Keywords: (none) => validated_update
Whiteboard: (none) => MGA6-64-OK

Comment 12 Mageia Robot 2019-02-20 23:54:54 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0016.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 13 Dave Hodgins 2019-02-21 00:37:37 CET
Thanks David

Note You need to log in before you can comment on or make changes to this bug.