Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash while adding field to attribute table #60147

Open
1 of 2 tasks
adcookmd opened this issue Jan 14, 2025 · 2 comments
Open
1 of 2 tasks

Crash while adding field to attribute table #60147

adcookmd opened this issue Jan 14, 2025 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers

Comments

@adcookmd
Copy link

What is the bug or the crash?

Adding an integer field to a attribute table.
Edit mode on
Click 'add field'
Name: "pharmdes"
Type: Integer (32 or 64 bit, either choice crashes) [The values are either 1 or 0]
Length: 2, 5, or 10 (default) Since I only want 1/0.
Click "OK" and the application crashes.

Steps to reproduce the issue

Adding an integer field to a attribute table.
Edit mode on
Click 'add field'
Name: "pharmdes"
Type: Integer (32 or 64 bit, either choice crashes) [The values are either 1 or 0]
Length: 2, 5, or 10 (default) Since I only want 1/0.
Click "OK" and the application crashes.

Versions

3.34.4 and 3.34.14
I updated hoping that would resolve the problem.

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

User Feedback

Trying to add a field.

Report Details

Python Stack Trace

Windows fatal exception: access violation

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

Stack Trace


QgsField::QgsField :
QgsFields::field :
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.34.14-Prizren
QGIS code revision: 0cdaf6d
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.9.3
Running against GDAL: 3.9.3

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

@adcookmd adcookmd added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jan 14, 2025
@DelazJ
Copy link
Contributor

DelazJ commented Jan 14, 2025

3.34.4 and 3.34.14
I updated hoping that would resolve the problem.

Please instead try with a new QGIS user profile.

@DelazJ DelazJ added the Feedback Waiting on the submitter for answers label Jan 14, 2025
@agiudiceandrea
Copy link
Contributor

@adcookmd , if the issue occurs also using a new QGIS user profile, please provide the layer using which the issue occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers
Projects
None yet
Development

No branches or pull requests

3 participants