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

michel kollenhoven kde-bugs at brainpower.no-ip.org
Thu Jan 20 15:46:20 UTC 2011


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


michel kollenhoven <kde-bugs at brainpower.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde-bugs at brainpower.no-ip.o
                   |                            |rg




--- Comment #7 from michel kollenhoven <kde-bugs brainpower no-ip org>  2011-01-20 16:46:18 ---
i created a test script run this from your konsole
#!/bin/bash
kill -HUP $PPID

ok first thing firs SIGHUP is a signal that modems used to send(when looing
connecion)
many applications do this also for the same purpose(sshd,screen,
screenwrappers)
if the shell receives SIGHUP it will exit(nothing crashes afaik)(it will return
129 (128 + 1(hup) ,maybe this is what make konsole notify me) 

for some reason konsole sees this as a crash of bash


as a final note:
this is just gesswork experianced when wrapping screen (i must trap and forward
sighup to kill the last shell(yes i have to manny)
i have never looked in the code of konsole or bash

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