From owner-freebsd-hackers Wed May 16 23:27:28 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hub.freebsd.org (Postfix) with ESMTP id 64FE437B423 for ; Wed, 16 May 2001 23:27:26 -0700 (PDT) (envelope-from arun@sharmas.dhs.org) Received: from z3 (z3.mirabella.net [192.168.1.2]) by sharmas.dhs.org (Postfix) with SMTP id D33C55E103 for ; Wed, 16 May 2001 23:23:14 -0700 (PDT) From: "Arun Sharma" To: "FreeBSD Hackers" Subject: RE: MxN threads on Linux Date: Wed, 16 May 2001 23:21:29 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <20010516234242.A5242@dan.emsphone.com> Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > In the last episode (May 16), Arun Sharma said: > > Ran into this on freshmeat today: > > > > http://oss.software.ibm.com/developerworks/opensource/pthreads/ > > For those interested, it took me about an hour to write up pth_native_freebsd.c (http://sharmas.dhs.org/~adsharma/pth_native_freebsd.c) to use rfork_thread(). It creates multiple threads just fine, runs for a while and then core dumps. #0 0x2810badd in isatty () from /usr/lib/libc.so.5 #1 0x30 in ?? () #2 0x1 in ?? () #3 0x28079f08 in __DTOR_END__ () from /usr.current/home/adsharma/src/ngpt-0.9.4/.libs/libpthread.so.9 #4 0xe82075c0 in ?? () Any hints on what this could be about ? I think getting a working implementation of thread aware truss/gdb is pretty critical. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message