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.05k stars 2.92k forks source link

Join crash error #57677

Open nelsonjlle opened 1 month ago

nelsonjlle commented 1 month ago

What is the bug or the crash?

Qgis crashed. About to join 12k point features to a no geometry layer.

Steps to reproduce the issue

trying to join a layer and a tabular layer, both on a local postgres database. Property/join/cache join_upsert_dynamic form_prefix name_persit/ok see error

Versions

3.34.7

Supported QGIS version

New profile

Additional context

Windows fatal exception: access violation

Thread 0x000025e0 (most recent call first): File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\multiprocessing\connection.py", line 321 in _recv_bytes waitres = _winapi.WaitForMultipleObjects( File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\multiprocessing\connection.py", line 250 in recv buf = self._recv_bytes() File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\multiprocessing\pool.py", line 579 in _handle_results task = get() File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\threading.py", line 1010 in run self._target(*self._args, **self._kwargs) File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\threading.py", line 1073 in _bootstrap_inner self.run() File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\threading.py", line 1030 in _bootstrap self._bootstrap_inner()

Thread 0x00002e4c (most recent call first): File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\multiprocessing\pool.py", line 531 in _handle_tasks for taskseq, set_length in iter(taskqueue.get, None): File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\threading.py", line 1010 in run self._target(*self._args, **self._kwargs) File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\threading.py", line 1073 in _bootstrap_inner self.run() File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\threading.py", line 1030 in _bootstrap self._bootstrap_inner()

Thread 0x0000482c (most recent call first): File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\multiprocessing\connection.py", line 1016 in _exhaustive_wait res = _winapi.WaitForMultipleObjects(L, False, timeout) File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\multiprocessing\connection.py", line 1084 in wait ready_handles = _exhaustive_wait(waithandle_to_obj.keys(), timeout) File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\multiprocessing\pool.py", line 502 in _wait_for_updates wait(sentinels, timeout=timeout) File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\multiprocessing\pool.py", line 522 in _handle_workers cls._wait_for_updates(current_sentinels, change_notifier) File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\threading.py", line 1010 in run self._target(*self._args, **self._kwargs) File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\threading.py", line 1073 in _bootstrap_inner self.run() File "C:\PROGRA~1\QGIS33~1.7\apps\Python312\Lib\threading.py", line 1030 in _bootstrap self._bootstrap_inner()

Current thread 0x00002f1c (most recent call first):

Stack Trace

QgsAttributesFormProperties::QgsAttributesFormProperties : QgsAttributeTableModel::prefetchSortData : QgsAttributeTableFilterModel::setAttributeTableConfig : QgsDualView::hideEvent : QObject::qt_static_metacall : QgsVectorLayer::updateFields : QgsVectorLayerJoinBuffer::addJoin : QgsVectorLayerProperties::mButtonAddJoin_clicked : QObject::qt_static_metacall : QAbstractButton::clicked : QAbstractButton::click : QAbstractButton::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 : QDialog::exec : QgisApp::showLayerProperties : QgisApp::layerProperties : QObject::qt_static_metacall : QAction::activate : QMenu::actionGeometry : QMenu::actionGeometry : QMenu::mouseReleaseEvent : QWidget::event : QMenu::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 : QMenu::exec : QMenu::exec : QgsLayerTreeView::contextMenuEvent : QWidget::event : QFrame::event : QAbstractItemView::viewportEvent : QCoreApplicationPrivate::sendThroughObjectEventFilters : QApplicationPrivate::notify_helper : QApplication::notify : QgsApplication::notify : QCoreApplication::notifyInternal2 : 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.7-Prizren QGIS code revision: 6f7d735c Compiled against Qt: 5.15.13 Running against Qt: 5.15.13 Compiled against GDAL: 3.9.0 Running against GDAL: 3.9.0

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

agiudiceandrea commented 1 month ago

@nelsonjlle thanks for reporting. Please try if the issue occurs also using a new QGIS user profile.

github-actions[bot] commented 2 weeks 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.