[pkg-mad-maintainers] Bug#619341: [patch] madplay segfaults and dumps core after playing mp3-files
Ben Winslow
rain at bluecherry.net
Wed Apr 4 04:34:36 UTC 2012
Package: madplay
Version: 0.15.2b-7
Severity: normal
Tags: patch
The ALSA audio output code allocates a PCM buffer based on whatever the current
ALSA buffer size happens to be rather than what madplay's audio code wants
to write to it.
The attached patch always allocates the maximum (55296 bytes), which parallels
the behavior of the OSS output code. It fixes the crashes for me.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.1 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages madplay depends on:
ii libasound2 1.0.24.1-4 shared library for ALSA applicatio
ii libc6 2.13-27 Embedded GNU C Library: Shared lib
ii libesd0 0.2.41-10 Enlightened Sound Daemon - Shared
ii libid3tag0 0.15.1b-10 ID3 tag reading library from the M
ii libmad0 0.15.1b-7 MPEG audio decoder library
madplay recommends no packages.
madplay suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: madplay-alsa-bufsize-fix.diff
Type: text/x-diff
Size: 448 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mad-maintainers/attachments/20120404/8eaee570/attachment.diff>
More information about the pkg-mad-maintainers
mailing list