You are not logged in.

#1 2010-06-27 23:19:45

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

mpd update error

just updated mpd and i keep getting a connection refused message when trying to start ncmpcpp.

anyone else see this?

Offline

#2 2010-06-27 23:34:22

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: mpd update error

Did you restart mpd?

Offline

#3 2010-06-27 23:36:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: mpd update error

No issues here with 0.15.10-1

But this thread may help: http://bbs.archlinux.org/viewtopic.php?id=99319


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2010-06-27 23:54:56

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

Re: mpd update error

lucke wrote:

Did you restart mpd?

yes.

when i restart it i can open ncmpcpp but when i try to update the database mpd crashes.

Offline

#5 2010-06-28 00:00:32

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: mpd update error

I noticed earlier this morning faad2 or faac quit being an MPD dependency on my server, despite still being needed by MPD. Do an

ldd /usr/bin/mpd|grep found

If you see libfaa{c,d} or any other lib, please open a bug on flyspray. Strangely enough on my laptop all MPD dependencies are met (faac and faad2 are both listed as dependencies):

[stijn@hermes ~]$ ldd /usr/bin/mpd|grep -E "not|faa"
    libfaad.so.2 => /usr/lib/libfaad.so.2 (0xb76ab000)
    libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb5af2000)

I have a 0.15.10-2 package btw, not -1.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2010-06-28 00:04:03

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

Re: mpd update error

.:B:. wrote:
ldd /usr/bin/mpd|grep found

i get nothing with this


EDIT:

.:B:. wrote:

I have a 0.15.10-2 package btw, not -1.

me too.

Last edited by thelastknowngod (2010-06-28 00:05:36)

Offline

#7 2010-06-28 00:16:39

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: mpd update error

That means all dependencies are satisfied. Try starting the binary directly, so without using the script, and see if it spits out anything. MPD should do some logging too if you set it up correctly.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2010-06-28 00:18:20

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

Re: mpd update error

i started it with mpd --verbose --no-daemon and tried it.

it seg faulted when i tried to update the db.

error log doesnt say anything.

Offline

#9 2010-06-28 00:21:53

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: mpd update error

Just to be sure: you did a full system update, not a selective one?

If after an -Syu mpd still segfaults then I'm afraid that's out of my league.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#10 2010-06-28 00:26:14

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

Re: mpd update error

yeah full system update.

the only thing that i have in IgnoredPkgs is awesome but that shouldnt have any effect on mpd.

Offline

#11 2010-06-28 07:59:00

Cr0k
Member
Registered: 2009-10-16
Posts: 174

Re: mpd update error

My system is full up to date too, and I hadn't any problem with mpd & ncmpcpp hmm

Offline

#12 2010-06-28 08:06:58

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: mpd update error

Same here, fully up to date system

Offline

#13 2010-06-28 12:32:38

laochailan
Member
Registered: 2010-01-08
Posts: 17

Re: mpd update error

I had the same problem. It has to do with the ffmpeg upgrade to version 23792.  Mpd uses other decoders for mp3 or ogg, so it depends on your playlist if you get the segfault or not. However, downgrading ffmpeg solves the problem for now.

This affects mpd-git as well, but there you get an assertion fail instead of a segfault.

Last edited by laochailan (2010-06-28 12:34:31)

Offline

#14 2010-06-28 15:04:18

katafrakt
Member
From: Kraków
Registered: 2010-06-08
Posts: 22

Re: mpd update error

Thanks, laochailan!
Could someone check whether this issue exists with ffmpeg-svn? I tried to but I entered dependency hell wink

Targets (3): ffmpeg-svn  x264-git  libvpx-git
[...]
:: gstreamer0.10-ugly-plugins: requires x264=20100607

Offline

#15 2010-06-28 15:10:27

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: mpd update error

katafrakt wrote:

Thanks, laochailan!
Could someone check whether this issue exists with ffmpeg-svn? I tried to but I entered dependency hell wink

why not? ffmpeg from extra IS a svn snapshot. when using ffmpeg-svn you'll only get couples of revisions more.

Last edited by wonder (2010-06-28 15:11:53)


Give what you have. To someone, it may be better than you dare to think.

Offline

#16 2010-06-28 15:25:50

katafrakt
Member
From: Kraków
Registered: 2010-06-08
Posts: 22

Re: mpd update error

Because it works with 23619 and does not with 23792 so it's hard to guess what with latest snapshot.

Last edited by katafrakt (2010-06-28 15:31:45)

Offline

#17 2010-06-28 19:14:40

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

Re: mpd update error

i reinstalled mpd but still get the same issue.

Offline

#18 2010-06-28 19:48:14

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: mpd update error

Same here. Rebuilding mpd or building ffmpeg from svn did not make a difference. Downgraded ffmpeg for now. Should I open a bug against mpd or ffmpeg? Or any other ideas what exactly is causing this?

Offline

#19 2010-06-28 19:57:28

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: mpd update error

hokasch wrote:

Same here. Rebuilding mpd or building ffmpeg from svn did not make a difference. Downgraded ffmpeg for now. Should I open a bug against mpd or ffmpeg? Or any other ideas what exactly is causing this?

i guess is a bug in mpd and needs to be reported upstream. in the report explain that you got ffmpeg from svn latest revision and that faad support was removed from ffmpeg


Give what you have. To someone, it may be better than you dare to think.

Offline

#20 2010-06-28 19:59:19

mojomagic
Member
Registered: 2009-04-10
Posts: 26

Re: mpd update error

I also have this issue. Well, I can play music but I get a connection refused after I try to update my library.

I tried to rebuild x264 ffmpeg and mpd from ABS in this order, to no avail.

mpd-git doesn't work either.

Offline

#21 2010-06-28 20:44:18

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: mpd update error

Bug report

edit: after some testing, the offending commit should be ffmpeg-23703. arch's package system is just briliant - create folder, check out svn revision, rename to src/package, adjust PKGBUILD, makepkg -e, repeat. quite elegant...

Last edited by hokasch (2010-06-28 22:30:49)

Offline

#22 2010-06-29 00:03:23

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: mpd update error

hokasch wrote:

Bug report

edit: after some testing, the offending commit should be ffmpeg-23703. arch's package system is just briliant - create folder, check out svn revision, rename to src/package, adjust PKGBUILD, makepkg -e, repeat. quite elegant...

thanks a lot of investigating. for now i'll downgrade ffmpeg to the latest version that worked in our repos


Give what you have. To someone, it may be better than you dare to think.

Offline

#23 2010-06-29 08:52:26

mojomagic
Member
Registered: 2009-04-10
Posts: 26

Re: mpd update error

The new ffmpeg update solved it for me.

Offline

#24 2010-06-29 08:55:46

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: mpd update error

you mean the downgrade wink thanks wonder.

Offline

#25 2010-06-29 12:47:39

mojomagic
Member
Registered: 2009-04-10
Posts: 26

Re: mpd update error

hokasch wrote:

you mean the downgrade wink thanks wonder.

No, the repos were updated and with the new ffmpeg mpd works. Unless of course the repos themselves downgraded ffmpeg.

Offline

Board footer

Powered by FluxBB