Summary: | Konsole crashes when downloading image with curl | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Łukasz Żarnowiecki <lukasz> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | martin.sandsmark |
Priority: | NOR | Keywords: | drkonqi |
Version: | 16.08.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/konsole/76453a7df8427048a8ce92169c3dbd172f89798c | Version Fixed In: | |
Sentry Crash Report: |
Description
Łukasz Żarnowiecki
2016-11-16 11:34:31 UTC
Can't reproduce it here (same setup). What is the assert it prints out when crashing (i. e. what index is out of range)? Figured it out; the cursorRight() call doesn't resize the line buffer, so it fails when trying to get combining characters after a bunch of wild cursorRight() calls. I'll create some patches. Git commit 80b9e0775ecc81a4462e932be7ffdb1e5b222a4d by Martin T. H. Sandsmark. Committed on 20/11/2016 at 13:04. Pushed by sandsmark into branch 'master'. Fix crash with combining characters after several cursorRight() calls cursorRight() does not resize the _screenLines vector, leading to an assert in QVector when trying to look up the _cuX which is bigger than the amount of characters in the current line. M +1 -1 src/Screen.cpp http://commits.kde.org/konsole/80b9e0775ecc81a4462e932be7ffdb1e5b222a4d Git commit 76453a7df8427048a8ce92169c3dbd172f89798c by Kurt Hindenburg, on behalf of Martin T. H. Sandsmark. Committed on 24/11/2016 at 14:42. Pushed by hindenburg into branch 'Applications/16.12'. Fix crash with combining characters after several cursorRight() calls cursorRight() does not resize the _screenLines vector, leading to an assert in QVector when trying to look up the _cuX which is bigger than the amount of characters in the current line. (cherry picked from commit 80b9e0775ecc81a4462e932be7ffdb1e5b222a4d) M +1 -1 src/Screen.cpp https://commits.kde.org/konsole/76453a7df8427048a8ce92169c3dbd172f89798c |