Summary: | KMail crashed when changing focus | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Alex Merry <alex.merry> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | tokoe |
Priority: | NOR | ||
Version: | 2.0.89 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Alex Merry
2010-09-08 12:54:18 UTC
Actually, simply typing stuff into the To: line and immediately deleting it all again causes this. Valgrind output: ==14221== Invalid read of size 8 ==14221== at 0xA5A5BD7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.h:125) ==14221== by 0x95A2BB5: QLineEdit::focusOutEvent(QFocusEvent*) (qlineedit.cpp:1830) ==14221== by 0x51784E7: KLineEdit::focusOutEvent(QFocusEvent*) (klineedit.cpp:1799) ==14221== by 0x91FA1DB: QWidget::event(QEvent*) (qwidget.cpp:8157) ==14221== by 0x95A0F10: QLineEdit::event(QEvent*) (qlineedit.cpp:1480) ==14221== by 0x517667F: KLineEdit::event(QEvent*) (klineedit.cpp:1394) ==14221== by 0x91AAAE3: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4302) ==14221== by 0x91AEBC9: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4185) ==14221== by 0x5090C8C: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:310) ==14221== by 0xA591D8B: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:726) ==14221== by 0x91A8C9C: QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) (qcoreapplication.h:215) ==14221== by 0x91EDE20: QWidget::setFocus(Qt::FocusReason) (qwidget.cpp:6161) ==14221== Address 0x1a837ae8 is 8 bytes inside a block of size 80 free'd ==14221== at 0x4C24D9E: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==14221== by 0xE8CC2CF: MessageComposer::RecipientLineEdit::~RecipientLineEdit() (recipientline.h:49) ==14221== by 0xA5A2AC3: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14221== by 0x91FDCA4: QWidget::~QWidget() (qwidget.cpp:1476) ==14221== by 0xE8CBA5D: KPIM::MultiplyingLine::~MultiplyingLine() (in /home/kde-devel/kde/lib/libmessagecomposer.so.4.6.0) ==14221== by 0xE8CBB25: MessageComposer::RecipientLineNG::~RecipientLineNG() (in /home/kde-devel/kde/lib/libmessagecomposer.so.4.6.0) ==14221== by 0xE8CBB81: MessageComposer::RecipientLineNG::~RecipientLineNG() (recipientline.h:68) ==14221== by 0x62854A9: KPIM::MultiplyingLineView::slotDeleteLine() (multiplyinglineview_p.cpp:180) ==14221== by 0x6285358: KPIM::MultiplyingLineView::slotDecideLineDeletion(KPIM::MultiplyingLine*) (multiplyinglineview_p.cpp:152) ==14221== by 0x6286439: KPIM::MultiplyingLineView::qt_metacall(QMetaObject::Call, int, void**) (multiplyinglineview_p.moc:121) ==14221== by 0xA5A5DEE: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3287) ==14221== by 0x6283714: KPIM::MultiplyingLine::deleteLine(KPIM::MultiplyingLine*) (multiplyingline.moc:138) ==14221== ==14221== Invalid read of size 4 ==14221== at 0xA5A60AB: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject_p.h:222) ==14221== by 0x95A2BB5: QLineEdit::focusOutEvent(QFocusEvent*) (qlineedit.cpp:1830) ==14221== by 0x51784E7: KLineEdit::focusOutEvent(QFocusEvent*) (klineedit.cpp:1799) ==14221== by 0x91FA1DB: QWidget::event(QEvent*) (qwidget.cpp:8157) ==14221== by 0x95A0F10: QLineEdit::event(QEvent*) (qlineedit.cpp:1480) ==14221== by 0x517667F: KLineEdit::event(QEvent*) (klineedit.cpp:1394) ==14221== by 0x91AAAE3: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4302) ==14221== by 0x91AEBC9: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4185) ==14221== by 0x5090C8C: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:310) ==14221== by 0xA591D8B: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:726) ==14221== by 0x91A8C9C: QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) (qcoreapplication.h:215) ==14221== by 0x91EDE20: QWidget::setFocus(Qt::FocusReason) (qwidget.cpp:6161) ==14221== Address 0x60 is not stack'd, malloc'd or (recently) free'd ==14221== *** KMail got signal 11 (Exiting) Additional note: the activate() call that crashes is trying to emit the QT3_SUPPORT lostFocus() signal, and the reason for the crash is that sender->d_func() evaluates to 0 (presumeably because sender refers to a deleted QObject). Hej Alex, can you still reporduce this with current version? Works fine for me, can't get it to crash. Ciao, Tobias No, although I don't use KMail much any more. I'll close this WORKSFORME, and reopen it if it happens again. |