From owner-freebsd-current@FreeBSD.ORG Sun Jun 4 23:05:14 2006 Return-Path: X-Original-To: current@freebsd.org 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 B044316ABC5 for ; Sun, 4 Jun 2006 23:05:14 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7324443D60 for ; Sun, 4 Jun 2006 23:05:05 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k54N53OC003865; Sun, 4 Jun 2006 19:05:04 -0400 (EDT) Date: Sun, 4 Jun 2006 19:05:03 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: John Hay In-Reply-To: <20060604191000.GA67836@zibbi.meraka.csir.co.za> Message-ID: References: <20060604075414.GA47483@zibbi.meraka.csir.co.za> <20060604082335.GB76919@over-yonder.net> <20060604153210.GA60476@zibbi.meraka.csir.co.za> <20060604174315.GA64158@zibbi.meraka.csir.co.za> <20060604191000.GA67836@zibbi.meraka.csir.co.za> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: current@freebsd.org Subject: Re: libpthread.so.2 compatibility X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 23:05:14 -0000 On Sun, 4 Jun 2006, John Hay wrote: > On Sun, Jun 04, 2006 at 02:26:51PM -0400, Daniel Eischen wrote: >> On Sun, 4 Jun 2006, John Hay wrote: >> >>> Actually one does not even need a big complex app to see the problem. >>> Just copy /sbin/ggatec from 6.1 or 6.1-stable to a current box and you >>> will see it happen: >>> >>> ####### >>> angel:~ > uname -a >>> FreeBSD angel.cids.org.za 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sun May 28 >>> 11:06:16 SAST 2006 >>> jhay@angel.cids.org.za:/usr/src/sys/i386/compile/ANGEL i386 >>> angel:~ > ssh zibbi "uname -a" >>> FreeBSD zibbi.meraka.csir.co.za 6.1-STABLE FreeBSD 6.1-STABLE #4: Thu May >>> 25 06:11:44 SAST 2006 >>> jhay@zibbi.meraka.csir.co.za:/usr/src/sys/i386/compile/ZIBBI i386 >>> angel:~ > scp -p zibbi:/sbin/ggatec /tmp/ >>> ggatec 100% 16KB 8.1KB/s 00:02 >>> angel:~ > /tmp/ggatec >>> Segmentation fault (core dumped) >>> ####### >> >> It is probably the networking ABI changes in libc. There was a short period >> of time when there were ABI changes in libc.so.6 in -current -- before libc >> was bumped to libc.so.7. What happens when you try moving a -stable >> libc.so.6 >> to the -current machine? > > Ok, I did that but it still core dump in pthread_setcancelstate() I don't know then. If recompiling it fixes the problem, then something in /usr/include changed. All the pthread_foo_t types are pointers to things allocated by the library, and I don't think any of them changed anyways. -- DE