musicpd segfaults on run - was advised that it's an issue with
the system
Ross Penner
ross.penner at gmail.com
Mon Mar 10 17:06:13 UTC 2008
On Mon, Mar 10, 2008 at 4:40 AM, Tom Evans <tevans.uk at googlemail.com> wrote:
>
> On Fri, 2008-03-07 at 23:07 -0700, Ross Penner wrote:
> > Hi,
> >
> > I've recently run the upgrade gamut and moved from 6.3 to 7.0. I've
> > had a few hick ups but this one I can't resolve. I used musicpd
> > (http://www.freshports.org/audio/musicpd/) on 6.3 to stream to a
> > shoutcast server. When I start mpd on 7.0, it immediately has a
> > segmentation fault and dumps its core.
> >
> > I discussed the issue in the musicpd irc channel and I was advised
> > that it seemed like it was an issue with the system, not with musicpd.
> > Since upgrading to 7.0, I've reinstalled all my ports and since
> > discovering the problem, I've reinstalled musicpd specifically. The
> > backtrace from gdb is as follows:
> >
> > #0 0x28140b15 in pthread_setcancelstate () from /lib/libthr.so.3
> > #1 0x281388ac in open () from /lib/libthr.so.3
> > #2 0x286ac269 in __stack_chk_fail () from /lib/libssp.so.0
> > #3 0x00000000 in ?? ()
> > #4 0xbfbfe6a8 in ?? ()
> > #5 0x28084ead in _rtld_thread_init () from /libexec/ld-elf.so.1
> > Previous frame inner to this frame (corrupt stack?)
> >
> >
> > Any help or direction I can get to finding the solution to this
> > problem would be greatly appreciated.
>
> musicpd doesn't really like playing with libthr. I find remapping libthr
> using /etc/libmap.conf is an adequate workaround on 7.0.
>
> [/usr/local/bin/mpd]
> libthr.so.3 libpthread.so.2
>
> FYI, with this setup, mpd plays nicely with icecast on 7.0
>
> Tom
>
I'm trying this and I'm getting a problem with libmap:
> > #0 0x28140b15 in pthread_setcancelstate () from /lib/libthr.so.3
> > #1 0x281388ac in open () from /lib/libthr.so.3
> > #2 0x286ac269 in __stack_chk_fail () from /lib/libssp.so.0
> > #3 0x00000000 in ?? ()
> > #4 0xbfbfe6a8 in ?? ()
> > #5 0x28084ead in _rtld_thread_init () from /libexec/ld-elf.so.1
> > Previous frame inner to this frame (corrupt stack?)
> >
> >
> > Any help or direction I can get to finding the solution to this
> > problem would be greatly appreciated.
>
> musicpd doesn't really like playing with libthr. I find remapping libthr
> using /etc/libmap.conf is an adequate workaround on 7.0.
>
> [/usr/local/bin/mpd]
> libthr.so.3 libpthread.so.2
>
> FYI, with this setup, mpd plays nicely with icecast on 7.0
>
> Tom
>
I'm trying this and I'm getting a problem with libmap.
rosbox# /usr/local/etc/rc.d/musicpd start
Starting musicpd.
/libexec/ld-elf.so.1: /lib/libpthread.so.2: version FBSD_1.0 required
by /usr/local/bin/mpd not found
I'm not sure how to proceed to fix this problem.
Thanks for the help,
Ross
More information about the freebsd-stable
mailing list