Version: (using Devel) Installed from: Compiled sources OS: Linux KCompletion crashes at pressing Ctrl+Down in KHistoryCombo (Konqueror / Krusader URL requester) #0 0xb76dd782 in KCompletion::nextMatch () from /usr/lib/libkdeui.so.5 #1 0xb7732db9 in KLineEdit::rotateText () from /usr/lib/libkdeui.so.5 #2 0xb7738442 in KLineEdit::keyPressEvent () from /usr/lib/libkdeui.so.5 #3 0xb65a90a6 in QWidget::event () from /usr/lib/libQtGui.so.4 #4 0xb68a5da7 in QLineEdit::event () from /usr/lib/libQtGui.so.4 #5 0xb773792f in KLineEdit::event () from /usr/lib/libkdeui.so.5 #6 0xb68686ff in QComboBox::keyPressEvent () from /usr/lib/libQtGui.so.4 #7 0xb7729f72 in KHistoryComboBox::keyPressEvent () from /usr/lib/libkdeui.so.5 #8 0xb65a90a6 in QWidget::event () from /usr/lib/libQtGui.so.4 #9 0xb686728f in QComboBox::event () from /usr/lib/libQtGui.so.4 #10 0xb6556f0c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #11 0xb655e473 in QApplication::notify () from /usr/lib/libQtGui.so.4 #12 0xb768042d in KApplication::notify () from /usr/lib/libkdeui.so.5 #13 0xb7060c31 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 ==17570== ==17570== Invalid read of size 4 ==17570== at 0x495877E: KCompletion::nextMatch() (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x49ADDB8: KLineEdit::rotateText(KCompletionBase::KeyBindingType) (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x49B3441: KLineEdit::keyPressEvent(QKeyEvent*) (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x55130A5: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x580FDA6: QLineEdit::event(QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x49B292E: KLineEdit::event(QEvent*) (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x57D26FE: QComboBox::keyPressEvent(QKeyEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x49A4F71: KHistoryComboBox::keyPressEvent(QKeyEvent*) (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x55130A5: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x57D128E: QComboBox::event(QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x54C0F0B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x54C8472: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== Address 0x6C89B3C is 0 bytes after a block of size 20 alloc'd ==17570== at 0x4022825: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==17570== by 0x4E779AC: qMalloc(unsigned) (in /usr/lib/libQtCore.so.4.4.0) ==17570== by 0x4E9D3F0: QListData::detach2() (in /usr/lib/libQtCore.so.4.4.0) ==17570== by 0x482B626: (within /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x49588F7: KCompletion::nextMatch() (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x49ADDB8: KLineEdit::rotateText(KCompletionBase::KeyBindingType) (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x49B3441: KLineEdit::keyPressEvent(QKeyEvent*) (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x55130A5: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x580FDA6: QLineEdit::event(QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x49B292E: KLineEdit::event(QEvent*) (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x57D26FE: QComboBox::keyPressEvent(QKeyEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x49A4F71: KHistoryComboBox::keyPressEvent(QKeyEvent*) (in /usr/lib/libkdeui.so.5.1.0) ==17570== ==17570== Invalid read of size 4 ==17570== at 0x4958782: KCompletion::nextMatch() (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x49ADDB8: KLineEdit::rotateText(KCompletionBase::KeyBindingType) (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x49B3441: KLineEdit::keyPressEvent(QKeyEvent*) (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x55130A5: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x580FDA6: QLineEdit::event(QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x49B292E: KLineEdit::event(QEvent*) (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x57D26FE: QComboBox::keyPressEvent(QKeyEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x49A4F71: KHistoryComboBox::keyPressEvent(QKeyEvent*) (in /usr/lib/libkdeui.so.5.1.0) ==17570== by 0x55130A5: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x57D128E: QComboBox::event(QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x54C0F0B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== by 0x54C8472: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.0) ==17570== Address 0x0 is not stack'd, malloc'd or (recently) free'd
SVN commit 816849 by qbast: Don't crash on Ctrl-Down/Up if no completion matches could be found. BUG: 161684 M +4 -2 kcompletion.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=816849
*** Bug 157752 has been marked as a duplicate of this bug. ***