Charm icon indicating copy to clipboard operation
Charm copied to clipboard

Crash when editing timesheet

Open amantia opened this issue 9 years ago • 6 comments

Open a report for last week, open the editor for last week, add a new entry. For me it crashes reproducibly when selecting the project code for which I want to add an entry, although it survives inside valgrind with tons of QSFPM issues (it crashes once I close the edit dialog).

charmtimetracker --version Charm version 1.8.0-131-g270c

valgrind output:

Legacy integer arithmetics implementation ==11780== Invalid read of size 8 ==11780== at 0x57E8F34: QSortFilterProxyModelPrivate::index_to_iterator(QModelIndex const&) const (qsortfilterproxymodel.cpp:191) ==11780== by 0x57E5058: QSortFilterProxyModel::parent(QModelIndex const&) const (qsortfilterproxymodel.cpp:1674) ==11780== by 0x68AEACF: QModelIndex::parent() const (in /data/development/sources/qt/lib/libQtCore.so.4.8.6) ==11780== by 0x68A861D: QAbstractItemModelPrivate::rowsAboutToBeRemoved(QModelIndex const&, int, int) (qabstractitemmodel.cpp:726) ==11780== by 0x68AB7E8: QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (qabstractitemmodel.cpp:2471) ==11780== by 0x57E0D10: QSortFilterProxyModelPrivate::remove_proxy_interval(QVector&, QVector&, int, int, QModelIndex const&, Qt::Orientation, bool) (qsortfilterproxymodel.cpp:557) ==11780== by 0x57E0C3A: QSortFilterProxyModelPrivate::remove_source_items(QVector&, QVector&, QVector const&, QModelIndex const&, Qt::Orientation, bool) (qsortfilterproxymodel.cpp:539) ==11780== by 0x57E3264: QSortFilterProxyModelPrivate::handle_filter_changed(QVector&, QVector&, QModelIndex const&, Qt::Orientation) (qsortfilterproxymodel.cpp:1105) ==11780== by 0x57E2DCC: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1037) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E7318: QSortFilterProxyModel::setFilterWildcard(QString const&) (qsortfilterproxymodel.cpp:2230) ==11780== Address 0xaf01c98 is 40 bytes inside a block of size 48 free'd ==11780== at 0x4C28FAC: operator delete(void_) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==11780== by 0x57DF998: QSortFilterProxyModelPrivate::remove_from_mapping(QModelIndex const&) (qsortfilterproxymodel.cpp:292) ==11780== by 0x57E2F06: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1050) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E7318: QSortFilterProxyModel::setFilterWildcard(QString const&) (qsortfilterproxymodel.cpp:2230) ==11780== by 0x47978E: SelectTaskDialog::qt_static_metacall(QObject_, QMetaObject::Call, int, void**) (in /data/kde4/bin/charmtimetracker) ==11780== by 0x68D61CF: QMetaObject::activate(QObject_, QMetaObject const_, int, void**) (qobject.cpp:3539) ==11780== by 0x4941CF: QSearchField::qt_static_metacall(QObject_, QMetaObject::Call, int, void__) (in /data/kde4/bin/charmtimetracker) ==11780== by 0x68D61CF: QMetaObject::activate(QObject_, QMetaObject const_, int, void__) (qobject.cpp:3539) ==11780== by 0x55EF0A2: QLineEdit::textChanged(QString const&) (moc_qlineedit.cpp:263) ==11780== ==11780== Invalid read of size 8 ==11780== at 0x57E8F97: QSortFilterProxyModelPrivate::index_to_iterator(QModelIndex const&) const (qsortfilterproxymodel.cpp:193)
==11780== by 0x57E5058: QSortFilterProxyModel::parent(QModelIndex const&) const (qsortfilterproxymodel.cpp:1674)
==11780== by 0x68AEACF: QModelIndex::parent() const (in /data/development/sources/qt/lib/libQtCore.so.4.8.6)
==11780== by 0x68A861D: QAbstractItemModelPrivate::rowsAboutToBeRemoved(QModelIndex const&, int, int) (qabstractitemmodel.cpp:726)
==11780== by 0x68AB7E8: QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (qabstractitemmodel.cpp:2471)
==11780== by 0x57E0D10: QSortFilterProxyModelPrivate::remove_proxy_interval(QVector&, QVector&, int, int, QModelIndex const&, Qt::Orientation, bool) (qsortfilterproxymodel.cpp:557)
==11780== by 0x57E0C3A: QSortFilterProxyModelPrivate::remove_source_items(QVector&, QVector&, QVector const&, QModelIndex const&, Qt::Orientation, bool) (qsortfilterproxymodel.cpp:539)
==11780== by 0x57E3264: QSortFilterProxyModelPrivate::handle_filter_changed(QVector&, QVector&, QModelIndex const&, Qt::Orientation) (qsortfilterproxymodel.cpp:1105)
==11780== by 0x57E2DCC: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1037)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E7318: QSortFilterProxyModel::setFilterWildcard(QString const&) (qsortfilterproxymodel.cpp:2230)
==11780== Address 0x2358c2c8 is 40 bytes inside a block of size 48 free'd
==11780== at 0x4C28ADC: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11780== by 0x6774865: qFree(void_) (qmalloc.cpp:60)
==11780== by 0x67A17CE: QHashData::freeNode(void_) (qhash.cpp:189)
==11780== by 0x57EAD79: QHash<QModelIndex, QSortFilterProxyModelPrivate::Mapping_>::deleteNode(QHashNode<QModelIndex, QSortFilterProxyModelPrivate::Mapping*>) (qhash.h:512)
==11780== by 0x57E95F5: QHash<QModelIndex, QSortFilterProxyModelPrivate::Mapping
>::take(QModelIndex const&) (qhash.h:817)
==11780== by 0x57DF926: QSortFilterProxyModelPrivate::remove_from_mapping(QModelIndex const&) (qsortfilterproxymodel.cpp:289)
==11780== by 0x57E2F06: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1050)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E7318: QSortFilterProxyModel::setFilterWildcard(QString const&) (qsortfilterproxymodel.cpp:2230)
==11780== by 0x47978E: SelectTaskDialog::qt_static_metacall(QObject_, QMetaObject::Call, int, void__) (in /data/kde4/bin/charmtimetracker)
==11780==
==11780== Invalid read of size 4
==11780== at 0x55A36E8: QModelIndex::QModelIndex(QModelIndex const&) (qabstractitemmodel.h:65)
==11780== by 0x57E50C9: QSortFilterProxyModel::parent(QModelIndex const&) const (qsortfilterproxymodel.cpp:1676)
==11780== by 0x68AEACF: QModelIndex::parent() const (in /data/development/sources/qt/lib/libQtCore.so.4.8.6)
==11780== by 0x68A861D: QAbstractItemModelPrivate::rowsAboutToBeRemoved(QModelIndex const&, int, int) (qabstractitemmodel.cpp:726)
==11780== by 0x68AB7E8: QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (qabstractitemmodel.cpp:2471)
==11780== by 0x57E0D10: QSortFilterProxyModelPrivate::remove_proxy_interval(QVector&, QVector&, int, int, QModelIndex const&, Qt::Orientation, bool) (qsortfilterproxymodel.cpp:557)
==11780== by 0x57E0C3A: QSortFilterProxyModelPrivate::remove_source_items(QVector&, QVector&, QVector const&, QModelIndex const&, Qt::Orientation, bool) (qsortfilterproxymodel.cpp:539)
==11780== by 0x57E3264: QSortFilterProxyModelPrivate::handle_filter_changed(QVector&, QVector&, QModelIndex const&, Qt::Orientation) (qsortfilterproxymodel.cpp:1105)
==11780== by 0x57E2DCC: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1037)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E7318: QSortFilterProxyModel::setFilterWildcard(QString const&) (qsortfilterproxymodel.cpp:2230)
==11780== Address 0x2358c2b0 is 16 bytes inside a block of size 48 free'd
==11780== at 0x4C28ADC: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11780== by 0x6774865: qFree(void_) (qmalloc.cpp:60)
==11780== by 0x67A17CE: QHashData::freeNode(void_) (qhash.cpp:189)
==11780== by 0x57EAD79: QHash<QModelIndex, QSortFilterProxyModelPrivate::Mapping_>::deleteNode(QHashNode<QModelIndex, QSortFilterProxyModelPrivate::Mapping*>) (qhash.h:512)
==11780== by 0x57E95F5: QHash<QModelIndex, QSortFilterProxyModelPrivate::Mapping
>::take(QModelIndex const&) (qhash.h:817)
==11780== by 0x57DF926: QSortFilterProxyModelPrivate::remove_from_mapping(QModelIndex const&) (qsortfilterproxymodel.cpp:289)
==11780== by 0x57E2F06: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1050)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E7318: QSortFilterProxyModel::setFilterWildcard(QString const&) (qsortfilterproxymodel.cpp:2230)
==11780== by 0x47978E: SelectTaskDialog::qt_static_metacall(QObject_, QMetaObject::Call, int, void__) (in /data/kde4/bin/charmtimetracker)
==11780==
==11780== Invalid read of size 4
==11780== at 0x55A36F4: QModelIndex::QModelIndex(QModelIndex const&) (qabstractitemmodel.h:65)
==11780== by 0x57E50C9: QSortFilterProxyModel::parent(QModelIndex const&) const (qsortfilterproxymodel.cpp:1676)
==11780== by 0x68AEACF: QModelIndex::parent() const (in /data/development/sources/qt/lib/libQtCore.so.4.8.6)
==11780== by 0x68A861D: QAbstractItemModelPrivate::rowsAboutToBeRemoved(QModelIndex const&, int, int) (qabstractitemmodel.cpp:726)
==11780== by 0x68AB7E8: QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (qabstractitemmodel.cpp:2471)
==11780== by 0x57E0D10: QSortFilterProxyModelPrivate::remove_proxy_interval(QVector&, QVector&, int, int, QModelIndex const&, Qt::Orientation, bool) (qsortfilterproxymodel.cpp:557)
==11780== by 0x57E0C3A: QSortFilterProxyModelPrivate::remove_source_items(QVector&, QVector&, QVector const&, QModelIndex const&, Qt::Orientation, bool) (qsortfilterproxymodel.cpp:539)
==11780== by 0x57E3264: QSortFilterProxyModelPrivate::handle_filter_changed(QVector&, QVector&, QModelIndex const&, Qt::Orientation) (qsortfilterproxymodel.cpp:1105)
==11780== by 0x57E2DCC: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1037)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E7318: QSortFilterProxyModel::setFilterWildcard(QString const&) (qsortfilterproxymodel.cpp:2230)
==11780== Address 0x2358c2b4 is 20 bytes inside a block of size 48 free'd
==11780== at 0x4C28ADC: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11780== by 0x6774865: qFree(void_) (qmalloc.cpp:60)
==11780== by 0x67A17CE: QHashData::freeNode(void_) (qhash.cpp:189)
==11780== by 0x57EAD79: QHash<QModelIndex, QSortFilterProxyModelPrivate::Mapping_>::deleteNode(QHashNode<QModelIndex, QSortFilterProxyModelPrivate::Mapping*>) (qhash.h:512)
==11780== by 0x57E95F5: QHash<QModelIndex, QSortFilterProxyModelPrivate::Mapping
>::take(QModelIndex const&) (qhash.h:817)
==11780== by 0x57DF926: QSortFilterProxyModelPrivate::remove_from_mapping(QModelIndex const&) (qsortfilterproxymodel.cpp:289)
==11780== by 0x57E2F06: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1050)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E7318: QSortFilterProxyModel::setFilterWildcard(QString const&) (qsortfilterproxymodel.cpp:2230)
==11780== by 0x47978E: SelectTaskDialog::qt_static_metacall(QObject_, QMetaObject::Call, int, void__) (in /data/kde4/bin/charmtimetracker)
==11780==
==11780== Invalid read of size 8
==11780== at 0x55A3702: QModelIndex::QModelIndex(QModelIndex const&) (qabstractitemmodel.h:65)
==11780== by 0x57E50C9: QSortFilterProxyModel::parent(QModelIndex const&) const (qsortfilterproxymodel.cpp:1676)
==11780== by 0x68AEACF: QModelIndex::parent() const (in /data/development/sources/qt/lib/libQtCore.so.4.8.6)
==11780== by 0x68A861D: QAbstractItemModelPrivate::rowsAboutToBeRemoved(QModelIndex const&, int, int) (qabstractitemmodel.cpp:726)
==11780== by 0x68AB7E8: QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (qabstractitemmodel.cpp:2471)
==11780== by 0x57E0D10: QSortFilterProxyModelPrivate::remove_proxy_interval(QVector&, QVector&, int, int, QModelIndex const&, Qt::Orientation, bool) (qsortfilterproxymodel.cpp:557)
==11780== by 0x57E0C3A: QSortFilterProxyModelPrivate::remove_source_items(QVector&, QVector&, QVector const&, QModelIndex const&, Qt::Orientation, bool) (qsortfilterproxymodel.cpp:539)
==11780== by 0x57E3264: QSortFilterProxyModelPrivate::handle_filter_changed(QVector&, QVector&, QModelIndex const&, Qt::Orientation) (qsortfilterproxymodel.cpp:1105)
==11780== by 0x57E2DCC: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1037)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052)
==11780== by 0x57E7318: QSortFilterProxyModel::setFilterWildcard(QString const&) (qsortfilterproxymodel.cpp:2230)
==11780== Address 0x2358c2b8 is 24 bytes inside a block of size 48 free'd
==11780== at 0x4C28ADC: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==11780== by 0x6774865: qFree(void_) (qmalloc.cpp:60) ==11780== by 0x67A17CE: QHashData::freeNode(void_) (qhash.cpp:189) ==11780== by 0x57EAD79: QHash<QModelIndex, QSortFilterProxyModelPrivate::Mapping_>::deleteNode(QHashNode<QModelIndex, QSortFilterProxyModelPrivate::Mapping*>) (qhash.h:512) ==11780== by 0x57E95F5: QHash<QModelIndex, QSortFilterProxyModelPrivate::Mapping>::take(QModelIndex const&) (qhash.h:817) ==11780== by 0x57DF926: QSortFilterProxyModelPrivate::remove_from_mapping(QModelIndex const&) (qsortfilterproxymodel.cpp:289) ==11780== by 0x57E2F06: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1050) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E7318: QSortFilterProxyModel::setFilterWildcard(QString const&) (qsortfilterproxymodel.cpp:2230) ==11780== by 0x47978E: SelectTaskDialog::qt_static_metacall(QObject_, QMetaObject::Call, int, void__) (in /data/kde4/bin/charmtimetracker) ==11780== ==11780== Invalid read of size 8 ==11780== at 0x55A3712: QModelIndex::QModelIndex(QModelIndex const&) (qabstractitemmodel.h:65) ==11780== by 0x57E50C9: QSortFilterProxyModel::parent(QModelIndex const&) const (qsortfilterproxymodel.cpp:1676) ==11780== by 0x68AEACF: QModelIndex::parent() const (in /data/development/sources/qt/lib/libQtCore.so.4.8.6) ==11780== by 0x68A861D: QAbstractItemModelPrivate::rowsAboutToBeRemoved(QModelIndex const&, int, int) (qabstractitemmodel.cpp:726) ==11780== by 0x68AB7E8: QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (qabstractitemmodel.cpp:2471) ==11780== by 0x57E0D10: QSortFilterProxyModelPrivate::remove_proxy_interval(QVector&, QVector&, int, int, QModelIndex const&, Qt::Orientation, bool) (qsortfilterproxymodel.cpp:557) ==11780== by 0x57E0C3A: QSortFilterProxyModelPrivate::remove_source_items(QVector&, QVector&, QVector const&, QModelIndex const&, Qt::Orientation, bool) (qsortfilterproxymodel.cpp:539) ==11780== by 0x57E3264: QSortFilterProxyModelPrivate::handle_filter_changed(QVector&, QVector&, QModelIndex const&, Qt::Orientation) (qsortfilterproxymodel.cpp:1105) ==11780== by 0x57E2DCC: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1037) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E7318: QSortFilterProxyModel::setFilterWildcard(QString const&) (qsortfilterproxymodel.cpp:2230) ==11780== Address 0x2358c2c0 is 32 bytes inside a block of size 48 free'd ==11780== at 0x4C28ADC: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==11780== by 0x6774865: qFree(void_) (qmalloc.cpp:60) ==11780== by 0x67A17CE: QHashData::freeNode(void_) (qhash.cpp:189) ==11780== by 0x57EAD79: QHash<QModelIndex, QSortFilterProxyModelPrivate::Mapping_>::deleteNode(QHashNode<QModelIndex, QSortFilterProxyModelPrivate::Mapping*>) (qhash.h:512) ==11780== by 0x57E95F5: QHash<QModelIndex, QSortFilterProxyModelPrivate::Mapping>::take(QModelIndex const&) (qhash.h:817) ==11780== by 0x57DF926: QSortFilterProxyModelPrivate::remove_from_mapping(QModelIndex const&) (qsortfilterproxymodel.cpp:289) ==11780== by 0x57E2F06: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1050) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E2F21: QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) (qsortfilterproxymodel.cpp:1052) ==11780== by 0x57E7318: QSortFilterProxyModel::setFilterWildcard(QString const&) (qsortfilterproxymodel.cpp:2230) ==11780== by 0x47978E: SelectTaskDialog::qt_static_metacall(QObject_, QMetaObject::Call, int, void__) (in /data/kde4/bin/charmtimetracker) ==11780== Could not download timesheet status: Protocol "" is unknown ==11780== Invalid read of size 8
==11780== at 0x57E8F34: QSortFilterProxyModelPrivate::index_to_iterator(QModelIndex const&) const (qsortfilterproxymodel.cpp:191)
==11780== by 0x57E0000: QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const (qsortfilterproxymodel.cpp:368)
==11780== by 0x57E806E: QSortFilterProxyModel::mapToSource(QModelIndex const&) const (qsortfilterproxymodel.cpp:2519)
==11780== by 0x57E2947: QSortFilterProxyModelPrivate::store_persistent_indexes() (qsortfilterproxymodel.cpp:996)
==11780== by 0x57DF9BF: QSortFilterProxyModelPrivate::q_clearMapping() (qsortfilterproxymodel.cpp:299)
==11780== by 0x57DF8F9: QSortFilterProxyModelPrivate::q_sourceModelDestroyed() (qsortfilterproxymodel.cpp:284)
==11780== by 0x57DF63D: QAbstractProxyModel::qt_static_metacall(QObject
, QMetaObject::Call, int, void**) (moc_qabstractproxymodel.cpp:48)
==11780== by 0x68D61CF: QMetaObject::activate(QObject
, QMetaObject const_, int, void**) (qobject.cpp:3539)
==11780== by 0x68D7E4C: QObject::destroyed(QObject_) (moc_qobject.cpp:148)
==11780== by 0x68D0411: QObject::~QObject() (qobject.cpp:843)
==11780== by 0x68A9922: QAbstractItemModel::~QAbstractItemModel() (qabstractitemmodel.cpp:1389)
==11780== by 0x423E79: ViewFilter::~ViewFilter() (in /data/kde4/bin/charmtimetracker)
==11780== Address 0x23589c08 is 40 bytes inside a block of size 42 free'd
==11780== at 0x4C28ADC: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11780== by 0x6774865: qFree(void_) (qmalloc.cpp:60)
==11780== by 0x67D7771: QString::free(QString::Data_) (qstring.cpp:1235)
==11780== by 0x4ACC49: CharmDataModel::taskIdAndFullNameString(int) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x4252DE: TaskModelAdapter::data(QModelIndex const&, int) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x57E7EF4: QSortFilterProxyModel::filterAcceptsRow(int, QModelIndex const&) const (qsortfilterproxymodel.cpp:2486)
==11780== by 0x42407C: ViewFilter::filterAcceptsRow(int, QModelIndex const&) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x4240E9: ViewFilter::filterAcceptsRow(int, QModelIndex const&) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x4240E9: ViewFilter::filterAcceptsRow(int, QModelIndex const&) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x57DFBA1: QSortFilterProxyModelPrivate::create_mapping(QModelIndex const&) const (qsortfilterproxymodel.cpp:327)
==11780== by 0x57E01FB: QSortFilterProxyModelPrivate::source_to_proxy(QModelIndex const&) const (qsortfilterproxymodel.cpp:387)
==11780== by 0x57E80B0: QSortFilterProxyModel::mapFromSource(QModelIndex const&) const (qsortfilterproxymodel.cpp:2531)
==11780==
==11780== Invalid read of size 8
==11780== at 0x57E8F97: QSortFilterProxyModelPrivate::index_to_iterator(QModelIndex const&) const (qsortfilterproxymodel.cpp:193)
==11780== by 0x57E0000: QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const (qsortfilterproxymodel.cpp:368)
==11780== by 0x57E806E: QSortFilterProxyModel::mapToSource(QModelIndex const&) const (qsortfilterproxymodel.cpp:2519)
==11780== by 0x57E2947: QSortFilterProxyModelPrivate::store_persistent_indexes() (qsortfilterproxymodel.cpp:996)
==11780== by 0x57DF9BF: QSortFilterProxyModelPrivate::q_clearMapping() (qsortfilterproxymodel.cpp:299)
==11780== by 0x57DF8F9: QSortFilterProxyModelPrivate::q_sourceModelDestroyed() (qsortfilterproxymodel.cpp:284)
==11780== by 0x57DF63D: QAbstractProxyModel::qt_static_metacall(QObject
, QMetaObject::Call, int, void**) (moc_qabstractproxymodel.cpp:48)
==11780== by 0x68D61CF: QMetaObject::activate(QObject
, QMetaObject const_, int, void**) (qobject.cpp:3539)
==11780== by 0x68D7E4C: QObject::destroyed(QObject_) (moc_qobject.cpp:148)
==11780== by 0x68D0411: QObject::~QObject() (qobject.cpp:843)
==11780== by 0x68A9922: QAbstractItemModel::~QAbstractItemModel() (qabstractitemmodel.cpp:1389)
==11780== by 0x423E79: ViewFilter::~ViewFilter() (in /data/kde4/bin/charmtimetracker)
==11780== Address 0xaf01b48 is 0 bytes after a block of size 40 free'd
==11780== at 0x4C28ADC: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11780== by 0x6774865: qFree(void_) (qmalloc.cpp:60)
==11780== by 0x67D7771: QString::free(QString::Data_) (qstring.cpp:1235)
==11780== by 0x675666C: QString::~QString() (in /data/development/sources/qt/lib/libQtCore.so.4.8.6)
==11780== by 0x67E2B44: QString::arg(long long, int, int, QChar const&) const (qstring.cpp:6781)
==11780== by 0x4ACBD9: CharmDataModel::taskIdAndFullNameString(int) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x4252DE: TaskModelAdapter::data(QModelIndex const&, int) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x57E7EF4: QSortFilterProxyModel::filterAcceptsRow(int, QModelIndex const&) const (qsortfilterproxymodel.cpp:2486)
==11780== by 0x42407C: ViewFilter::filterAcceptsRow(int, QModelIndex const&) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x4240E9: ViewFilter::filterAcceptsRow(int, QModelIndex const&) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x4240E9: ViewFilter::filterAcceptsRow(int, QModelIndex const&) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x57DFBA1: QSortFilterProxyModelPrivate::create_mapping(QModelIndex const&) const (qsortfilterproxymodel.cpp:327)
==11780==
==11780== Invalid read of size 8
==11780== at 0x57E0011: QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const (qsortfilterproxymodel.cpp:369)
==11780== by 0x57E806E: QSortFilterProxyModel::mapToSource(QModelIndex const&) const (qsortfilterproxymodel.cpp:2519)
==11780== by 0x57E2947: QSortFilterProxyModelPrivate::store_persistent_indexes() (qsortfilterproxymodel.cpp:996)
==11780== by 0x57DF9BF: QSortFilterProxyModelPrivate::q_clearMapping() (qsortfilterproxymodel.cpp:299)
==11780== by 0x57DF8F9: QSortFilterProxyModelPrivate::q_sourceModelDestroyed() (qsortfilterproxymodel.cpp:284)
==11780== by 0x57DF63D: QAbstractProxyModel::qt_static_metacall(QObject
, QMetaObject::Call, int, void**) (moc_qabstractproxymodel.cpp:48)
==11780== by 0x68D61CF: QMetaObject::activate(QObject
, QMetaObject const_, int, void**) (qobject.cpp:3539)
==11780== by 0x68D7E4C: QObject::destroyed(QObject_) (moc_qobject.cpp:148)
==11780== by 0x68D0411: QObject::~QObject() (qobject.cpp:843)
==11780== by 0x68A9922: QAbstractItemModel::~QAbstractItemModel() (qabstractitemmodel.cpp:1389)
==11780== by 0x423E79: ViewFilter::~ViewFilter() (in /data/kde4/bin/charmtimetracker)
==11780== by 0x47828A: SelectTaskDialog::~SelectTaskDialog() (in /data/kde4/bin/charmtimetracker)
==11780== Address 0xaf01b48 is 0 bytes after a block of size 40 free'd
==11780== at 0x4C28ADC: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11780== by 0x6774865: qFree(void_) (qmalloc.cpp:60)
==11780== by 0x67D7771: QString::free(QString::Data_) (qstring.cpp:1235)
==11780== by 0x675666C: QString::~QString() (in /data/development/sources/qt/lib/libQtCore.so.4.8.6)
==11780== by 0x67E2B44: QString::arg(long long, int, int, QChar const&) const (qstring.cpp:6781)
==11780== by 0x4ACBD9: CharmDataModel::taskIdAndFullNameString(int) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x4252DE: TaskModelAdapter::data(QModelIndex const&, int) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x57E7EF4: QSortFilterProxyModel::filterAcceptsRow(int, QModelIndex const&) const (qsortfilterproxymodel.cpp:2486)
==11780== by 0x42407C: ViewFilter::filterAcceptsRow(int, QModelIndex const&) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x4240E9: ViewFilter::filterAcceptsRow(int, QModelIndex const&) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x4240E9: ViewFilter::filterAcceptsRow(int, QModelIndex const&) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x57DFBA1: QSortFilterProxyModelPrivate::create_mapping(QModelIndex const&) const (qsortfilterproxymodel.cpp:327)
==11780==
==11780== Invalid read of size 8
==11780== at 0x5273748: QVector::size() const (qvector.h:137)
==11780== by 0x57E0031: QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const (qsortfilterproxymodel.cpp:370)
==11780== by 0x57E806E: QSortFilterProxyModel::mapToSource(QModelIndex const&) const (qsortfilterproxymodel.cpp:2519)
==11780== by 0x57E2947: QSortFilterProxyModelPrivate::store_persistent_indexes() (qsortfilterproxymodel.cpp:996)
==11780== by 0x57DF9BF: QSortFilterProxyModelPrivate::q_clearMapping() (qsortfilterproxymodel.cpp:299)
==11780== by 0x57DF8F9: QSortFilterProxyModelPrivate::q_sourceModelDestroyed() (qsortfilterproxymodel.cpp:284)
==11780== by 0x57DF63D: QAbstractProxyModel::qt_static_metacall(QObject
, QMetaObject::Call, int, void**) (moc_qabstractproxymodel.cpp:48)
==11780== by 0x68D61CF: QMetaObject::activate(QObject
, QMetaObject const_, int, void**) (qobject.cpp:3539)
==11780== by 0x68D7E4C: QObject::destroyed(QObject_) (moc_qobject.cpp:148)
==11780== by 0x68D0411: QObject::~QObject() (qobject.cpp:843)
==11780== by 0x68A9922: QAbstractItemModel::~QAbstractItemModel() (qabstractitemmodel.cpp:1389)
==11780== by 0x423E79: ViewFilter::~ViewFilter() (in /data/kde4/bin/charmtimetracker)
==11780== Address 0x23589be0 is 0 bytes inside a block of size 42 free'd
==11780== at 0x4C28ADC: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11780== by 0x6774865: qFree(void_) (qmalloc.cpp:60)
==11780== by 0x67D7771: QString::free(QString::Data_) (qstring.cpp:1235)
==11780== by 0x4ACC49: CharmDataModel::taskIdAndFullNameString(int) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x4252DE: TaskModelAdapter::data(QModelIndex const&, int) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x57E7EF4: QSortFilterProxyModel::filterAcceptsRow(int, QModelIndex const&) const (qsortfilterproxymodel.cpp:2486)
==11780== by 0x42407C: ViewFilter::filterAcceptsRow(int, QModelIndex const&) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x4240E9: ViewFilter::filterAcceptsRow(int, QModelIndex const&) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x4240E9: ViewFilter::filterAcceptsRow(int, QModelIndex const&) const (in /data/kde4/bin/charmtimetracker)
==11780== by 0x57DFBA1: QSortFilterProxyModelPrivate::create_mapping(QModelIndex const&) const (qsortfilterproxymodel.cpp:327)
==11780== by 0x57E01FB: QSortFilterProxyModelPrivate::source_to_proxy(QModelIndex const&) const (qsortfilterproxymodel.cpp:387)
==11780== by 0x57E80B0: QSortFilterProxyModel::mapFromSource(QModelIndex const&) const (qsortfilterproxymodel.cpp:2531)
==11780==
==11780== Invalid read of size 4
==11780== at 0x527374B: QVector::size() const (qvector.h:137)
==11780== by 0x57E0031: QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const (qsortfilterproxymodel.cpp:370)
==11780== by 0x57E806E: QSortFilterProxyModel::mapToSource(QModelIndex const&) const (qsortfilterproxymodel.cpp:2519)
==11780== by 0x57E2947: QSortFilterProxyModelPrivate::store_persistent_indexes() (qsortfilterproxymodel.cpp:996)
==11780== by 0x57DF9BF: QSortFilterProxyModelPrivate::q_clearMapping() (qsortfilterproxymodel.cpp:299)
==11780== by 0x57DF8F9: QSortFilterProxyModelPrivate::q_sourceModelDestroyed() (qsortfilterproxymodel.cpp:284) ==11780== by 0x57DF63D: QAbstractProxyModel::qt_static_metacall(QObject, QMetaObject::Call, int, void**) (moc_qabstractproxymodel.cpp:48) ==11780== by 0x68D61CF: QMetaObject::activate(QObject
, QMetaObject const_, int, void**) (qobject.cpp:3539) ==11780== by 0x68D7E4C: QObject::destroyed(QObject_) (moc_qobject.cpp:148) ==11780== by 0x68D0411: QObject::~QObject() (qobject.cpp:843) ==11780== by 0x68A9922: QAbstractItemModel::~QAbstractItemModel() (qabstractitemmodel.cpp:1389) ==11780== by 0x423E79: ViewFilter::~ViewFilter() (in /data/kde4/bin/charmtimetracker) ==11780== Address 0x500000008 is not stack'd, malloc'd or (recently) free'd ==11780== ==11780== ==11780== Process terminating with default action of signal 11 (SIGSEGV) ==11780== Access not within mapped region at address 0x500000008 ==11780== at 0x527374B: QVector::size() const (qvector.h:137) ==11780== by 0x57E0031: QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const (qsortfilterproxymodel.cpp:370) ==11780== by 0x57E806E: QSortFilterProxyModel::mapToSource(QModelIndex const&) const (qsortfilterproxymodel.cpp:2519) ==11780== by 0x57E2947: QSortFilterProxyModelPrivate::store_persistent_indexes() (qsortfilterproxymodel.cpp:996) ==11780== by 0x57DF9BF: QSortFilterProxyModelPrivate::q_clearMapping() (qsortfilterproxymodel.cpp:299) ==11780== by 0x57DF8F9: QSortFilterProxyModelPrivate::q_sourceModelDestroyed() (qsortfilterproxymodel.cpp:284) ==11780== by 0x57DF63D: QAbstractProxyModel::qt_static_metacall(QObject, QMetaObject::Call, int, void**) (moc_qabstractproxymodel.cpp:48) ==11780== by 0x68D61CF: QMetaObject::activate(QObject, QMetaObject const_, int, void**) (qobject.cpp:3539) ==11780== by 0x68D7E4C: QObject::destroyed(QObject*) (moc_qobject.cpp:148) ==11780== by 0x68D0411: QObject::~QObject() (qobject.cpp:843) ==11780== by 0x68A9922: QAbstractItemModel::~QAbstractItemModel() (qabstractitemmodel.cpp:1389) ==11780== by 0x423E79: ViewFilter::~ViewFilter() (in /data/kde4/bin/charmtimetracker) ==11780== If you believe this happened as a result of a stack ==11780== overflow in your program's main thread (unlikely but ==11780== possible), you can try to increase the size of the ==11780== main thread stack using the --main-stacksize= flag. ==11780== The main thread stack size used in this run was 8388608. ==11780== ==11780== HEAP SUMMARY: ==11780== in use at exit: 9,959,971 bytes in 78,894 blocks ==11780== total heap usage: 1,460,514 allocs, 1,381,620 frees, 982,809,943 bytes allocated ==11780== ==11780== LEAK SUMMARY: ==11780== definitely lost: 15,648 bytes in 23 blocks ==11780== indirectly lost: 43,817 bytes in 1,826 blocks ==11780== possibly lost: 2,054,798 bytes in 10,732 blocks ==11780== still reachable: 7,845,708 bytes in 66,313 blocks ==11780== suppressed: 0 bytes in 0 blocks ==11780== Rerun with --leak-check=full to see details of leaked memory ==11780== ==11780== For counts of detected and suppressed errors, rerun with: -v ==11780== ERROR SUMMARY: 947 errors from 11 contexts (suppressed: 3 from 3) Killed

