Bug report #21256

Crash whenever the field calculator dialog is opened

Added by Reino Ruusu almost 6 years ago. Updated almost 6 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Field calculator
Affected QGIS version:3.4.3 Regression?:No
Operating System:Windows 10 Pro - build 17134.523 Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:Yes Copied to github as #:29074

Description

After functioning for a while, QGIS got into a state where it crashes any time the field calculator is used in the attribute table. The crash occurs immediately when the toolbar button (or ctrl+I) is pressed.

Removing python code from the default module in AppData/QGIS/QGIS3/profiles/default/python/expressions did not help.

Computer: Dell XPS 15 9570 - Intel Core i9-8950HK
Operating system: Windows 10 Pro, build 17134.523

Crash ID: 3818977ff6616361cf037a98dd44767f5fb567e7

Stack Trace

QBitArray::QBitArray :
QgsProviderMetadata::description :
QgsExpressionBuilderWidget::updateFunctionTree :
QgsExpressionBuilderWidget::QgsExpressionBuilderWidget :
QgsFieldCalculator::setPrecisionMinMax :
QgsFieldCalculator::QgsFieldCalculator :
QgsAttributeTableDialog::mActionOpenFieldCalculator_triggered :
QMetaObject::activate :
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 :
CallWindowProcW :
DispatchMessageW :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.4.3-Madeira
QGIS code revision: 2f64a3c4e7
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.4.0
Running against GDAL: 2.4.0

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

History

#1 Updated by Giovanni Manghi almost 6 years ago

  • Category changed from Attribute table to Field calculator
  • Status changed from Open to Feedback
  • Priority changed from Normal to High

Please update to 3.4.4 and also try with a new/clean profile.

#2 Updated by Reino Ruusu almost 6 years ago

Giovanni Manghi wrote:

Please update to 3.4.4 and also try with a new/clean profile.

Will do. Obviously it will function again as it did upon a clean install, at least for a while.

#3 Updated by Giovanni Manghi almost 6 years ago

Reino Ruusu wrote:

Giovanni Manghi wrote:

Please update to 3.4.4 and also try with a new/clean profile.

Will do. Obviously it will function again as it did upon a clean install, at least for a while.

don't install any 3rd party plugins. If you do check if the FC stops to work after installing one of them, if it does then report it to the plugin author.

#4 Updated by Reino Ruusu almost 6 years ago

Creating a new user profile in 3.4.3 was sufficient to eliminate the issue.

#5 Updated by Reino Ruusu almost 6 years ago

Non-working fix attempts:
  • Replacing the .ini file in profiles/default/QGIS with a copy from a new profile.
  • Replacing the .db files in the profile with copies from a new profile.
  • Deleting the cache directory in the profile.

#6 Updated by Giovanni Manghi almost 6 years ago

  • Resolution set to invalid
  • Status changed from Feedback to Closed

Reino Ruusu wrote:

Creating a new user profile in 3.4.3 was sufficient to eliminate the issue.

then probably a bad plugin.

Also available in: Atom PDF