From owner-freebsd-current@FreeBSD.ORG Fri Feb 6 07:20:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39A4916A4CE for ; Fri, 6 Feb 2004 07:20:43 -0800 (PST) Received: from mailhub.sweetdreamsracing.biz (mailhub.sweetdreamsracing.biz [66.92.171.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84B2B43D41 for ; Fri, 6 Feb 2004 07:20:29 -0800 (PST) (envelope-from culverk@sweetdreamsracing.biz) Received: by mailhub.sweetdreamsracing.biz (Postfix, from userid 80) id B46B01F6; Fri, 6 Feb 2004 10:23:35 -0500 (EST) Received: from 141.156.69.109 ([141.156.69.109]) by www.sweetdreamsracing.biz (Horde) with HTTP for ; Fri, 6 Feb 2004 10:23:35 -0500 Message-ID: <20040206102335.vegaokwkcgswsc0c@www.sweetdreamsracing.biz> Date: Fri, 6 Feb 2004 10:23:35 -0500 From: Kenneth Culver To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs Subject: python bittorrent broken with feb 5 (libpthread) freebsd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 15:20:43 -0000 As the subject says, python bittorrent is broken when linked to libpthread. If I force python to link to libc_r in /etc/libmap.conf, it works fine. Here is the output of an ldd on python before libmap.conf changes: /usr/local/bin/python: libpthread.so.1 => /usr/lib/libpthread.so.1 (0x28112000) libutil.so.4 => /lib/libutil.so.4 (0x28135000) libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x28140000) libm.so.2 => /lib/libm.so.2 (0x281f2000) libc.so.5 => /lib/libc.so.5 (0x2820a000) It doesn't link to both libc_r and libpthread, so this looks like a bug in libpthread. I'm not sure what other info to give here, so if someone wants to tell me what other info is necessary to help fix this problem, let me know. All that needs done to reproduce this problem is try to use the bittorrent curses client to download anything. It gets stuck at "connecting to peers" and won't respond to a ctrl-c. Ken