Re: KDE Konsole, crashes, on a SIGABRT...

2003-10-19 Thread Michael Nottebrock
On Saturday 23 August 2003 22:52, Mike Makonnen wrote:

 As far as I know text attachments are still accepted. So, if the
 attachment is being stripped either you are sending gziped/uuencoded
 attachments or your MUA is not describing it as text.

Well, it was described as text/x-diff. Not an officially IANA registered 
MIME-type, but text/* nonetheless... perhaps the mailing list manager should 
be configured to be a little less anal.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgp0.pgp
Description: signature


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-25 Thread Larry Rosenman


--On Sunday, August 24, 2003 23:17:57 +0200 Michael Nottebrock 
[EMAIL PROTECTED] wrote:

On Saturday 23 August 2003 18:03, Daniel Eischen wrote:
On Sat, 23 Aug 2003, Larry Rosenman wrote:

 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.
Done. Turns out this change (
http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/gethostname.c.diff
?r1=1.3r2=1.4f=h  ) was the cause for Konsole to abort(). The case of
gethostbyname returning  ENOMEM is caught, ENAMETOOLONG isn't. A fix will
go into the kdebase port in  the next few days, along with a bunch of
other fixes.
For the record, Arjan van Leeuwen [EMAIL PROTECTED] passed me a copy 
of the
patch for ENAMETOOLONG, and I added Michael's and that patch to the port by 
hand, and recompiled konsole, and it now works again.

Thanks to all for tracking this down.

LER



--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-25 Thread Daniel O'Connor
On Saturday 23 August 2003 23:57, Daniel Eischen wrote:
  How can I help figure this out?

 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.

I dunno..
On 4.x I get this in my .xsession-errors file -
konsole: cannot chown /dev/ttyp2.
Reason: Operation not permitted
konsole: chownpty failed for device /dev/ptyp2::/dev/ttyp2.
   : This means the session can be eavesdroped.
   : Make sure konsole_grantpty is installed in
   : /usr/local/bin/ and setuid root.

It is as expected I think -

[chowder 13:53] ~ ll /dev/ttyp2
crw-rw-rw-  1 root  wheel5,   2 Aug 25 13:53 /dev/ttyp2
[chowder 13:53] ~ ll /usr/local/bin/konsole_grantpty
-rwsr-xr-x  1 root  wheel  5584 Aug 13 04:06 /usr/local/bin/konsole_grantpty

I found that a 5.1-REL machine I upgraded to -CURRENT last Thursday had this 
problem, I haven't resolved it yet, but possibly rebuilding kdebase will fix 
it.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-25 Thread Larry Rosenman
add the attached 2 files to /usr/ports/x11/kdebase3/files and make 
configure and then
cd work/kdebase-3.1.3/konsole/konsole and gmake, gmake install.
This fixed it for me.

These (or equivalent) are coming soon to the ports tree.

LER



--On Monday, August 25, 2003 13:56:07 +0930 Daniel O'Connor 
[EMAIL PROTECTED] wrote:

On Saturday 23 August 2003 23:57, Daniel Eischen wrote:
 How can I help figure this out?

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.
I dunno..
On 4.x I get this in my .xsession-errors file -
konsole: cannot chown /dev/ttyp2.
Reason: Operation not permitted
konsole: chownpty failed for device /dev/ptyp2::/dev/ttyp2.
   : This means the session can be eavesdroped.
   : Make sure konsole_grantpty is installed in
   : /usr/local/bin/ and setuid root.
It is as expected I think -

[chowder 13:53] ~ ll /dev/ttyp2
crw-rw-rw-  1 root  wheel5,   2 Aug 25 13:53 /dev/ttyp2
[chowder 13:53] ~ ll /usr/local/bin/konsole_grantpty
-rwsr-xr-x  1 root  wheel  5584 Aug 13 04:06
/usr/local/bin/konsole_grantpty
I found that a 5.1-REL machine I upgraded to -CURRENT last Thursday had
this  problem, I haven't resolved it yet, but possibly rebuilding kdebase
will fix  it.


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


patch-konsole
Description: Binary data


patch-konsole-2
Description: Binary data
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-25 Thread Kenneth Culver
 I can't explain it.  Someone is going to have to debug konsole and
 figure out what is going on.

I can concur, before last thursday, konsole worked fine with libc_r, but
crashed randomly with libkse and libthr. After last thursday it even
crashes with libc_r.

Ken
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-25 Thread Larry Rosenman


--On Monday, August 25, 2003 09:59:58 -0400 Kenneth Culver 
[EMAIL PROTECTED] wrote:

I can't explain it.  Someone is going to have to debug konsole and
figure out what is going on.
I can concur, before last thursday, konsole worked fine with libc_r, but
crashed randomly with libkse and libthr. After last thursday it even
crashes with libc_r.
Ken
see my post yesterday to -current or -ports with the 2 attachments.

the KDE team found the bug, and fixed it.

There are 2 patches to add to the port, which fix it.

LER



--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-25 Thread Kenneth Culver
 see my post yesterday to -current or -ports with the 2 attachments.

 the KDE team found the bug, and fixed it.

 There are 2 patches to add to the port, which fix it.

Yeah, I just saw that, I was gone for the weeknend, sorry for the extra
chatter.

Ken
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-25 Thread Larry Rosenman


--On Monday, August 25, 2003 11:00:24 -0400 Kenneth Culver 
[EMAIL PROTECTED] wrote:

see my post yesterday to -current or -ports with the 2 attachments.

the KDE team found the bug, and fixed it.

There are 2 patches to add to the port, which fix it.

Yeah, I just saw that, I was gone for the weeknend, sorry for the extra
chatter.
No biggie, I'm just trying to help.

LER

Ken


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-24 Thread Arjan van Leeuwen
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.

Best regards,

Arjan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-24 Thread Daniel Eischen
On Sun, 24 Aug 2003, 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. 

Are you saying that with Michael's patch and post August 15th libraries
it doesn't work?

 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.

Nothing has been touched in libc_r in over 4 weeks.

I maintain that it is a konsole (grantpty) problem.

-- 
Dan Eischen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-24 Thread Daniel C. Sobral
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)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Steele: Aha! We've finally got you talking jargon too!
Stallman: What did he say?
Steele: Bob just used canonical in the canonical way.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-24 Thread Arjan van Leeuwen
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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-24 Thread Larry Rosenman


--On Sunday, August 24, 2003 19:06:52 +0200 Arjan van Leeuwen 
[EMAIL PROTECTED] wrote:

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.
Is there a patch for this?

my hostname (lerlaptop.lerctr.org or lerlaptop.iadfw.net or 
lerlaptop-red.iadfw.net) are
all too long :-(.

Thanks for tracking this down.

LER

Best regards,

Arjan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-24 Thread Larry Rosenman


--On Sunday, August 24, 2003 12:11:20 -0500 Larry Rosenman [EMAIL PROTECTED] 
wrote:



--On Sunday, August 24, 2003 19:06:52 +0200 Arjan van Leeuwen
[EMAIL PROTECTED] wrote:
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.
Is there a patch for this?

my hostname (lerlaptop.lerctr.org or lerlaptop.iadfw.net or
lerlaptop-red.iadfw.net) are all too long :-(.
Thanks for tracking this down.
Oh, and even without Michael's patch, changing my hostname to lerlaptop, 
allows
Konsole to run.


LER

Best regards,

Arjan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to
[EMAIL PROTECTED]


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-24 Thread Arjan van Leeuwen
On Sunday 24 August 2003 19:17, Larry Rosenman wrote:
 --On Sunday, August 24, 2003 12:11:20 -0500 Larry Rosenman [EMAIL PROTECTED]

 wrote:
  --On Sunday, August 24, 2003 19:06:52 +0200 Arjan van Leeuwen
 
  [EMAIL PROTECTED] wrote:
  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.
 
  Is there a patch for this?
 
  my hostname (lerlaptop.lerctr.org or lerlaptop.iadfw.net or
  lerlaptop-red.iadfw.net) are all too long :-(.
 
  Thanks for tracking this down.

 Oh, and even without Michael's patch, changing my hostname to lerlaptop,
 allows
 Konsole to run.

With libc_r or with libkse? It used to crash with libkse without Michael's 
patch.


  LER
 
  Best regards,
 
  Arjan
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-current
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-24 Thread Larry Rosenman


--On Sunday, August 24, 2003 19:20:07 +0200 Arjan van Leeuwen 
[EMAIL PROTECTED] wrote:

On Sunday 24 August 2003 19:17, Larry Rosenman wrote:
--On Sunday, August 24, 2003 12:11:20 -0500 Larry Rosenman
[EMAIL PROTECTED]
wrote:
 --On Sunday, August 24, 2003 19:06:52 +0200 Arjan van Leeuwen

 [EMAIL PROTECTED] wrote:
 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.

 Is there a patch for this?

 my hostname (lerlaptop.lerctr.org or lerlaptop.iadfw.net or
 lerlaptop-red.iadfw.net) are all too long :-(.

 Thanks for tracking this down.
Oh, and even without Michael's patch, changing my hostname to lerlaptop,
allows
Konsole to run.
With libc_r or with libkse? It used to crash with libkse without
Michael's  patch.
libc_r.

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-24 Thread Michael Nottebrock
On Saturday 23 August 2003 18:03, Daniel Eischen wrote:
 On Sat, 23 Aug 2003, Larry Rosenman wrote:

  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.

Done. Turns out this change ( 
http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/gethostname.c.diff?r1=1.3r2=1.4f=h
 
) was the cause for Konsole to abort(). The case of gethostbyname returning 
ENOMEM is caught, ENAMETOOLONG isn't. A fix will go into the kdebase port in 
the next few days, along with a bunch of other fixes.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgp0.pgp
Description: signature


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-23 Thread Larry Rosenman


--On Saturday, August 23, 2003 15:22:35 +0200 Michael Nottebrock 
[EMAIL PROTECTED] wrote:

On Saturday 23 August 2003 14:51, Larry Rosenman wrote:

I'm not sure how to switch to a libkse'd world.
You have to explicitly make and install both libkse and libthr:

cd /usr/src/lib/libpthread  make  make install (will give you libkse)
cd /usr/src/lib/libthr  make  make install (will give you libthr)
Then, create /etc/libmap.conf to map libc_r to either libthr or libkse,
globally or just for single executables. Look at the libmap.conf manpage,
is  has a nice example and all the information.
libkse and libthr are built by default now.

konsole crashes with all 3 (libc_r, libthr, libkse).

How can I help figure this out?





--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-23 Thread Michael Nottebrock
On Saturday 23 August 2003 16:08, Larry Rosenman wrote:

 libkse and libthr are built by default now.

 konsole crashes with all 3 (libc_r, libthr, libkse).

Just to make sure, have you tried rebooting between changing stuff?

 How can I help figure this out?

No idea really. I don't use -CURRENT myself.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgp0.pgp
Description: signature


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-23 Thread Daniel Eischen
On Sat, 23 Aug 2003, Larry Rosenman wrote:
 
 --On Saturday, August 23, 2003 15:22:35 +0200 Michael Nottebrock 
 [EMAIL PROTECTED] wrote:
 
  On Saturday 23 August 2003 14:51, Larry Rosenman wrote:
 
  I'm not sure how to switch to a libkse'd world.
 
  You have to explicitly make and install both libkse and libthr:
 
  cd /usr/src/lib/libpthread  make  make install (will give you libkse)
  cd /usr/src/lib/libthr  make  make install (will give you libthr)
 
  Then, create /etc/libmap.conf to map libc_r to either libthr or libkse,
  globally or just for single executables. Look at the libmap.conf manpage,
  is  has a nice example and all the information.
 libkse and libthr are built by default now.
 
 konsole crashes with all 3 (libc_r, libthr, libkse).
 
 How can I help figure this out?

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.

-- 
Dan Eischen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-23 Thread Larry Rosenman


--On Saturday, August 23, 2003 10:27:59 -0400 Daniel Eischen 
[EMAIL PROTECTED] wrote:

On Sat, 23 Aug 2003, Larry Rosenman wrote:
--On Saturday, August 23, 2003 15:22:35 +0200 Michael Nottebrock
[EMAIL PROTECTED] wrote:
 On Saturday 23 August 2003 14:51, Larry Rosenman wrote:

 I'm not sure how to switch to a libkse'd world.

 You have to explicitly make and install both libkse and libthr:

 cd /usr/src/lib/libpthread  make  make install (will give you
 libkse) cd /usr/src/lib/libthr  make  make install (will give you
 libthr)

 Then, create /etc/libmap.conf to map libc_r to either libthr or libkse,
 globally or just for single executables. Look at the libmap.conf
 manpage, is  has a nice example and all the information.
libkse and libthr are built by default now.
konsole crashes with all 3 (libc_r, libthr, libkse).

How can I help figure this out?
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.

What can I do to help?

LER



--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-23 Thread Michael Nottebrock
On Saturday 23 August 2003 16:27, Daniel Eischen wrote:
 On Sat, 23 Aug 2003, Larry Rosenman wrote:
  --On Saturday, August 23, 2003 15:22:35 +0200 Michael Nottebrock
 
  [EMAIL PROTECTED] wrote:
   On Saturday 23 August 2003 14:51, Larry Rosenman wrote:
   I'm not sure how to switch to a libkse'd world.
  
   You have to explicitly make and install both libkse and libthr:
  
   cd /usr/src/lib/libpthread  make  make install (will give you
   libkse) cd /usr/src/lib/libthr  make  make install (will give you
   libthr)
  
   Then, create /etc/libmap.conf to map libc_r to either libthr or libkse,
   globally or just for single executables. Look at the libmap.conf
   manpage, is  has a nice example and all the information.
 
  libkse and libthr are built by default now.
 
  konsole crashes with all 3 (libc_r, libthr, libkse).
 
  How can I help figure this out?

 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.

Actually, it should never work. This bug has been long standing, there is 
additional information about it here: 
http://bugs.kde.org/show_bug.cgi?id=42986

Incidentally, Adriaan de Groot just dug up a set of patches for konsole  
konsole_grantpty, I quickly adapted those for the kdebase port. They apply, 
but I'm still compiling kdebase with those myself, so beware, they might turn 
konsole into a Teletubbie FWIW (although Adriaan says they work okay for him, 
so there). Find the patch attached to this message.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgp0.pgp
Description: signature


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-23 Thread Daniel Eischen
On Sat, 23 Aug 2003, Larry Rosenman wrote:
 
 --On Saturday, August 23, 2003 10:27:59 -0400 Daniel Eischen 
 [EMAIL PROTECTED] wrote:
 
  On Sat, 23 Aug 2003, Larry Rosenman wrote:
 
  --On Saturday, August 23, 2003 15:22:35 +0200 Michael Nottebrock
  [EMAIL PROTECTED] wrote:
 
   On Saturday 23 August 2003 14:51, Larry Rosenman wrote:
  
   I'm not sure how to switch to a libkse'd world.
  
   You have to explicitly make and install both libkse and libthr:
  
   cd /usr/src/lib/libpthread  make  make install (will give you
   libkse) cd /usr/src/lib/libthr  make  make install (will give you
   libthr)
  
   Then, create /etc/libmap.conf to map libc_r to either libthr or libkse,
   globally or just for single executables. Look at the libmap.conf
   manpage, is  has a nice example and all the information.
  libkse and libthr are built by default now.
 
  konsole crashes with all 3 (libc_r, libthr, libkse).
 
  How can I help figure this out?
 
  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.

-- 
Dan Eischen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-23 Thread Michael Nottebrock
On Saturday 23 August 2003 16:52, Michael Nottebrock wrote:

 Incidentally, Adriaan de Groot just dug up a set of patches for konsole 
 konsole_grantpty, I quickly adapted those for the kdebase port. They apply,
 but I'm still compiling kdebase with those myself

Just finished. They work fine on my 4.8-STABLE machine here. When I make 
konsole_grantpty suid root as advised, the chownpty succeeds:

[EMAIL PROTECTED]:0:~  konsole
konsole: cannot chown /dev/ttyp2.
Reason: Operation not permitted

[EMAIL PROTECTED]:0:~  ls -l /dev/ttyp2
crw---  1 lofi  tty5,   2 23 Aug 18:23 /dev/ttyp2

I'm going to test them on a 5.1-RELEASE box next. Please test on -CURRENT as 
well.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgp0.pgp
Description: signature


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-23 Thread Michael Nottebrock
On Saturday 23 August 2003 16:52, I wrote:

 Incidentally, Adriaan de Groot just dug up a set of patches for konsole 
 konsole_grantpty, I quickly adapted those for the kdebase port. They apply,
 but I'm still compiling kdebase with those myself, so beware, they might
 turn konsole into a Teletubbie FWIW (although Adriaan says they work okay
 for him, so there). Find the patch attached to this message.

Or rather, find it at http://lofi.dyndns.org/~lofi/patch-konsole , the 
attachment has been stripped.

BTW: Is there a place or a person that has a list of which mailing lists will 
actually accept mails with attachments these days? And which of the lists is 
subscriber only or not? It used to be very easy (outside-posts work 
everywhere, attachments work everwhere), but I guess times have changed.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgp0.pgp
Description: signature


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-23 Thread Mike Makonnen
On Sat, Aug 23, 2003 at 09:12:38PM +0200, Michael Nottebrock wrote:
Content-Description: signed data
 On Saturday 23 August 2003 16:52, I wrote:
 
  Incidentally, Adriaan de Groot just dug up a set of patches for konsole 
  konsole_grantpty, I quickly adapted those for the kdebase port. They apply,
  but I'm still compiling kdebase with those myself, so beware, they might
  turn konsole into a Teletubbie FWIW (although Adriaan says they work okay
  for him, so there). Find the patch attached to this message.
 
 Or rather, find it at http://lofi.dyndns.org/~lofi/patch-konsole , the 
 attachment has been stripped.
 
 BTW: Is there a place or a person that has a list of which mailing lists will 
 actually accept mails with attachments these days? And which of the lists is 
 subscriber only or not? It used to be very easy (outside-posts work 
 everywhere, attachments work everwhere), but I guess times have changed.

As far as I know text attachments are still accepted. So, if the
attachment is being stripped either you are sending gziped/uuencoded
attachments or your MUA is not describing it as text. The latter used
to happen to me when I was using sylpheed (I've seen the light and
switched to Mutt now :-)
YMMV.

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
[EMAIL PROTECTED] | Fingerprint: 00E8 61BC 0D75 7FFB E4D3  6BF1 B239 D010 3215 D418
[EMAIL PROTECTED]| FreeBSD - Unleash the Daemon !
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-23 Thread Simon L. Nielsen
On 2003.08.23 23:34:53 +0200, Michael Nottebrock wrote:
Content-Description: signed data
 On Saturday 23 August 2003 22:52, Mike Makonnen wrote:
 
  As far as I know text attachments are still accepted. So, if the
  attachment is being stripped either you are sending gziped/uuencoded
  attachments or your MUA is not describing it as text.
 
 Well, it was described as text/x-diff. Not an officially IANA registered 
 MIME-type, but text/* nonetheless... perhaps the mailing list manager should 
 be configured to be a little less anal.

FYI, this is actually documented:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAILFILTERING

If you think 'text/x-diff' should be allowed, you can ask [EMAIL PROTECTED]
(If get it added to the allowed list, please let me or -doc know so the
handbook can be updated.)

-- 
Simon L. Nielsen
FreeBSD Documentation Team


pgp0.pgp
Description: PGP signature


Re: KDE Konsole, crashes, on a SIGABRT...

2003-08-23 Thread Michael Nottebrock
On Sunday 24 August 2003 00:13, Simon L. Nielsen wrote:

 FYI, this is actually documented:

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#E
 RESOURCES-MAILFILTERING

Thanks!

 If you think 'text/x-diff' should be allowed, you can ask [EMAIL PROTECTED]
 (If get it added to the allowed list, please let me or -doc know so the
 handbook can be updated.)

Will do.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgp0.pgp
Description: signature