Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383503 - media-sound/mpd-0.16.4 skips song after restart
Summary: media-sound/mpd-0.16.4 skips song after restart
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Christoph Mende (RETIRED)
URL: http://musicpd.org/mantis/view.php?id...
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2011-09-18 15:06 UTC by Andrey
Modified: 2011-10-21 17:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2011-09-18 15:06:03 UTC
After reboot computer or after run "/etc/init.d/mpd restart" mpd skips the current song and plays next one

Reproducible: Always

Steps to Reproduce:
restart mpd or reboot computer
Actual Results:  
mpd skip the current song

Expected Results:  
mpd continues to play the current song

I use default mpd config with changed music directory

$ emerge --info
Portage 2.1.10.18 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.4 x86_64)
=================================================================
System uname: Linux-3.0.4-x86_64-Pentium-R-_Dual-Core_CPU_T4400_@_2.20GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 18 Sep 2011 14:30:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.2-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo xorik xorik-link
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --fail-clean=y"
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks ebuild-locks fail-clean fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles "
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/xorik /usr/local/portage/xorik-link"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 automount bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran fuse gdbm gdu gif gimp gnome gnome-keyring gpm gtk iconv idn ipv6 jpeg laptop lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline samba sdl session spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb userlocales v4l v4l2 vorbis wifi x264 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="authz_host dir alias mime rewrite vhost_alias auth_digest authn_file authz_groupfile dav dav_fs" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1018" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i810 i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 octoploid 2011-09-30 17:56:40 UTC
Same thing here.
There is patch (mpd_shorter.patch) attached to this bug: 
http://musicpd.org/mantis/view.php?id=3353
After applying it, the issue is gone.
Comment 2 Andrey 2011-10-11 07:16:53 UTC
>octoploid
Thank you for patch, I make ebuild with patch and problem solved.
But why this bug is not fixing in upstream?
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2011-10-11 07:38:33 UTC
(In reply to comment #2)
> >octoploid
> Thank you for patch, I make ebuild with patch and problem solved.
> But why this bug is not fixing in upstream?

The last commend on the upstream bug says that this patch you are using is a workaround and a real patch will be available soon. So as a reminder to Christoph and me, we won't fix this bug until upstream fixes it first ;)
Comment 4 Andrey 2011-10-21 13:06:38 UTC
fixed in git
Comment 5 Christoph Mende (RETIRED) gentoo-dev 2011-10-21 13:46:19 UTC
Yeah, please stop closing bugs. We'll do that as soon as it's fixed in Gentoo.
Comment 6 Christoph Mende (RETIRED) gentoo-dev 2011-10-21 14:10:16 UTC
Upstream just told me that this specific bug (the one linked) was never present in the 0.16 branch, which means that the patch doesn't apply.
He also mentioned other seeking issues that were present in 0.16.4 that were fixed in 0.16.5 though, so please test that version and report back here.
Comment 7 Andrey 2011-10-21 16:14:44 UTC
Bug fixed in mpd-0.16.5, thank you for helping
Comment 8 Christoph Mende (RETIRED) gentoo-dev 2011-10-21 17:19:29 UTC
Closing then