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

--- Comment #1 from Aleix Pol <aleix...@kde.org> ---
When running yakuake on valgrind it's easy to reproduce issues.

==6853== Invalid read of size 1
==6853==    at 0x719C929: QUtf32::convertToUnicode(char const*, int,
QTextCodec::ConverterState*, DataEndianness) (qutfcodec.cpp:930)
==6853==    by 0x6FE36E9: QString::fromUcs4(unsigned int const*, int)
(qstring.cpp:5672)
==6853==    by 0x327C411E:
Konsole::PlainTextDecoder::decodeLine(Konsole::Character const*, int, unsigned
char) (devel/frameworks/konsole/src/decoders/PlainTextDecoder.cpp:132)
==6853==    by 0x3288E4C1:
Konsole::TerminalDisplay::inputMethodQuery(Qt::InputMethodQuery) const
(devel/frameworks/konsole/src/terminalDisplay/TerminalDisplay.cpp:2375)
==6853==    by 0x62D8464: QWidget::event(QEvent*) (qwidget.cpp:8731)
==6853==    by 0x3288F255: Konsole::TerminalDisplay::event(QEvent*)
(devel/frameworks/konsole/src/terminalDisplay/TerminalDisplay.cpp:2611)
==6853==    by 0x629814E: QApplicationPrivate::notify_helper(QObject*, QEvent*)
(qapplication.cpp:3632)
==6853==    by 0x7140229: QCoreApplication::notifyInternal2(QObject*, QEvent*)
(qcoreapplication.cpp:1063)
==6853==    by 0xA99CCE8:
QtWaylandClient::QWaylandTextInput::updateState(QFlags<Qt::InputMethodQuery>,
unsigned int) (qwaylandinputcontext.cpp:134)
==6853==    by 0x68F59F6:
QGuiApplicationPrivate::_q_updateFocusObject(QObject*)
(qguiapplication.cpp:4307)
==6853==    by 0x717683F: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3898)
==6853==    by 0x69051B1: QWindow::focusObjectChanged(QObject*)
(moc_qwindow.cpp:840)
==6853==  Address 0x424ddb51 is 1 bytes inside a block of size 456,304 free'd
==6853==    at 0x484058B: operator delete[](void*) (vg_replace_malloc.c:649)
==6853==    by 0x32884351: Konsole::TerminalDisplay::~TerminalDisplay()
(devel/frameworks/konsole/src/terminalDisplay/TerminalDisplay.cpp:353)
==6853==    by 0x328844CB: Konsole::TerminalDisplay::~TerminalDisplay()
(devel/frameworks/konsole/src/terminalDisplay/TerminalDisplay.cpp:347)
==6853==    by 0x716C00E: QObject::event(QEvent*) (qobject.cpp:1301)
==6853==    by 0x3288F255: Konsole::TerminalDisplay::event(QEvent*)
(devel/frameworks/konsole/src/terminalDisplay/TerminalDisplay.cpp:2611)
==6853==    by 0x629814E: QApplicationPrivate::notify_helper(QObject*, QEvent*)
(qapplication.cpp:3632)
==6853==    by 0x7140229: QCoreApplication::notifyInternal2(QObject*, QEvent*)
(qcoreapplication.cpp:1063)
==6853==    by 0x7142C60: QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (qcoreapplication.cpp:1817)
==6853==    by 0x71980F2: postEventSourceDispatch(_GSource*, int (*)(void*),
void*) (qeventdispatcher_glib.cpp:277)
==6853==    by 0xA7C6F9B: g_main_context_dispatch (in
/usr/lib/libglib-2.0.so.0.6800.0)
==6853==    by 0xA81AA48: ??? (in /usr/lib/libglib-2.0.so.0.6800.0)
==6853==    by 0xA7C46F0: g_main_context_iteration (in
/usr/lib/libglib-2.0.so.0.6800.0)
==6853==  Block was alloc'd at
==6853==    at 0x483F50F: operator new[](unsigned long)
(vg_replace_malloc.c:431)
==6853==    by 0x3288729B: Konsole::TerminalDisplay::makeImage()
(devel/frameworks/konsole/src/terminalDisplay/TerminalDisplay.cpp:1030)
==6853==    by 0x3288549F: Konsole::TerminalDisplay::updateImageSize()
(devel/frameworks/konsole/src/terminalDisplay/TerminalDisplay.cpp:989)
==6853==    by 0x3288718A: Konsole::TerminalDisplay::propagateSize()
(devel/frameworks/konsole/src/terminalDisplay/TerminalDisplay.cpp:979)
==6853==    by 0x3288759F: Konsole::TerminalDisplay::showEvent(QShowEvent*)
(devel/frameworks/konsole/src/terminalDisplay/TerminalDisplay.cpp:1115)
==6853==    by 0x62D7F8D: QWidget::event(QEvent*) (qwidget.cpp:9019)
==6853==    by 0x3288F255: Konsole::TerminalDisplay::event(QEvent*)
(devel/frameworks/konsole/src/terminalDisplay/TerminalDisplay.cpp:2611)
==6853==    by 0x629814E: QApplicationPrivate::notify_helper(QObject*, QEvent*)
(qapplication.cpp:3632)
==6853==    by 0x7140229: QCoreApplication::notifyInternal2(QObject*, QEvent*)
(qcoreapplication.cpp:1063)
==6853==    by 0x62D4982: QWidgetPrivate::show_helper() (qwidget.cpp:7813)
==6853==    by 0x62D48E8: QWidgetPrivate::showChildren(bool) (qwidget.cpp:8181)
==6853==    by 0x62D495E: QWidgetPrivate::show_helper() (qwidget.cpp:7768)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to