Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc 3.3.3 OS: FreeBSD 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Nov 9 16:36:01 PST 2003 kdelibs from 11/7 kgrantpty.c Revision 1.12 Intermittent konsole crashes with: kdecore (KProcess): WARNING: Cannot chown /dev/ttypc kdecore (KProcess): Reason Operation not permitted /usr/local/kde/bin/kgrantpty: cannot determine pty name. Reproduce: Start konsole from terminal. In konsole (if it starts) start new shell. It may take several attempts. I've found that after login, every other attempt to start konsole fails. As time progresses, failures deminish (Took 20 new shells to reproduce the error last time I tried).
See also bug 42986 - when kgrantpty / konsole_grantpty is setuid root, you get this behavior (each time, an additional pty is chowned, so as you work longer, more and more ptys become yours and the problem of having to try twice fades). If it's not setuid root, then you get the old "can be eavesdropped" behavior.
fixed for kde 3.2