[Qgis-developer] Minidump when using GDAL in plugin

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Thu Sep 24 05:10:19 PDT 2015


That is most likely exactly the issue which a couple of other plugins face...

http://hub.qgis.org/issues/11901
http://hub.qgis.org/issues/10823
http://hub.qgis.org/issues/11891

Your report might be a step forward in solving this issues? Do we need a bug report up-streams for GDAL?

Cheers
Stefan

-----Original Message-----
From: qgis-developer-bounces at lists.osgeo.org [mailto:qgis-developer-bounces at lists.osgeo.org] On Behalf Of jawensi
Sent: 24. september 2015 12:58
To: qgis-developer at lists.osgeo.org
Subject: [Qgis-developer] Minidump when using GDAL in plugin

Hello,

I have problems with  DEMto3D
<https://github.com/jawensi/DEMto3D/tree/master/DEMto3D-QGIS>   plugin.
Using this plugin in QGIS 2.10.1, QGIS crash on exit. Instead I test it in QGIS 2.8.1 and works fine without minidump message on exit. 
I've tracked the problematic code and I find out that it's the use of the GDAL function ReadAsArray, for reading the content of a raster band.

/dem_dataset = gdal.Open(path_layer[0])
band = dem_dataset.GetRasterBand(1)
data = band.ReadAsArray(x_off, y_off, col_size, row_size)  /

The plugin works, but the problem is the crash dump on exit.

Any idea if the problem is in the plugin or in QGIS.?

Thank you



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Minidump-when-using-GDAL-in-plugin-tp5225874.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list