Open qgib opened 7 years ago
Author Name: Anita Graser (@anitagraser)
Author Name: Anita Graser (@anitagraser)
Author Name: Martin Dobias (@wonder-sk)
Unfortunately I cannot replicate (on linux).
Does that happen just with this point layer? Or any point layer you try? How about linestring/polygon layers?
Does basic 3D map view work though?
The backtrace suggests it may have something to do with graphics card drivers (or maybe Qt 3D doing some invalid calls). What graphics card / drivers do you have? Is it possible for you to give it a try on a different computer (with a different kind of graphics card) ?
Author Name: Anita Graser (@anitagraser)
It happens with all QGIS sample Shapefiles (point, line, and polygon).
What do you mean with "basic 3D map view"?
This happens on my ASUS Zen notebook with Intel Iris graphics card. I'll try another Win machine.
Author Name: Martin Dobias (@wonder-sk)
With "basic 3D map view" I meant just to be able to open the 3D map view, do some zooming/panning around, configure terrain based on DEM... in general any interaction with the 3D view that does not involve enabling 3D renderers of individual layers - to understand whether there are more cases of interacting with 3D view and getting crashes...
Author Name: Giovanni Manghi (@gioman)
Author Name: Anita Graser (@anitagraser)
There are no crashes on my desktop PC with NVIDIA GeForce GTX 670.
Author Name: Anita Graser (@anitagraser)
Back on the notebook: Configuring a DEM for 3D view works without crashes, but any vector layer with 3D enabled does crash.
Author Name: Giovanni Manghi (@gioman)
Author Name: Martin Dobias (@wonder-sk)
Author Name: Martin Dobias (@wonder-sk)
Author Name: Martin Dobias (@wonder-sk)
Author Name: Giovanni Manghi (@gioman)
Please try on QGIS 3.4.1, if the issue is still valid change the affected version, thanks.
Author Name: Anita Graser (@anitagraser)
Crash ID: c587ac0acefb704a3b5a2710166a63889539d3b8
Stack Trace
DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
QOpenGLFunctions_3_3_Compatibility::glDrawElementsInstancedBaseVertex :
Qt3DRender::Render::Renderer::performDraw :
Qt3DRender::Render::Renderer::executeCommandsSubmission :
Qt3DRender::Render::Renderer::submitRenderViews :
Qt3DRender::Render::Renderer::doRender :
Qt3DRender::Render::Renderer::render :
Qt3DRender::Render::AbstractRenderer::~AbstractRenderer :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :
QGIS Info
QGIS Version: 3.4.1-Madeira
QGIS code revision: bf10953329
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.3.2
Running against GDAL: 2.3.2
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.17134
Author Name: Anita Graser (@anitagraser)
Author Name: Martin Dobias (@wonder-sk)
@anitagraser do you still experience the issue with QGIS 3.8?
Yes, it still crashes:
Crash ID: c587ac0acefb704a3b5a2710166a63889539d3b8
Stack Trace
DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : QOpenGLFunctions_3_3_Compatibility::glDrawElementsInstancedBaseVertex : Qt3DRender::Render::Renderer::performDraw : Qt3DRender::Render::Renderer::executeCommandsSubmission : Qt3DRender::Render::Renderer::submitRenderViews : Qt3DRender::Render::Renderer::doRender : Qt3DRender::Render::Renderer::render : Qt3DRender::Render::AbstractRenderer::~AbstractRenderer : QThread::start : BaseThreadInitThunk : RtlUserThreadStart :
QGIS Info QGIS Version: 3.8.3-Zanzibar QGIS code revision: 0b21735e28 Compiled against Qt: 5.11.2 Running against Qt: 5.11.2 Compiled against GDAL: 2.4.1 Running against GDAL: 2.4.1
System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.18362
It have the same issue in 3.10 and with a clean profile.
In the following project, clicking View > New 3D Map View
crashes
3DTEST.zip
Crash ID: 42a2d588a4cd1b1412f38ab36917edaa86cbbf68
Stack Trace
DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvSetLayerPaletteEntries : Qt3DRender::Render::Renderer::performDraw : Qt3DRender::Render::Renderer::executeCommandsSubmission : Qt3DRender::Render::Renderer::submitRenderViews : Qt3DRender::Render::Renderer::doRender : Qt3DRender::Render::Renderer::render : Qt3DRender::Render::AbstractRenderer::~AbstractRenderer : QThread::start : BaseThreadInitThunk : RtlUserThreadStart :
QGIS Info QGIS Version: 3.10.0-A CoruA�a QGIS code revision: 6c816b4204 Compiled against Qt: 5.11.2 Running against Qt: 5.11.2 Compiled against GDAL: 2.4.1 Running against GDAL: 2.4.1
System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.17134
Crash ID: fa575684247f098b3d566324739b7ef7dd09575b
Stack Trace
DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : QOpenGLFunctions_3_3_Compatibility::glDrawElementsInstancedBaseVertex : Qt3DRender::Render::Renderer::performDraw : Qt3DRender::Render::Renderer::executeCommandsSubmission : Qt3DRender::Render::Renderer::submitRenderViews : Qt3DRender::Render::Renderer::doRender : Qt3DRender::Render::Renderer::render : Qt3DRender::Render::AbstractRenderer::~AbstractRenderer : QThread::start : BaseThreadInitThunk : RtlUserThreadStart :
No crash in 3.12 but the symbols seem to behave weirdly.
@gioman opinion on this based on me previous comment? I would guess close since crash is ok and wait to see if someone has an issue with the weird symbols.
I still get the crash in Qgis 3.12
Crash ID: 42a2d588a4cd1b1412f38ab36917edaa86cbbf68
Stack Trace
DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvGetLayerPaletteEntries : DrvSetLayerPaletteEntries : Qt3DRender::Render::Renderer::performDraw : Qt3DRender::Render::Renderer::executeCommandsSubmission : Qt3DRender::Render::Renderer::submitRenderViews : Qt3DRender::Render::Renderer::doRender : Qt3DRender::Render::Renderer::render : Qt3DRender::Render::AbstractRenderer::~AbstractRenderer : QThread::start : BaseThreadInitThunk : RtlUserThreadStart :
QGIS Info QGIS Version: 3.12.1-Bucure?ti QGIS code revision: 121cc00ff0 Compiled against Qt: 5.11.2 Running against Qt: 5.11.2 Compiled against GDAL: 3.0.4 Running against GDAL: 3.0.4
System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.17763
Using QGIS 3.14.1, I load any vector layer and DEM layer (local tiff), enable the 3D Viewer, then select DEM layer as terrain. Then I modify the vector layer properties (extrusion to the 3D View). QGIS crashes.
Crash ID: 4fe0004f688196ace0b4ecf8823a1fb735b6676b
Stack Trace
QByteArray::reallocData : QgsDemHeightMapGenerator::heightAt qgsdemterraintileloader_p.cpp:284 Qgs3DUtils::clampAltitudes qgs3dutils.cpp:284 Qgs3DUtils::clampAltitudes qgs3dutils.cpp:313 QgsPolygon3DSymbolHandler::processPolygon qgspolygon3dsymbol_p.cpp:118 QgsPolygon3DSymbolHandler::processFeature qgspolygon3dsymbol_p.cpp:158::operator() qgsvectorlayerchunkloader_p.cpp:100 QtConcurrent::RunFunctionTask ::run qtconcurrentrunbase.h:136 QThreadPoolPrivate::reset : QThread::start : BaseThreadInitThunk : RtlUserThreadStart :
QGIS Info QGIS Version: 3.14.1-Pi QGIS code revision: de08d6b71d Compiled against Qt: 5.11.2 Running against Qt: 5.11.2 Compiled against GDAL: 3.0.4 Running against GDAL: 3.0.4
System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.18362
cannot reproduce on MacOS. Martin already mentioned it cannot be reproduced on Linux, so adding Windows label.
@jerrosk the bug you reported is unrelated to this ticket but duplicate of https://github.com/qgis/QGIS/issues/35483
Author Name: Anita Graser (@anitagraser) Original Redmine Issue: 17416 Affected QGIS version: 3.4.1 Redmine category:3d Assignee: Martin Dobias
User Feedback
Using OSGeo4W nightly, I load the airports sample layer, enable the 3D viewer, then "Enable 3D renderer" and QGIS crashes.
Report Details
Crash ID: 73972bd9bc26841cafa9dc67bc423954e300b34f
Stack Trace
QGIS Info QGIS Version: 2.99.0-Master QGIS code revision: edea38f7c7 Compiled against Qt: 5.9.2 Running against Qt: 5.9.2 Compiled against GDAL: 2.2.2 Running against GDAL: 2.2.2
System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.15063
Related issue(s): #25213 (relates), #25838 (duplicates), #26218 (duplicates), #26722 (duplicates), #29375 (duplicates) Redmine related issue(s): 17315, 17942, 18328, 18890, 21559