[konsole] [Bug 402452] New: Crash in Konsole::TerminalDisplay::extendSelection after 4e09f089f940335bdd628139e870ba99721fddfa
Martin Sandsmark
bugzilla_noreply at kde.org
Sat Dec 22 10:29:09 GMT 2018
https://bugs.kde.org/show_bug.cgi?id=402452
Bug ID: 402452
Summary: Crash in Konsole::TerminalDisplay::extendSelection
after 4e09f089f940335bdd628139e870ba99721fddfa
Product: konsole
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: martin.sandsmark at kde.org
Target Milestone: ---
4e09f089f940335bdd628139e870ba99721fddfa tries to read out of bounds when you
double click to select a whole empty line, and hold down the mouse button and
drag to the right.
ASSERT: "x >= 0 && x < _columns" in file ../src/TerminalDisplay.cpp, line 87
Thread 1 "konsole" received signal SIGABRT, Aborted.
0x00007ffff577dd7f in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff577dd7f in raise () from /usr/lib/libc.so.6
#1 0x00007ffff5768672 in abort () from /usr/lib/libc.so.6
#2 0x00007ffff5cbe7fc in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib/libQt5Core.so.5
#3 0x00007ffff5cbdc28 in qt_assert(char const*, char const*, int) () from
/usr/lib/libQt5Core.so.5
#4 0x00007ffff7eae748 in Konsole::TerminalDisplay::loc (this=0x5555558494f0,
x=116, y=17) at ../src/TerminalDisplay.cpp:87
#5 0x00007ffff7ea8b20 in Konsole::TerminalDisplay::findWordEnd
(this=0x5555558494f0, pnt=...) at ../src/TerminalDisplay.cpp:3021
#6 0x00007ffff7ea6c06 in Konsole::TerminalDisplay::extendSelection
(this=0x5555558494f0, position=...) at ../src/TerminalDisplay.cpp:2555
#7 0x00007ffff7ea65bb in Konsole::TerminalDisplay::mouseMoveEvent
(this=0x5555558494f0, ev=0x7fffffffd830) at ../src/TerminalDisplay.cpp:2477
[...]
(gdb) f 4
#4 0x00007ffff7eae748 in Konsole::TerminalDisplay::loc (this=0x5555558494f0,
x=116, y=17) at ../src/TerminalDisplay.cpp:87
87 Q_ASSERT(x >= 0 && x < _columns);
(gdb) p _columns
$1 = 116
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list