From owner-freebsd-current@FreeBSD.ORG Sun Aug 24 09:55:56 2003 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 0293516A4BF; Sun, 24 Aug 2003 09:55:56 -0700 (PDT) Received: from newsguy.com (smtp.newsguy.com [129.250.170.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65CCB43F93; Sun, 24 Aug 2003 09:55:55 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (200-140-081-245.bsace7025.dsl.brasiltelecom.net.br [200.140.81.245]) by newsguy.com (8.9.1p2/8.9.1) with ESMTP id JAA12104; Sun, 24 Aug 2003 09:55:50 -0700 (PDT) Message-ID: <3F48EE11.5070806@newsguy.com> Date: Sun, 24 Aug 2003 13:55:45 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en,pt-BR,pt,en-GB,en-US,ja MIME-Version: 1.0 To: Arjan van Leeuwen References: <200308241655.40626.avleeuwen@piwebs.com> In-Reply-To: <200308241655.40626.avleeuwen@piwebs.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: deischen@freebsd.org cc: current@freebsd.org Subject: Re: KDE Konsole, crashes, on a SIGABRT... 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: Sun, 24 Aug 2003 16:55:56 -0000 Arjan van Leeuwen wrote: > On Saturday 23 August 2003 18:03, Daniel Eischen wrote: > >>On Sat, 23 Aug 2003, Larry Rosenman wrote: >> >>>--On Saturday, August 23, 2003 10:27:59 -0400 Daniel Eischen >>> > > (...) > >>>>We (threads guys) think it's a problem with konsole. It is trying >>>>to change ownership of the pty and is failing to do so. We don't >>>>know why. Sometimes it works, sometimes it doesn't. konsole >>>>aborts itself when it can't change/open the pty, so SIGABRT is >>>>expected. >>> >>>Interestingly, if I use /etc/libmap.conf to map libc_r.(so|so.5) to >>>libc_r.(so.4|so.4) >>>it works starting from within an XTerm, but not from the bar at the >>>bottom. >>> >>>Now, I have **NOT** rebooted yet. >>> >>>This seems to have started with thursday's world, the previous world was >>>~2 weeks ago. >>> >>>Prior to Thursday, it worked just fine. >> >>I can't explain it. Someone is going to have to debug konsole and >>figure out what is going on. > > > It is a problem that has appeared in the last two weeks, and it was triggered > by a change in (apparently) libc_r as well as libkse, as it doesn't start > with both now. With the patch that Michael Nottebrock provided on this list, > it was perfectly possible to run Konsole with libkse (and libc_r) on a > -CURRENT from august 15. > > So something was broken in the threads code between august 15 and now. I don't > think that we should point to Konsole here, something went wrong in the > threads code. Konsole_grantpty was using a buggy hack, which worked because of a bug in libc_r. Maybe the bug in libc_r was fixed, thereby making it work like libkse and libthr (ie, crashing konsole). Fix: remove konsole_grantpty. If that does not work, just tell me and I'll eat my own hat. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@west.side.of.bsdconspiracy.net Steele: "Aha! We've finally got you talking jargon too!" Stallman: "What did he say?" Steele: "Bob just used "canonical" in the canonical way."