Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2008 10:40:55 +0000
From:      Tom Evans <tevans.uk@googlemail.com>
To:        Ross Penner <ross.penner@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: musicpd segfaults on run - was advised that it's an issue with the system
Message-ID:  <1205145655.2126.249.camel@localhost>
In-Reply-To: <f80199c40803072207p76ee8757t5e42dcb8fd3946da@mail.gmail.com>
References:  <f80199c40803072207p76ee8757t5e42dcb8fd3946da@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-6+/SfnwtNovlIVZFmDIN
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2008-03-07 at 23:07 -0700, Ross Penner wrote:
> Hi,
>=20
> 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.
>=20
> 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:
>=20
> #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?)
>=20
>=20
> 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

--=-6+/SfnwtNovlIVZFmDIN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBH1RAslcRvFfyds/cRAi0eAJ9TQBFcmYAO7j6Yr3W8w+/3He/yVACfRyM+
DzQ7ETA36K03S/eKAdkwvDk=
=aZS7
-----END PGP SIGNATURE-----

--=-6+/SfnwtNovlIVZFmDIN--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1205145655.2126.249.camel>