Summary: | [kfile] KWord crashes on Oking the file dialog for the second time. | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | John Hudson <j.r.hudson> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | j.r.hudson, zander |
Priority: | NOR | ||
Version: | 4.3.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
John Hudson
2009-12-29 20:57:43 UTC
Using valgrind I noticed the actual bug happens a bit before and then leaves stuff in a state that makes it crash later, as observed. The valgrind I did showed a possible bug in kdelibs; here is the valgrind output; ==23119== Invalid read of size 8 ==23119== at 0x8579230: QWidgetPrivate::hideChildren(bool) (in /usr/lib/libQtGui.so.4.5.2) ==23119== by 0x8579270: QWidgetPrivate::hideChildren(bool) (in /usr/lib/libQtGui.so.4.5.2) ==23119== by 0x8579270: QWidgetPrivate::hideChildren(bool) (in /usr/lib/libQtGui.so.4.5.2) ==23119== by 0x8579270: QWidgetPrivate::hideChildren(bool) (in /usr/lib/libQtGui.so.4.5.2) ==23119== by 0x8579270: QWidgetPrivate::hideChildren(bool) (in /usr/lib/libQtGui.so.4.5.2) ==23119== by 0x8579433: QWidgetPrivate::hide_helper() (in /usr/lib/libQtGui.so.4.5.2) ==23119== by 0x8580D7F: QWidget::setVisible(bool) (in /usr/lib/libQtGui.so.4.5.2) ==23119== by 0x89A776F: QDialog::setVisible(bool) (in /usr/lib/libQtGui.so.4.5.2) ==23119== by 0x89A6873: QDialog::done(int) (in /usr/lib/libQtGui.so.4.5.2) ==23119== by 0x7524CBB: KFileDialog::accept() (in /usr/lib/libkio.so.5.3.0) ==23119== by 0x7523E70: KFileDialog::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib/libkio.so.5.3.0) ==23119== by 0x50B7B04: KoFileDialog::qt_metacall(QMetaObject::Call, int, void**) (KoFileDialog.moc:61) ==23119== Address 0x2d11c998 is 8 bytes inside a block of size 16 free'd ==23119== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==23119== by 0xAAEA22A: KFilePlacesView::Private::fadeCapacityBar(QModelIndex const&, KFilePlacesView::Private::FadeType) (in /usr/lib/libkfile.so.4.3.0) ==23119== by 0xAAEA2FD: KFilePlacesView::Private::_k_placeLeft(QModelIndex const&) (in /usr/lib/libkfile.so.4.3.0) ==23119== by 0xAAEAF7D: KFilePlacesView::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib/libkfile.so.4.3.0) ==23119== by 0x99E1DDB: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQtCore.so.4.5.2) ==23119== by 0xAAE7844: ??? (in /usr/lib/libkfile.so.4.3.0) ==23119== by 0xAAEDBD8: ??? (in /usr/lib/libkfile.so.4.3.0) ==23119== by 0x99CBF46: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2) ==23119== by 0x852BECB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2) ==23119== by 0x8533010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2) ==23119== by 0x7A1BE55: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.3.0) ==23119== by 0x99CCC2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2) The way to reproduce this quickly; * start kword with empty doc. * press save. Save with the name 'a.odt', press Ok. * press save-as. Save with name 'b.odt', press Ok On the pressing of "Ok" the above error occurs. *** This bug has been marked as a duplicate of bug 209173 *** |