From owner-freebsd-current Thu Aug 12 1:55:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (Postfix) with ESMTP id 43AF9155AA for ; Thu, 12 Aug 1999 01:55:43 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.3/8.9.1) id SAA11622; Thu, 12 Aug 1999 18:58:39 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199908120858.SAA11622@cimlogic.com.au> Subject: Re: Bus error in isatty() from /usr/lib/libc.so.3 In-Reply-To: <19990811221242.B70843@desert.net> from Thimble Smith at "Aug 11, 1999 10:12:42 pm" To: tim@desert.net (Thimble Smith) Date: Thu, 12 Aug 1999 18:58:39 +1000 (EST) Cc: freebsd-current@FreeBSD.ORG (FreeBSD-current List) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thimble Smith wrote: > Hello. I have a reproducable problem which gdb says is ending up at > 0x2818d862 in isatty() from /usr/lib/libc.so.3. A full back trace is > below. If this is a problem in FreeBSD, I'm very glad to do any > experiments that might be helpful. If it's a problem somewhere else, > any pointers on what I might do next would be great. [...] > #1 0x2818db22 in isatty () from /usr/lib/libc.so.3 > #2 0x2818e1de in malloc () from /usr/lib/libc.so.3 > #3 0x28236e88 in _thread_fd_table_init () from /usr/lib/libc_r.so.4 > #4 0x28238056 in _thread_fd_lock_debug () from /usr/lib/libc_r.so.4 You are linking against both libc _and_ libc_r. "Don't do that!" -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message