From owner-freebsd-stable@FreeBSD.ORG Mon Mar 10 17:06:13 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 856C21065674 for ; Mon, 10 Mar 2008 17:06:13 +0000 (UTC) (envelope-from ross.penner@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id 64B678FC1B for ; Mon, 10 Mar 2008 17:06:13 +0000 (UTC) (envelope-from ross.penner@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so1941563wfa.7 for ; Mon, 10 Mar 2008 10:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=lFO+LzUI26Pp/mFttyUjS+LK0u5h1O6zRZ6qLU8XMGw=; b=DX5/BuLPdcaC8/YnvneHy6SsEDs7Q725g6KTPqnwUfI9Trhc4ZAecDRjFm9Rf3v+Z5yUKqv6rkN2zDiqRkAfz2x9lg5AdaDvxeL9olOh+Tfnv02YbK848Ms4jxMk5N1hZkvt+GAb7rl6fBx4jnUnwjsgzlbQXmmHLJbL1otk944= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h7cwIyhPWQBqNUb0mvm+lFG/q5xUv2KXrgWcsnsxFjCOOdmT4Kj6sGp2f2rULRx6HygI7OTiXGNPax4mJAUejEX0l/9bosSGDLVyuRzVS+HV4Xy4Ajr/fRredJWxHy9BDQlI0wSpXXbOkaeXDV0fg5pwpeeHrXjrhdQDP3i1RlE= Received: by 10.142.171.6 with SMTP id t6mr1929389wfe.173.1205168772900; Mon, 10 Mar 2008 10:06:12 -0700 (PDT) Received: by 10.142.242.20 with HTTP; Mon, 10 Mar 2008 10:06:12 -0700 (PDT) Message-ID: Date: Mon, 10 Mar 2008 11:06:12 -0600 From: "Ross Penner" To: "Tom Evans" In-Reply-To: <1205145655.2126.249.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1205145655.2126.249.camel@localhost> Cc: freebsd-stable@freebsd.org Subject: Re: musicpd segfaults on run - was advised that it's an issue with the system X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 17:06:13 -0000 On Mon, Mar 10, 2008 at 4:40 AM, Tom Evans 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