Bug report #4812

if "attribute table row cache" is 0 then QGIS crashes when opening the attribute table

Added by Giovanni Manghi almost 9 years ago. Updated almost 9 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Vectors
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:14661

Description

Tested on both Linux and Windows on qgis-master.

Message run through c++filt is:

**** VERSION 10990
Fatal: ASSERT: "!isEmpty()" in file /usr/include/qt4/QtCore/qlist.h, line 269
Stacktrace (run through c++filt):
qgis(myMessageOutput(QtMsgType, char const*)+0xb3)[0x4d0b83]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(qt_message_output(QtMsgType, char const*)+0x2e)[0x7f02528fc34e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x7c7ef)[0x7f02528fc7ef]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(qFatal(char const*, ...)+0x94)[0x7f02528fc994]
/usr/lib/libqgis_gui.so.1.9.90(QgsAttributeTableModel::featureAtId(long long) const+0x409)[0x7f02532b8bf9]
/usr/lib/libqgis_gui.so.1.9.90(QgsAttributeTableModel::data(QModelIndex const&, int) const+0x367)[0x7f02532b7ab7]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QSortFilterProxyModel::data(QModelIndex const&, int) const+0x7c)[0x7f025232ae5c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const+0x2e0)[0x7f02522f9160]
/usr/lib/libqgis_gui.so.1.9.90(QgsAttributeTableDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const+0x11)[0x7f02532be521]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x7346f6)[0x7f02522d56f6]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QTableView::paintEvent(QPaintEvent*)+0x899)[0x7f02522e0389]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QWidget::event(QEvent*)+0x61c)[0x7f0251dedc4c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QFrame::event(QEvent*)+0x26)[0x7f02521964f6]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QAbstractItemView::viewportEvent(QEvent*)+0x3eb)[0x7f02522a719b]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)+0x88)[0x7f02529ecc88]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x7f)[0x7f0251d9d3ef]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplication::notify(QObject*, QEvent*)+0x121)[0x7f0251da2291]
/usr/lib/libqgis_core.so.1.9.90(QgsApplication::notify(QObject*, QEvent*)+0x7e)[0x7f0253740a0e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QCoreApplication::notifyInternal(QObject*, QEvent*)+0x8c)[0x7f02529ecafc]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)+0x3c4)[0x7f0251deab84]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)+0x440)[0x7f0251deb760]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)+0x320)[0x7f0251deb640]
Aborted

Associated revisions

History

#1 Updated by Jürgen Fischer almost 9 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF