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.57k stars 3k forks source link

Heatmap renderer caused QGIS to Crash #33249

Closed Skudger closed 4 years ago

Skudger commented 4 years ago

I created a heatmap view of about 3k data points. Zooming or panning consistently cause QGISI to crash. rash ID: dc10474b86d3cbb790ade7fb82aad1f4facfb54f

Stack Trace

QTextOption::wrapMode : QTextOption::wrapMode : QVectorPath::convertToPainterPath : QVectorPath::convertToPainterPath : QVectorPath::convertToPainterPath : QRasterPaintEngine::rasterBuffer : QRasterPaintEngine::rasterBuffer : QRasterPaintEngine::fill : QPaintEngineEx::draw : QPaintEngineEx::drawPath : QPicture::exec : QPicture::play : QPainter::drawPicture : QgsPaintEffect::sourceAsImage qgspainteffect.cpp:193 QgsGlowEffect::draw qgsgloweffect.cpp:57 QgsEffectStack::draw qgseffectstack.cpp:115 QgsPaintEffect::end qgspainteffect.cpp:154 QgsEffectPainter::~QgsEffectPainter qgspainteffect.cpp:337 QgsFillSymbol::renderPolygonUsingLayer qgssymbol.cpp:2035 QgsFillSymbol::renderPolygon qgssymbol.cpp:1994 QgsSymbol::renderFeature qgssymbol.cpp:1081 QgsFeatureRenderer::renderFeature qgsrenderer.cpp:130 QgsVectorLayerRenderer::drawRenderer qgsvectorlayerrenderer.cpp:328 QgsVectorLayerRenderer::render qgsvectorlayerrenderer.cpp:284 QgsMapRendererParallelJob::renderLayerStatic qgsmaprendererparalleljob.cpp:265 QtConcurrent::MapKernel >::iterator,QtConcurrent::FunctionWrapper1 const & __ptr64> >::runIteration qtconcurrentmapkernel.h:69 QtConcurrent::MapKernel::iterator,QgsImageOperation::GaussianBlurOperation>::runIterations qtconcurrentmapkernel.h:78 QtConcurrent::IterateKernel >::iterator,void>::forThreadFunction qtconcurrentiteratekernel.h:256 QtConcurrent::ThreadEngineBase::run : QThreadPoolPrivate::reset : QThread::start : BaseThreadInitThunk : RtlUserThreadStart :

QGIS Info QGIS Version: 3.10.0-A Coru�a QGIS code revision: 6ffa89eb3e Compiled against Qt: 5.11.2 Running against Qt: 5.11.2 Compiled against GDAL: 3.0.2 Running against GDAL: 3.0.2

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

roya0045 commented 4 years ago

Seems related to #28941

gioman commented 4 years ago

I created a heatmap view of about 3k data points. Zooming or panning consistently cause QGISI to crash.

@Skudger please attach/link the data and the detailed parameters for the heatmap. Also try with a new QGIS profile.

Skudger commented 4 years ago

Giovanni,

Thanks for looking into this.

I tried a new profile. It did not affect the crashing behavior.

The data is proprietary, but I have included the record layout and the first 10 records. It is similar to data I have used in the past without issues.

I am not sure what you mean by the detailed parameters for the heat map...Symbology?

Thanks,

Michael

On Sat, Dec 7, 2019 at 2:27 PM Giovanni Manghi notifications@github.com wrote:

I created a heatmap view of about 3k data points. Zooming or panning consistently cause QGISI to crash.

@Skudger https://github.com/Skudger please attach/link the data and the detailed parameters for the heatmap. Also try with a new QGIS profile.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/qgis/QGIS/issues/33249?email_source=notifications&email_token=AFAAANHHJYI5U36ZXMQ3MVDQXP2I5A5CNFSM4JV5ZSR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGGNWVY#issuecomment-562879319, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAAANEXRO43DRSRIMQ3BKDQXP2I5ANCNFSM4JV5ZSRQ .

-- Thanks,

Michael Hubbard

gioman commented 4 years ago

The data is proprietary, but I have included the record layout and the first 10 records. It is similar to data I have used in the past without issues.

so give us an idea: CRS? type of datasource? geographic extension?

I am not sure what you mean by the detailed parameters for the heat map...Symbology?

yes, the exact options/configs you used to generate the heatmap.

Skudger commented 4 years ago

Giovanni,

Below are screenshots of the symbology tab in the layer properties.

Thanks,

[image: image.png] [image: image.png]

On Sat, Dec 7, 2019 at 3:28 PM Giovanni Manghi notifications@github.com wrote:

The data is proprietary, but I have included the record layout and the first 10 records. It is similar to data I have used in the past without issues.

so give us an idea: CRS? type of datasource?

I am not sure what you mean by the detailed parameters for the heat map...Symbology?

yes, the exact options/configs you used to generate the heatmap.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/qgis/QGIS/issues/33249?email_source=notifications&email_token=AFAAANG24GUCYSGPGNDUVODQXQBOVA5CNFSM4JV5ZSR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGGOX7A#issuecomment-562883580, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAAANE23RYULLVEHDVVXCDQXQBOVANCNFSM4JV5ZSRQ .

-- Thanks,

Michael Hubbard

gioman commented 4 years ago

Below are screenshots of the symbology tab in the layer properties.

@Skudger no image attached as also missing the other infos I asked.

Skudger commented 4 years ago

I believe I found the issue. Incompatibility CRSs. See the message below. Be helpful if QGIS could trap errors such as this and not crash.

2019-12-07T15:17:16 CRITICAL Cannot normalize transform between EPSG:4326 and EPSG:4269

Thanks,

gioman commented 4 years ago

I believe I found the issue. Incompatibility CRSs. See the message below. Be helpful if QGIS could trap errors such as this and not crash. 2019-12-07T15:17:16 CRITICAL Cannot normalize transform between EPSG:4326 and EPSG:4269

@nyalldawson another consequence of the upgrade to proj6? is this related/duplicate of other tickets with similar reports?

nyalldawson commented 4 years ago

I can't reproduce...

gioman commented 4 years ago

Closing for lack of feedback. Should be anyway solved in the latest builds.