[konsole] [Bug 436630] konsole crash in Konsole::PlainTextDecoder::decodeLine() on exit

Martin Sandsmark bugzilla_noreply at kde.org
Tue Jul 20 12:58:41 BST 2021


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

Martin Sandsmark <martin.sandsmark at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cbc.alves at gmail.com,
                   |                            |martin.sandsmark at kde.org

--- Comment #21 from Martin Sandsmark <martin.sandsmark at kde.org> ---
I don't think that commit is related.

What seems to happen is that the crash happens when PlainTextDecoder tries to
read the last of the characters passed into it.

And it is told that there is _usedColumns number of characters, and the
characters are passed from `&_image[loc(0, cursorPos.y())]`.

So I suspect what is happening is that after the reflow code changed there
probably isn't necessarily _usedColumns number of characters per line anymore,
maybe?

I'm CCing in Carlos Alves, since he knows this code the best so maybe he spots
something obvious here.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list