[Konsole-devel] [Bug 168539] screen's 'power detach' function causes bash to crash.

Jekyll Wu adaptee at gmail.com
Tue Aug 2 15:57:35 UTC 2011


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


Jekyll Wu <adaptee at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adaptee at gmail.com




--- Comment #12 from Jekyll Wu <adaptee gmail com>  2011-08-02 15:57:35 ---
The reason why konsole think bash has crashed is not hard to figure out. If you
invoke bash from zsh then kill bash with SIGHUP, running 'echo $?' from zsh
will print 129. When bash is killed like that in konsole, konsole will get 2
related
information about bash: exitCode is 0, and exitStatus is 1(actually,
QProcess::CrashExit). That QProcess::CrashExit will make konsole believe bash
has crashed, as its name implies.

The hard question is should konsole add extra code to deal with this case? .

-- 
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