Bug report #22050

Crashing and general badness on reprojection to IGNF:RGNCUTM58S

Added by Jonathan Moules about 5 years ago. Updated about 5 years ago.

Affected QGIS version:3.7(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:29864


I was messing around trying to find cool projections.

1) Add this shapefile: https://www.naturalearthdata.com/downloads/10m-cultural-vectors/10m-admin-0-countries/
(attached shapefile is a slightly more processed and smaller version of the above and seems to be more broken!)

2) Go to Project Properties -> CRS

3) Change projection to: IGNF:RGNCUTM58S

4) Zoom and pan around

a) Watch the computer slow to a crawl.
b) Get "bad allocation" error messages pop up after a few pans. Keeps kind-of-working despite these (so why are they popping up?).
c) Watch RAM usage rocket to > 6GB!
d) Once I got a crash:

Crash ID: c13f228f746140c367f1fb34c2d8934f18842180

Stack Trace

QgsCoordinateTransform::transformBoundingBox :
QgsMapRendererJob::reprojectToLayerExtent :
QgsMapRendererJob::prepareJobs :
QgsMapRendererParallelJob::start :
QgsMapCanvas::refreshMap :
QMetaObject::activate :
QTimer::timerEvent :
QObject::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QEventDispatcherWin32Private::sendTimerEvent :
QEventDispatcherWin32::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
qt_plugin_query_metadata :
QEventDispatcherWin32::processEvents :
TranslateMessageEx :
TranslateMessage :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

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: 6.1.7601

General Data.zip (152 KB) Jonathan Moules, 2019-05-12 08:06 PM


#1 Updated by Giovanni Manghi about 5 years ago

  • Affected QGIS version changed from 3.4.3 to 3.7(master)
  • Priority changed from Normal to High

Also available in: Atom PDF