[Konsole-devel] [Bug 164946] konsole hangs after inserting text

Oswald Buddenhagen ossi at kde.org
Sun Nov 30 13:14:24 UTC 2008


http://bugs.kde.org/show_bug.cgi?id=164946





--- Comment #27 from Oswald Buddenhagen <ossi kde org>  2008-11-30 14:14:23 ---
missed this somehow ...

yes, this is a classic deadlock: konsole writes to the child, the child
responds with output and fills its end of the pty buffer, thus blocking at some
point. as it is not accepting input from konsole any more, konsole's write will
never finish.

the EAGAIN handling should be unnecessary, as the notifiers only fire when the
error would not happen and we don't loop on the fd (except for the EINTR loop,
but that should not matter, either).

i'll commit shortly.


-- 
Configure bugmail: http://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