Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Aug 2003 19:06:52 +0200
From:      Arjan van Leeuwen <avleeuwen@piwebs.com>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        current@freebsd.org
Subject:   Re: KDE Konsole, crashes, on a SIGABRT...
Message-ID:  <200308241906.52791.avleeuwen@piwebs.com>
In-Reply-To: <3F48EE11.5070806@newsguy.com>
References:  <Pine.GSO.4.10.10308231158500.5212-100000@pcnet5.pcnet.com> <200308241655.40626.avleeuwen@piwebs.com> <3F48EE11.5070806@newsguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 24 August 2003 18:55, Daniel C. Sobral wrote:
> 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.

kde@, has already found the problem. Turns out 
konsole will crash in recent -CURRENT (post-15 august) if you have a hostname 
longer than 16 characters because of a change in gethostname (I guess). Sorry 
to point at threads@ :). So, to have a working Konsole at this moment with 
libkse, you have to get Michael's patch and a hostname shorter than 16 
characters.

Best regards,

Arjan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308241906.52791.avleeuwen>