QGIS icon indicating copy to clipboard operation
QGIS copied to clipboard

geometry checker crashing checking a shape file polyline layer

Open damstep opened this issue 8 months ago • 2 comments

What is the bug or the crash?

User Feedback

used the geometry tracker on a polyline shapefile, testing for duplicates and zero line length features and saving to a shape file . crashes every time

Report Details

Python Stack Trace

Windows fatal exception: access violation

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

Thread 0x00004e88 (most recent call first):
  File "C:\PROGRA~1\QGIS34~2.0\apps\Python312\Lib\multiprocessing\pool.py", line 531 in _handle_tasks
    for taskseq, set_length in iter(taskqueue.get, None):
  File "C:\PROGRA~1\QGIS34~2.0\apps\Python312\Lib\threading.py", line 1012 in run
    self._target(*self._args, **self._kwargs)
  File "C:\PROGRA~1\QGIS34~2.0\apps\Python312\Lib\threading.py", line 1075 in _bootstrap_inner
    self.run()
  File "C:\PROGRA~1\QGIS34~2.0\apps\Python312\Lib\threading.py", line 1032 in _bootstrap
    self._bootstrap_inner()

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

Thread 0x00008c98 (most recent call first):
  <no Python frame>

Stack Trace


QgsProcessingUtils::indicesToFields :
QgsAbstractFeatureSource::iteratorOpened :
QgsDatabaseQueryLogEntry::QgsDatabaseQueryLogEntry :
QgsDatabaseQueryLog::enabled :
QgsVectorLayerFeatureIterator::nextFeatureFid :
QgsVectorLayerFeatureIterator::fetchFeature :
QgsAbstractFeatureIterator::nextFeature :
QgsFeaturePool::getFeature :
QgsGeometryCheckerUtils::lineIntersections :
QgsGeometryCheckerUtils::LayerFeature::operator!= :
QgsSingleGeometryCheck::collectErrors :
QgsGeometryChecker::runCheck :
QgsGeometryChecker::runCheck :
QgsGeometrySnapper::qt_static_metacall :
QgsGeometrySnapper::featureSnapped :
QtConcurrent::ThreadEngineBase::run :
QThreadPoolPrivate::reset :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info QGIS Version: 3.42.0-M�nster QGIS code revision: feb8023300 Compiled against Qt: 5.15.13 Running against Qt: 5.15.13 Compiled against GDAL: 3.10.2 Running against GDAL: 3.10.2

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

Steps to reproduce the issue

used the geometry tracker on a polyline shapefile, testing for duplicates and zero line length features and saving to a shape file . crashes every time

Versions

QGIS Version: 3.42.0-M�nster QGIS code revision: feb8023300 Compiled against Qt: 5.15.13 Running against Qt: 5.15.13 Compiled against GDAL: 3.10.2 Running against GDAL: 3.10.2

Supported QGIS version

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

New profile

Additional context

No response

damstep avatar Apr 08 '25 06:04 damstep

@damstep, thanks for reporting. Please provide the layer files and the parameters set when executing the Gemeotry checks.

agiudiceandrea avatar Apr 09 '25 07:04 agiudiceandrea

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.

github-actions[bot] avatar Apr 24 '25 02:04 github-actions[bot]

While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue. Or, if you have any further questions, there are also further support channels that can help you.

github-actions[bot] avatar May 22 '25 03:05 github-actions[bot]