[Konsole-devel] [Bug 49259] New: crash in konsole_grantpty on MacOSX 10.2
Lars Doelle
lars.doelle at on-line.de
Sat Oct 26 04:11:41 UTC 2002
> Somewhere between 3.0.7 and 3.0.8, konsole no longer works on MacOSX.
> Konsole starts up and shows a cursor, but it looks like a shell is never
> started. If I revert the konsole portion of kdebase to the 3.0.7 (3.1
> beta1) codebase, it works just fine, so it must be a recent change.
>
> Unfortunately, the KDE crash handler doesn't play nice on MacOSX so I can't
> get a real backtrace, and konsole_grantpty exits before I can attach to it.
>
> Is there any way to convince konsole to run konsole_grantpty under gdb? I
> tried wrapping it in a shell script but that just confused it further since
> it couldn't get it's parent.
It does not help to much to mess with konsole_grantpty. It is hardly a program
in the normal sense but more a subtile trick with right system. It cannot be
started or tested from the shell without likely subtile redirections,
perhaps.
If konsole_grantpty is your suspicion, run konsole as root to give it enough
rights to cope with the pseudo ttys. If it then works, reading the source of
the konsole_grantpty (which is very short) might give more hints how to
proceed. If you are alone on the box, you might try to work around broading
the rights of the pty devices for regular users, too.
If konsole shows the same behaviour even running as root, the diagnostic is
that konsole_grantpty is not involved in your problem.
-lars
More information about the konsole-devel
mailing list