qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.65k stars 3.01k forks source link

Adding column crash #59333

Open Marketal opened 3 weeks ago

Marketal commented 3 weeks ago

What is the bug or the crash?

User Feedback

Repeatedly tried to create a new column in an attribute table. Crashed every time. Restarted the PC, still did so.

Report Details

Python Stack Trace

Windows fatal exception: access violation

Current thread 0x00002574 (most recent call first):
  <no Python frame>

Stack Trace


QgsField::QgsField :
QgsFields::at :
QgsAttributeTableModel::getWidgetData :
QgsAttributeTableModel::prefetchSortData :
QgsAttributeTableFilterModel::setAttributeTableConfig :
QgsDualView::hideEvent :
QObject::qt_static_metacall :
QgsVectorLayer::updateFields :
QgsVectorLayerUndoCommandAddAttribute::redo :
QUndoStack::push :
QgsVectorLayerEditBuffer::addAttribute :
QgsAttributeTableDialog::mActionAddAttribute_triggered :
QObject::qt_static_metacall :
QAction::activate :
QAbstractButton::click :
QAbstractButton::mouseReleaseEvent :
QToolButton::mouseReleaseEvent :
QWidget::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info QGIS Version: 3.38.3-Grenoble QGIS code revision: 37f9e6efee Compiled against Qt: 5.15.13 Running against Qt: 5.15.13 Compiled against GDAL: 3.9.2 Running against GDAL: 3.9.2

System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.22631

Steps to reproduce the issue

image

Versions

QGIS version 3.38.3-Grenoble QGIS code revision 37f9e6efee Qt version 5.15.13 Python version 3.12.6 GDAL/OGR version 3.9.2 PROJ version 9.4.0 EPSG Registry database version v11.004 (2024-02-24) GEOS version 3.12.2-CAPI-1.18.2 SQLite version 3.45.1 PDAL version 2.6.3 PostgreSQL client version 16.2 SpatiaLite version 5.1.0 QWT version 6.2.0 QScintilla2 version 2.14.1 OS version Windows 11 Version 2009

Active Python plugins latlontools 3.7.2 TomBio 3.4.4 db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 processing 2.12.99

Supported QGIS version

New profile

Additional context

No response

agiudiceandrea commented 3 weeks ago

@Marketal , thanks for reporting. Please actually try if the issue does occur also using a new QGIS user profile. If it does, please provide a project file, layer and step by step detailed instructions in order to replicate the issue.

Ipickedausername commented 3 weeks ago

Same issue happened to me. Never been able to reproduce the issue. It seemed temporary, and as soon as I found workaround (deleting other columns before adding them back ; duplicate the layer ; recreate the layer, etc.), the issue disapeared.

github-actions[bot] commented 6 days ago

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.

Marketal commented 6 days ago

It seems to have been a temporary issue.