[Konsole-devel] [Bug 286367] zsh crash in dolphin (konsole part) leads to all processes in X getting killed

Jekyll Wu adaptee at gmail.com
Sat Jan 21 14:32:09 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=286367


Jekyll Wu <adaptee at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #8 from Jekyll Wu <adaptee gmail com>  2012-01-21 14:32:08 ---
(In reply to comment #5 and comment #7)

Hi Fabian, thanks for your feedback. Now I can reproduce the problem and get
the error message as shown in comment #7 from startkde: "Could not start
ksmserver. Check your installation."

Here is the steps for reproducing:

1. open dolphin and show the terminal panel

2. find some way to crash the zsh running in the terminal panel, so that
konsolepart display the warning messaged in red: "Warning: Program 'zsh'
crashed."

3. click some folder in dolphin so that it sends "cd /path/to/some/folder" into
the terminal panel where zsh has just crashed.

4. Both plasma-desktop and kwin are killed, only leaving the error message
"Could not start ksmserver. Check your installation." from startkde in the
screen.

The tricky step is how to make zsh crash. My method of crashing zsh is quite
complex and seems highly dependent upon my various customized settings :(.

Although I'm still confused by its disastrous damage, there is clearly a
problem in the code of konsolepart: it does not check whether the underlying
program(zsh in this case) is still available before sending input into it.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list