amantia avatar Oct 20 '14 13:10 amantia

I also saw these but couldn't reliably reproduce them.

frankosterfeld avatar Oct 20 '14 14:10 frankosterfeld

@amantia Still seeing such crashes?

frankosterfeld avatar Apr 20 '15 10:04 frankosterfeld

I could not reproduce!

mgiroday avatar Apr 22 '15 12:04 mgiroday

Closing as not reproducible anymore. Please reopen if you still see it with recent builds.

frankosterfeld avatar Jun 11 '15 14:06 frankosterfeld

Andreas got the same with current git master

(gdb) bt #0 index_to_iterator (proxy_index=..., this=0xb098e0) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:187 #1 QSortFilterProxyModel::parent (this=0x7fffffffcf70, child=...) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1872 #2 0x00007ffff6e07d32 in parent (this=0x7fffffffbcd0) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qabstractitemmodel.h:411 #3 QAbstractItemModelPrivate::rowsAboutToBeRemoved (this=this@entry=0xb098e0, parent=..., first=first@entry=0, last=last@entry=0) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp:739 #4 0x00007ffff6e0b89d in QAbstractItemModel::beginRemoveRows (this=this@entry=0x7fffffffcf70, parent=..., first=first@entry=0, last=last@entry=0) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp:2657 #5 0x00007ffff6e273f9 in QSortFilterProxyModelPrivate::remove_proxy_interval (this=this@entry=0xb098e0, source_to_proxy=..., proxy_to_source=..., proxy_start=0, proxy_end=0, proxy_parent=..., orient=Qt::Vertical, emit_signal=true) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:576 #6 0x00007ffff6e2cc03 in QSortFilterProxyModelPrivate::remove_source_items (this=this@entry=0xb098e0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=true) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:558 #7 0x00007ffff6e2d146 in QSortFilterProxyModelPrivate::handle_filter_changed (this=this@entry=0xb098e0, source_to_proxy=..., proxy_to_source=..., source_parent=..., orient=orient@entry=Qt::Vertical) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1125 #8 0x00007ffff6e2d3d1 in QSortFilterProxyModelPrivate::filter_changed (this=this@entry=0xb098e0, source_parent=...) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1057 #9 0x00007ffff6e2d604 in QSortFilterProxyModelPrivate::filter_changed (this=this@entry=0xb098e0, source_parent=...) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1072 #10 0x00007ffff6e2d604 in QSortFilterProxyModelPrivate::filter_changed (this=this@entry=0xb098e0, source_parent=...) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1072 #11 0x00007ffff6e2da7c in QSortFilterProxyModel::setFilterWildcard (this=, pattern=...) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:2428 #12 0x0000000000492e75 in SelectTaskDialog::slotFilterTextChanged(QString const&) () #13 0x00007ffff6e831e7 in QMetaObject::activate (sender=sender@entry=0xae54a0, signalOffset=, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffc340) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qobject.cpp:3718 #14 0x00007ffff6e8356f in QMetaObject::activate (sender=0xae54a0, m=m@entry=0x7ffff7cb6900 QLineEdit::staticMetaObject, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffc340) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qobject.cpp:3583 #15 0x00007ffff78d2117 in QLineEdit::textChanged (this=, _t1=...) at .moc/moc_qlineedit.cpp:410 #16 0x00007ffff78d8187 in QLineEdit::qt_static_metacall (_o=, _c=, _id=, a=) at .moc/moc_qlineedit.cpp:237 #17 0x00007ffff6e831e7 in QMetaObject::activate (sender=sender@entry=0xb10aa0, signalOffset=, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffffffc4c0) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qobject.cpp:3718 #18 0x00007ffff6e8356f in QMetaObject::activate (sender=sender@entry=0xb10aa0, m=m@entry=0x7ffff7cd83c0 QWidgetLineControl::staticMetaObject, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffffffc4c0) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qobject.cpp:3583 #19 0x00007ffff7b2f241 in QWidgetLineControl::textChanged (this=this@entry=0xb10aa0, t1=...) at .moc/moc_qwidgetlinecontrol_p.cpp:251 #20 0x00007ffff7963aad in QWidgetLineControl::finishChange (this=this@entry=0xb10aa0, validateFromState=validateFromState@entry=2, update=update@entry=false, edited=edited@entry=true) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/widgets/qwidgetlinecontrol.cpp:712 #21 0x00007ffff7964c5e in QWidgetLineControl::insert (this=this@entry=0xb10aa0, newText=...) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/widgets/qwidgetlinecontrol.cpp:265 #22 0x00007ffff7966661 in QWidgetLineControl::processKeyEvent (this=0xb10aa0, event=event@entry=0x7fffffffcb90) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/widgets/qwidgetlinecontrol.cpp:1888 #23 0x00007ffff78d2266 in QLineEdit::keyPressEvent (this=0xae54a0, event=0x7fffffffcb90) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/widgets/qlineedit.cpp:1693 #24 0x00007ffff77e0c14 in QWidget::event (this=this@entry=0xae54a0, event=event@entry=0x7fffffffcb90) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qwidget.cpp:8695 #25 0x00007ffff78d8882 in QLineEdit::event (this=0xae54a0, e=0x7fffffffcb90) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/widgets/qlineedit.cpp:1456 #26 0x00007ffff7797ab0 in QApplicationPrivate::notify_helper (this=this@entry=0x559020, receiver=receiver@entry=0xae54a0, e=e@entry=0x7fffffffcb90) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qapplication.cpp:3717 #27 0x00007ffff779ea86 in QApplication::notify (this=, receiver=0xae54a0, e=0x7fffffffcb90) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qapplication.cpp:3180 #28 0x00007ffff6e53dbb in QCoreApplication::notifyInternal (this=0x7fffffffdf50, receiver=0xae54a0, event=event@entry=0x7fffffffcb90) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qcoreapplication.cpp:965 #29 0x00007ffff77f9df0 in sendSpontaneousEvent (event=0x7fffffffcb90, receiver=) at ../../include/QtCore/../../../../../../../../opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qcoreapplication.h:227 #30 QWidgetWindow::handleKeyEvent (this=this@entry=0x8f07e0, event=event@entry=0x7fffffffcb90) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qwidgetwindow.cpp:593 #31 0x00007ffff77fdad0 in QWidgetWindow::event (this=0x8f07e0, event=0x7fffffffcb90) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qwidgetwindow.cpp:203 #32 0x00007ffff7797ab0 in QApplicationPrivate::notify_helper (this=this@entry=0x559020, receiver=receiver@entry=0x8f07e0, e=e@entry=0x7fffffffcb90) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qapplication.cpp:3717 #33 0x00007ffff779cddd in QApplication::notify (this=0x7fffffffdf50, receiver=0x8f07e0, e=0x7fffffffcb90) ---Type to continue, or q to quit--- at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qapplication.cpp:3161 #34 0x00007ffff6e53dbb in QCoreApplication::notifyInternal (this=0x7fffffffdf50, receiver=receiver@entry=0x8f07e0, event=event@entry=0x7fffffffcb90) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qcoreapplication.cpp:965 #35 0x00007ffff71f2d95 in sendSpontaneousEvent (event=0x7fffffffcb90, receiver=0x8f07e0) at ../../include/QtCore/../../../../../../../../opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qcoreapplication.h:227 #36 QGuiApplicationPrivate::processKeyEvent (e=0xb63240) at /opt/src/ksrc5/qt/stable/qtbase/src/gui/kernel/qguiapplication.cpp:1899 #37 0x00007ffff71f7c26 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0xb63240) at /opt/src/ksrc5/qt/stable/qtbase/src/gui/kernel/qguiapplication.cpp:1588 #38 0x00007ffff71dfcf4 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /opt/src/ksrc5/qt/stable/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:608 #39 0x00007ffff0283420 in userEventSourceDispatch (source=) at /opt/src/ksrc5/qt/stable/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:70 #40 0x00007ffff4a82c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #41 0x00007ffff4a82f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #42 0x00007ffff4a82fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #43 0x00007ffff6ea92ea in QEventDispatcherGlib::processEvents (this=0x5b38c0, flags=...) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:418 #44 0x00007ffff0283580 in QPAEventDispatcherGlib::processEvents (this=, flags=...) at /opt/src/ksrc5/qt/stable/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:115 #45 0x00007ffff6e52da0 in QEventLoop::processEvents (this=this@entry=0x7fffffffce90, flags=..., flags@entry=...) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qeventloop.cpp:128 #46 0x00007ffff6e531ad in QEventLoop::exec (this=this@entry=0x7fffffffce90, flags=..., flags@entry=...) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qeventloop.cpp:204 #47 0x00007ffff79808ef in QDialog::exec (this=0x7fffffffcf30) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/dialogs/qdialog.cpp:544 #48 0x0000000000487059 in EventView::slotNewEvent() () #49 0x0000000000487625 in EventView::qt_static_metacall(QObject, QMetaObject::Call, int, void*) () #50 0x00007ffff6e831e7 in QMetaObject::activate (sender=sender@entry=0x7208f8, signalOffset=, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffd220) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qobject.cpp:3718 #51 0x00007ffff6e8356f in QMetaObject::activate (sender=sender@entry=0x7208f8, m=m@entry=0x7ffff7cafe40 QAction::staticMetaObject, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffd220) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qobject.cpp:3583 #52 0x00007ffff778d4e2 in QAction::triggered (this=this@entry=0x7208f8, _t1=false) at .moc/moc_qaction.cpp:365 #53 0x00007ffff778ff91 in QAction::activate (this=0x7208f8, event=event@entry=QAction::Trigger) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qaction.cpp:1167 #54 0x00007ffff7947caa in trigger (this=) at ../../include/QtWidgets/../../../../../../../../opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qaction.h:177 #55 QToolButton::nextCheckState (this=) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/widgets/qtoolbutton.cpp:949 #56 0x00007ffff78809d7 in QAbstractButtonPrivate::click (this=this@entry=0x74eb50) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/widgets/qabstractbutton.cpp:516 #57 0x00007ffff7880cb3 in QAbstractButton::mouseReleaseEvent (this=0x7c4e70, e=0x7fffffffd710) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/widgets/qabstractbutton.cpp:1132 #58 0x00007ffff7947c58 in QToolButton::mouseReleaseEvent (this=, e=) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/widgets/qtoolbutton.cpp:609 #59 0x00007ffff77e0b33 in QWidget::event (this=0x7c4e70, event=0x7fffffffd710) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qwidget.cpp:8665 #60 0x00007ffff7882004 in QAbstractButton::event (this=this@entry=0x7c4e70, e=e@entry=0x7fffffffd710) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/widgets/qabstractbutton.cpp:1089 #61 0x00007ffff7947d92 in QToolButton::event (this=0x7c4e70, event=0x7fffffffd710) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/widgets/qtoolbutton.cpp:965 #62 0x00007ffff7797ab0 in QApplicationPrivate::notify_helper (this=this@entry=0x559020, receiver=receiver@entry=0x7c4e70, e=e@entry=0x7fffffffd710) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qapplication.cpp:3717 #63 0x00007ffff779d2dd in QApplication::notify (this=, receiver=0x7c4e70, e=0x7fffffffd710) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qapplication.cpp:3277 #64 0x00007ffff6e53dbb in QCoreApplication::notifyInternal (this=0x7fffffffdf50, receiver=receiver@entry=0x7c4e70, event=event@entry=0x7fffffffd710) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qcoreapplication.cpp:965 #65 0x00007ffff779c0b3 in sendSpontaneousEvent (event=0x7fffffffd710, receiver=0x7c4e70) at ../../include/QtCore/../../../../../../../../opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qcoreapplication.h:227 #66 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x7c4e70, event=event@entry=0x7fffffffd710, alienWidget=, alienWidget@entry=0x7c4e70, nativeWidget=0x5e50a8, buttonDown=buttonDown@entry=0x7ffff7ce2af0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qapplication.cpp:2771 #67 0x00007ffff77fc1c6 in QWidgetWindow::handleMouseEvent (this=this@entry=0x7174f0, event=event@entry=0x7fffffffdae0) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qwidgetwindow.cpp:555 #68 0x00007ffff77fdae5 in QWidgetWindow::event (this=0x7174f0, event=0x7fffffffdae0) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qwidgetwindow.cpp:210 #69 0x00007ffff7797ab0 in QApplicationPrivate::notify_helper (this=this@entry=0x559020, receiver=receiver@entry=0x7174f0, e=e@entry=0x7fffffffdae0) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qapplication.cpp:3717 #70 0x00007ffff779cddd in QApplication::notify (this=0x7fffffffdf50, receiver=0x7174f0, e=0x7fffffffdae0) at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qapplication.cpp:3161 #71 0x00007ffff6e53dbb in QCoreApplication::notifyInternal (this=0x7fffffffdf50, receiver=receiver@entry=0x7174f0, ---Type to continue, or q to quit--- event=event@entry=0x7fffffffdae0) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qcoreapplication.cpp:965 #72 0x00007ffff71f65ec in sendSpontaneousEvent (event=0x7fffffffdae0, receiver=0x7174f0) at ../../include/QtCore/../../../../../../../../opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qcoreapplication.h:227 #73 QGuiApplicationPrivate::processMouseEvent (e=0x933ef0) at /opt/src/ksrc5/qt/stable/qtbase/src/gui/kernel/qguiapplication.cpp:1790 #74 0x00007ffff71f7c12 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x933ef0) at /opt/src/ksrc5/qt/stable/qtbase/src/gui/kernel/qguiapplication.cpp:1582 #75 0x00007ffff71dfcf4 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /opt/src/ksrc5/qt/stable/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:608 #76 0x00007ffff0283420 in userEventSourceDispatch (source=) at /opt/src/ksrc5/qt/stable/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:70 #77 0x00007ffff4a82c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #78 0x00007ffff4a82f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #79 0x00007ffff4a82fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #80 0x00007ffff6ea92ea in QEventDispatcherGlib::processEvents (this=0x5b38c0, flags=...) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:418 #81 0x00007ffff0283580 in QPAEventDispatcherGlib::processEvents (this=, flags=...) at /opt/src/ksrc5/qt/stable/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:115 #82 0x00007ffff6e52da0 in QEventLoop::processEvents (this=this@entry=0x7fffffffde80, flags=..., flags@entry=...) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qeventloop.cpp:128 #83 0x00007ffff6e531ad in QEventLoop::exec (this=this@entry=0x7fffffffde80, flags=..., flags@entry=...) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qeventloop.cpp:204 #84 0x00007ffff6e5b06a in QCoreApplication::exec () at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/kernel/qcoreapplication.cpp:1218 #85 0x00007ffff71ed33e in QGuiApplication::exec () at /opt/src/ksrc5/qt/stable/qtbase/src/gui/kernel/qguiapplication.cpp:1528 #86 0x00007ffff7793659 in QApplication::exec () at /opt/src/ksrc5/qt/stable/qtbase/src/widgets/kernel/qapplication.cpp:2977 #87 0x000000000041c6c4 in main () (gdb)

frankosterfeld avatar Jun 15 '15 11:06 frankosterfeld

...and before the BT:

Program received signal SIGSEGV, Segmentation fault. index_to_iterator (proxy_index=..., this=0xb098e0) at /opt/src/ksrc5/qt/stable/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:187 187 Q_ASSERT(it.value()); (gdb) bt

frankosterfeld avatar Jun 15 '15 11:06 frankosterfeld