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

Urs Fleisch ufleisch at users.sourceforge.net
Mon Nov 10 20:48:54 UTC 2008


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


Urs Fleisch ufleisch users sourceforge net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ufleisch at users.sourceforge.n
                   |                            |et




--- Comment #21 from Urs Fleisch <ufleisch users sourceforge net>  2008-11-10 21:48:53 ---
I can confirm this. If more than 4095 bytes are pasted, konsole hangs. It seems
to hang in the write system call of KPtyDevicePrivate::_k_canWrite(). I set the
filedescriptor to non-blocking mode using "fcntl(q->masterFd(), F_SETFL,
O_NONBLOCK)" before the write, and konsole did not hang anymore. Because I am
not a pty expert, I do not claim that this is the solution (konsole could
swallow some bytes), but maybe a starting point.


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