From owner-freebsd-threads@FreeBSD.ORG Mon Feb 25 11:07:13 2008 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA25416A406 for ; Mon, 25 Feb 2008 11:07:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B721A13C4CE for ; Mon, 25 Feb 2008 11:07:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1PB7DI3033139 for ; Mon, 25 Feb 2008 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1PB7Dmn033135 for freebsd-threads@FreeBSD.org; Mon, 25 Feb 2008 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 25 Feb 2008 11:07:13 GMT Message-Id: <200802251107.m1PB7Dmn033135@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-threads@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-threads@FreeBSD.org X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 11:07:13 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s threa/76690 threads fork hang in child for -lc_r 1 problem total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s threa/24472 threads libc_r does not honor SO_SNDTIMEO/SO_RCVTIMEO socket o s threa/24632 threads libc_r delicate deviation from libc in handling SIGCHL s bin/32295 threads pthread dont dequeue signals s threa/34536 threads accept() blocks other threads f kern/38549 threads the procces compiled whith pthread stopped in pthread_ s threa/39922 threads [threads] [patch] Threaded applications executed with s threa/48856 threads Setting SIGCHLD to SIG_IGN still leaves zombies under s threa/49087 threads Signals lost in programs linked with libc_r o threa/70975 threads unexpected and unreliable behaviour when using SYSV se o threa/72953 threads fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYST o threa/75273 threads FBSD 5.3 libpthread (KSE) bug o threa/75374 threads pthread_kill() ignores SA_SIGINFO flag s threa/76694 threads fork cause hang in dup()/close() function in child (-l o threa/79683 threads svctcp_create() fails if multiple threads call at the o threa/80435 threads panic on high loads o threa/83914 threads [libc] popen() doesn't work in static threaded program s threa/84483 threads problems with devel/nspr and -lc_r on 4.x s threa/94467 threads send(), sendto() and sendmsg() are not correct in libc s threa/100815 threads FBSD 5.5 broke nanosleep in libc_r o threa/101323 threads fork(2) in threaded programs broken. o threa/103975 threads Implicit loading/unloading of libpthread.so may crash o threa/110636 threads [request] gdb(1): using gdb with multi thread applicat o threa/118715 threads kse problem o threa/119920 threads [patch] fork broken in libpthread 24 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s threa/30464 threads pthread mutex attributes -- pshared s threa/37676 threads libc_r: msgsnd(), msgrcv(), pread(), pwrite() need wra s threa/40671 threads pthread_cancel doesn't remove thread from condition qu s threa/69020 threads pthreads library leaks _gc_mutex o threa/79887 threads [patch] freopen() isn't thread-safe o threa/80992 threads abort() sometimes not caught by gdb depending on threa o threa/110306 threads apache 2.0 segmentation violation when calling gethost o threa/115211 threads pthread_atfork misbehaves in initial thread o threa/116181 threads /dev/io-related io access permissions are not propagat o threa/116668 threads can no longer use jdk15 with libthr on -stable SMP 10 problems total. From owner-freebsd-threads@FreeBSD.ORG Tue Feb 26 23:05:00 2008 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 006A6106567A for ; Tue, 26 Feb 2008 23:04:59 +0000 (UTC) (envelope-from landonf@bikemonkey.org) Received: from secure.bikemonkey.org (bluefish.bikemonkey.org [69.80.211.101]) by mx1.freebsd.org (Postfix) with ESMTP id C1D9213C469 for ; Tue, 26 Feb 2008 23:04:59 +0000 (UTC) (envelope-from landonf@bikemonkey.org) Received: from [192.168.54.11] (unknown [192.168.54.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by secure.bikemonkey.org (Postfix) with ESMTP id 4B1B41703B; Tue, 26 Feb 2008 15:04:59 -0800 (PST) In-Reply-To: <47A20CB2.1010508@elischer.org> References: <200801240850.m0O8o2JQ023500@freefall.freebsd.org> <4798564B.7070500@elischer.org> <488DBC6A-CF33-4E50-B1BB-C396C8957F92@bikemonkey.org> <892A73B3-0114-4718-ABC0-CADD45D9D0FA@bikemonkey.org> <47A0D2DE.9060005@elischer.org> <35535E7A-0804-4DAD-B0A0-CCF9EE7060B0@bikemonkey.org> <47A18DCD.2070101@elischer.org> <01819294-7795-493D-A054-D4ACEC8706D6@bikemonkey.org> <47A20CB2.1010508@elischer.org> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-35-274109948" Message-Id: <77E0243C-4B4E-4809-AF31-084A83CB4DBE@bikemonkey.org> From: Landon Fuller Date: Tue, 26 Feb 2008 15:04:52 -0800 To: Julian Elischer Content-Transfer-Encoding: 7bit X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.753) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-threads@freebsd.org Subject: Re: threads/119920: fork broken in libpthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2008 23:05:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-35-274109948 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Jan 31, 2008, at 10:00, Julian Elischer wrote: > ok that's more what I was expecting.. > lets's see if we can get this in RELENG_6 (and errata for 6.3) > and ensure it is in 7.0 Howdy, Is a 6.3 errata for this still pending, or is there anything I can do to help assemble the errata notice/etc ? Cheers, -landonf --Apple-Mail-35-274109948 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFHxJsUlplZCE/15mMRAmaaAJ9rR4gFIbAAywU3hDJCrCnQp0WJWQCfQDa/ iEZkEgSQYaBYX9qc/301Neg= =3i/o -----END PGP SIGNATURE----- --Apple-Mail-35-274109948-- From owner-freebsd-threads@FreeBSD.ORG Wed Feb 27 04:52:07 2008 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3048106566B for ; Wed, 27 Feb 2008 04:52:07 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outC.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8C3A713C45E for ; Wed, 27 Feb 2008 04:52:07 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Tue, 26 Feb 2008 20:52:06 -0800 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id DE2AB127356; Tue, 26 Feb 2008 20:52:05 -0800 (PST) Message-ID: <47C4EC84.5090803@elischer.org> Date: Tue, 26 Feb 2008 20:52:20 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Landon Fuller References: <200801240850.m0O8o2JQ023500@freefall.freebsd.org> <4798564B.7070500@elischer.org> <488DBC6A-CF33-4E50-B1BB-C396C8957F92@bikemonkey.org> <892A73B3-0114-4718-ABC0-CADD45D9D0FA@bikemonkey.org> <47A0D2DE.9060005@elischer.org> <35535E7A-0804-4DAD-B0A0-CCF9EE7060B0@bikemonkey.org> <47A18DCD.2070101@elischer.org> <01819294-7795-493D-A054-D4ACEC8706D6@bikemonkey.org> <47A20CB2.1010508@elischer.org> <77E0243C-4B4E-4809-AF31-084A83CB4DBE@bikemonkey.org> In-Reply-To: <77E0243C-4B4E-4809-AF31-084A83CB4DBE@bikemonkey.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-threads@freebsd.org, re@freebsd.org Subject: Re: threads/119920: fork broken in libpthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 04:52:07 -0000 Landon Fuller wrote: > > On Jan 31, 2008, at 10:00, Julian Elischer wrote: > >> ok that's more what I was expecting.. >> >> lets's see if we can get this in RELENG_6 (and errata for 6.3) >> >> and ensure it is in 7.0 >> > > Howdy, > > Is a 6.3 errata for this still pending, or is there anything I can do > to help assemble the errata notice/etc ? I'm still waiting to hear from re/security about whether an errata can be made. > > Cheers, > -landonf From owner-freebsd-threads@FreeBSD.ORG Wed Feb 27 14:32:42 2008 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 691AA1065679 for ; Wed, 27 Feb 2008 14:32:42 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from phoebe.cse.buffalo.edu (phoebe.cse.buffalo.edu [128.205.32.89]) by mx1.freebsd.org (Postfix) with ESMTP id 18A948FC29 for ; Wed, 27 Feb 2008 14:32:36 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from [128.205.32.76] (bauer.cse.buffalo.edu [128.205.32.76]) (authenticated bits=0) by phoebe.cse.buffalo.edu (8.14.1/8.13.7) with ESMTP id m1RDrdbH043561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Feb 2008 08:53:41 -0500 (EST) (envelope-from kensmith@cse.buffalo.edu) From: Ken Smith To: Julian Elischer In-Reply-To: <47C4EC84.5090803@elischer.org> References: <200801240850.m0O8o2JQ023500@freefall.freebsd.org> <4798564B.7070500@elischer.org> <488DBC6A-CF33-4E50-B1BB-C396C8957F92@bikemonkey.org> <892A73B3-0114-4718-ABC0-CADD45D9D0FA@bikemonkey.org> <47A0D2DE.9060005@elischer.org> <35535E7A-0804-4DAD-B0A0-CCF9EE7060B0@bikemonkey.org> <47A18DCD.2070101@elischer.org> <01819294-7795-493D-A054-D4ACEC8706D6@bikemonkey.org> <47A20CB2.1010508@elischer.org> <77E0243C-4B4E-4809-AF31-084A83CB4DBE@bikemonkey.org> <47C4EC84.5090803@elischer.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-x8gBeruH/I+mb9UH4YXd" Organization: U. Buffalo CSE Department Date: Wed, 27 Feb 2008 08:53:39 -0500 Message-Id: <1204120419.14471.1.camel@bauer.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port X-DCC-Buffalo.EDU-Metrics: phoebe.cse.buffalo.edu 1336; Body=0 Fuz1=0 Fuz2=0 X-Spam-Status: No, score=1.8 required=5.0 tests=MIME_QP_LONG_LINE autolearn=no version=3.2.3 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on phoebe.cse.buffalo.edu Cc: freebsd-threads@freebsd.org, re@freebsd.org Subject: Re: threads/119920: fork broken in libpthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 14:32:42 -0000 --=-x8gBeruH/I+mb9UH4YXd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-02-26 at 20:52 -0800, Julian Elischer wrote: > Landon Fuller wrote: > >=20 > > On Jan 31, 2008, at 10:00, Julian Elischer wrote: > >=20 > >> ok that's more what I was expecting.. > >> > >> lets's see if we can get this in RELENG_6 (and errata for 6.3) > >> > >> and ensure it is in 7.0 > >> > >=20 > > Howdy, > >=20 > > Is a 6.3 errata for this still pending, or is there anything I can do=20 > > to help assemble the errata notice/etc ? >=20 > I'm still waiting to hear from re/security > about whether an errata can be made. >=20 We will make an errata of it. Sorry for the delay but we've been a bit more focused on getting 7.0 wrapped up and I just haven't been able to make the time to think about this quite yet. It's first thing in my queue for when 7.0's done. Sorry. --=20 Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --=-x8gBeruH/I+mb9UH4YXd 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) iD8DBQBHxWtc/G14VSmup/YRAuhvAKCJ2dcad7oj6VKpLvctEPecka2jogCgkU2b /3RFoCBmLZJo6X2viON1Z7U= =LqD6 -----END PGP SIGNATURE----- --=-x8gBeruH/I+mb9UH4YXd-- From owner-freebsd-threads@FreeBSD.ORG Fri Feb 29 02:18:55 2008 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0F9F1065674; Fri, 29 Feb 2008 02:18:55 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 71AD18FC13; Fri, 29 Feb 2008 02:18:55 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1T2ItXk030210; Fri, 29 Feb 2008 02:18:55 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1T2IsJs030184; Fri, 29 Feb 2008 02:18:54 GMT (envelope-from linimon) Date: Fri, 29 Feb 2008 02:18:54 GMT Message-Id: <200802290218.m1T2IsJs030184@freefall.freebsd.org> To: bsd@ask-us.at, linimon@FreeBSD.org, freebsd-threads@FreeBSD.org, deischen@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: threads/119920: [patch] fork broken in libpthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 02:18:55 -0000 Synopsis: [patch] fork broken in libpthread State-Changed-From-To: open->patched State-Changed-By: linimon State-Changed-When: Fri Feb 29 02:17:15 UTC 2008 State-Changed-Why: Has been MFCed to RELENG_7, but may still need MFC to RELENG_6? Responsible-Changed-From-To: freebsd-threads->deischen Responsible-Changed-By: linimon Responsible-Changed-When: Fri Feb 29 02:17:15 UTC 2008 Responsible-Changed-Why: Assign to patch committer. http://www.freebsd.org/cgi/query-pr.cgi?pr=119920 From owner-freebsd-threads@FreeBSD.ORG Fri Feb 29 02:34:16 2008 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0190A106566C for ; Fri, 29 Feb 2008 02:34:16 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outS.internet-mail-service.net (outS.internet-mail-service.net [216.240.47.242]) by mx1.freebsd.org (Postfix) with ESMTP id D9D1F8FC18 for ; Fri, 29 Feb 2008 02:34:15 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Thu, 28 Feb 2008 18:34:15 -0800 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 630562D6012; Thu, 28 Feb 2008 18:34:13 -0800 (PST) Message-ID: <47C76F37.80806@elischer.org> Date: Thu, 28 Feb 2008 18:34:31 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: linimon@FreeBSD.org References: <200802290218.m1T2IsJs030184@freefall.freebsd.org> In-Reply-To: <200802290218.m1T2IsJs030184@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: deischen@FreeBSD.org, bsd@ask-us.at, freebsd-threads@FreeBSD.org Subject: Re: threads/119920: [patch] fork broken in libpthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 02:34:16 -0000 linimon@FreeBSD.org wrote: > Synopsis: [patch] fork broken in libpthread > > State-Changed-From-To: open->patched > State-Changed-By: linimon > State-Changed-When: Fri Feb 29 02:17:15 UTC 2008 > State-Changed-Why: > Has been MFCed to RELENG_7, but may still need MFC to RELENG_6? > > > Responsible-Changed-From-To: freebsd-threads->deischen > Responsible-Changed-By: linimon > Responsible-Changed-When: Fri Feb 29 02:17:15 UTC 2008 > Responsible-Changed-Why: > Assign to patch committer. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=119920 > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" it was MFC'd to 6 but missed 6.3. it is awaiting an errata notice for 6.3. From owner-freebsd-threads@FreeBSD.ORG Fri Feb 29 23:27:41 2008 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FEF3106566B for ; Fri, 29 Feb 2008 23:27:41 +0000 (UTC) (envelope-from ddouville@ncircle.com) Received: from mail.ncircle.com (mail.ncircle.com [64.84.9.150]) by mx1.freebsd.org (Postfix) with ESMTP id 241C18FC1E for ; Fri, 29 Feb 2008 23:27:40 +0000 (UTC) (envelope-from ddouville@ncircle.com) Received: from [192.168.40.116] (dhcp-40-116.eng.ncircle.com [192.168.40.116]) by mail.ncircle.com (8.14.2/8.14.2) with ESMTP id m1TN3MPY018828 for ; Fri, 29 Feb 2008 15:03:22 -0800 (PST) (envelope-from ddouville@ncircle.com) Message-ID: <47C88F3A.3020306@ncircle.com> Date: Fri, 29 Feb 2008 15:03:22 -0800 From: Derek Douville User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: freebsd-threads@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.245 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 64.84.9.150 Subject: Problem with 7.0-RELEASE amd64 lib32/libthr.so support of libpthread.so 32-bit binaries X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 23:27:41 -0000 Hi everyone, I need some help with threading lib32 compat programs under 7.0, which is supposed to fix a lot of broken areas of 6.x. We ran into 32bit-compat threading issues under 6.2 amd64 and started testing 7.0-RELEASE today to see if we can get a 32-bit program that was compiled with -pthread to execute successfully. So far, this is my environment: (a) FreeBSD 7.0-RELEASE amd64 installed with lib32 compatibility (b) /usr/ports/compat6x installed (c) /etc/libmap32.conf is empty The test code that revealed the threading issues under 6.x is this: ghost# cat pthread-crash.c #include #include void *thread(void *data) { puts("Thread."); return NULL; } int main() { pthread_t pth; void *pv; pthread_create(&pth,NULL,thread,NULL); pthread_join(pth,&pv); return 0; } ghost# file pthread-crash pthread-crash: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), not stripped This code, when compiled natively on FreeBSD 6.2 i386 with -pthread, or on an amd64 platform using -m32, yields the following error messages from my amd64-bit test system (described above): ghost# ./pthread-crash Fatal error 'can not create signal daemon thread! ' at line 236 in file /usr/src/lib/libpthread/thread/thr_sig.c (errno = 22) Abort (core dumped) (gdb) bt #0 0x2809bacb in pthread_testcancel () from /usr/local/lib32/compat/libpthread.so.2 #1 0x28089972 in sigaction () from /usr/local/lib32/compat/libpthread.so.2 #2 0x28082cb9 in pthread_kill () from /usr/local/lib32/compat/libpthread.so.2 #3 0x28082534 in raise () from /usr/local/lib32/compat/libpthread.so.2 #4 0x2817162c in abort () from /usr/local/lib32/compat/libc.so.6 #5 0x2809c2fd in pthread_testcancel () from /usr/local/lib32/compat/libpthread.so.2 #6 0x28087685 in sigaction () from /usr/local/lib32/compat/libpthread.so.2 #7 0x2809232c in pthread_mutexattr_init () from /usr/local/lib32/compat/libpthread.so.2 #8 0x2808b410 in pthread_create () from /usr/local/lib32/compat/libpthread.so.2 #9 0x0804861e in main () Any help or feedback is greatly appreciated. -Derek -- Derek Douville (derek at ncircle.com) Senior Platform Engineer nCircle Network Security W: +1-415-625-5990 YIM: douvilld From owner-freebsd-threads@FreeBSD.ORG Fri Feb 29 23:38:24 2008 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 576B61065670 for ; Fri, 29 Feb 2008 23:38:24 +0000 (UTC) (envelope-from ddouville@ncircle.com) Received: from mail.ncircle.com (mail.ncircle.com [64.84.9.150]) by mx1.freebsd.org (Postfix) with ESMTP id 2A6D08FC17 for ; Fri, 29 Feb 2008 23:38:24 +0000 (UTC) (envelope-from ddouville@ncircle.com) Received: from [192.168.40.116] (dhcp-40-116.eng.ncircle.com [192.168.40.116]) by mail.ncircle.com (8.14.2/8.14.2) with ESMTP id m1TNcIEZ077909 for ; Fri, 29 Feb 2008 15:38:18 -0800 (PST) (envelope-from ddouville@ncircle.com) Message-ID: <47C8976A.4020502@ncircle.com> Date: Fri, 29 Feb 2008 15:38:18 -0800 From: Derek Douville User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: freebsd-threads@freebsd.org References: <47C88F3A.3020306@ncircle.com> In-Reply-To: <47C88F3A.3020306@ncircle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.399 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 64.84.9.150 Subject: Re: Problem with 7.0-RELEASE amd64 lib32/libthr.so support of libpthread.so 32-bit binaries X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 23:38:24 -0000 Life is funny in that when you finally decide to ask the last-line of defense for help, you come across the solution. I discovered I needed to map libpthread.so.2 to libthr.so.2 (it was linked to version 3, which is what caused the backtrace below). I hope this helps someone else in the future. Thanks! -Derek Derek Douville wrote: > Hi everyone, > > I need some help with threading lib32 compat programs under 7.0, which > is supposed to fix a lot of broken areas of 6.x. We ran into > 32bit-compat threading issues under 6.2 amd64 and started testing > 7.0-RELEASE today to see if we can get a 32-bit program that was > compiled with -pthread to execute successfully. So far, this is my > environment: > > (a) FreeBSD 7.0-RELEASE amd64 installed with lib32 compatibility > (b) /usr/ports/compat6x installed > (c) /etc/libmap32.conf is empty > > The test code that revealed the threading issues under 6.x is this: > > ghost# cat pthread-crash.c > #include > #include > > void *thread(void *data) { > puts("Thread."); > return NULL; > } > > int main() { > pthread_t pth; > void *pv; > pthread_create(&pth,NULL,thread,NULL); > pthread_join(pth,&pv); > return 0; > } > > ghost# file pthread-crash > pthread-crash: ELF 32-bit LSB executable, Intel 80386, version 1 > (FreeBSD), dynamically linked (uses shared libs), not stripped > > This code, when compiled natively on FreeBSD 6.2 i386 with -pthread, > or on an amd64 platform using -m32, yields the following error > messages from my amd64-bit test system (described above): > > ghost# ./pthread-crash > Fatal error 'can not create signal daemon thread! > ' at line 236 in file /usr/src/lib/libpthread/thread/thr_sig.c (errno > = 22) > Abort (core dumped) > > (gdb) bt > #0 0x2809bacb in pthread_testcancel () > from /usr/local/lib32/compat/libpthread.so.2 > #1 0x28089972 in sigaction () from > /usr/local/lib32/compat/libpthread.so.2 > #2 0x28082cb9 in pthread_kill () from > /usr/local/lib32/compat/libpthread.so.2 > #3 0x28082534 in raise () from /usr/local/lib32/compat/libpthread.so.2 > #4 0x2817162c in abort () from /usr/local/lib32/compat/libc.so.6 > #5 0x2809c2fd in pthread_testcancel () > from /usr/local/lib32/compat/libpthread.so.2 > #6 0x28087685 in sigaction () from > /usr/local/lib32/compat/libpthread.so.2 > #7 0x2809232c in pthread_mutexattr_init () > from /usr/local/lib32/compat/libpthread.so.2 > #8 0x2808b410 in pthread_create () from > /usr/local/lib32/compat/libpthread.so.2 > #9 0x0804861e in main () > > Any help or feedback is greatly appreciated. > > -Derek > -- Derek Douville (derek@ncircle.com) Senior Platform Engineer nCircle Network Security W: +1-415-625-5990 YIM: douvilld From owner-freebsd-threads@FreeBSD.ORG Sat Mar 1 20:05:24 2008 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A5B21065784; Sat, 1 Mar 2008 20:05:24 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2970B8FC12; Sat, 1 Mar 2008 20:04:18 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m21K4IHr004991; Sat, 1 Mar 2008 20:04:18 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m21K3Bwe004938; Sat, 1 Mar 2008 20:03:11 GMT (envelope-from linimon) Date: Sat, 1 Mar 2008 20:03:11 GMT Message-Id: <200803012003.m21K3Bwe004938@freefall.freebsd.org> To: relos@tssm.kirov.ru, linimon@FreeBSD.org, freebsd-threads@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/38549: the procces compiled whith pthread stopped in pthread_poll if system date change to lower date X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 20:05:24 -0000 Synopsis: the procces compiled whith pthread stopped in pthread_poll if system date change to lower date State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Sat Mar 1 20:02:41 UTC 2008 State-Changed-Why: libc_r is no longer supported on FreeBSD. Sorry and thanks for the PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=38549