Bug report #17315

3D Viewer: QGIS Crash when activating 3D Map view and 3D renderer

Added by Luca Casagrande almost 7 years ago. Updated over 5 years ago.

Status:Feedback
Priority:High
Assignee:-
Category:3D
Affected QGIS version:master Regression?:No
Operating System:Windows 7 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:25213

Description

QGIS cc96f51e62 Installed with OSGeo4W64

  • Load test data (but any other data didn't work for me)
  • Start the New 3D Map View
  • Enable 3D renderer in the Layer Styling Panel

The crash report window will open without any contents.
QGIS Main window does not respond.

test3d.zip - test_data (6.47 KB) Luca Casagrande, 2017-10-22 08:12 AM


Related issues

Related to QGIS Application - Bug report #17416: Crash on enabling 3D renderer for point layer Open 2017-11-07
Related to QGIS Application - Bug report #20744: 3D Viewer Crashes QGIS Every Time I Change the View Angle Open 2018-12-06
Duplicated by QGIS Application - Bug report #17788: QGIS 2.99 - crash when applying extrusion symbology to 3d... Closed 2018-01-04
Duplicated by QGIS Application - Bug report #17952: QGIS 2.99 crashes using 3D view (PostGIS generated polyhe... Closed 2018-01-24
Duplicated by QGIS Application - Bug report #18272: QGIS 3.0.0 crashed when clicked on zoom to extent in 3D v... Closed 2018-02-28
Duplicated by QGIS Application - Bug report #19223: New 3D Map menu crashes frequently Closed 2018-06-19
Duplicated by QGIS Application - Bug report #19890: Crashes in 3D view while changing the view angle Closed 2018-09-19
Duplicated by QGIS Application - Bug report #19665: QGIS 3.2.1 and 3.2.2 - crashing while 3D rendering Closed 2018-08-21

History

#1 Updated by Anita Graser almost 7 years ago

#2 Updated by Martin Dobias almost 7 years ago

Unfortunately I can't reproduce (on linux).

Could you try again if the crash dialog does not give you more information? I think there were some improvements to it recently.

If you just open 3D map view, that works? E.g. move map, zoom in/out?

Does it crash only if you try to enable 3D renderer for polygon data - or also for point/line data?

What is your graphics card by the way?

#3 Updated by Giovanni Manghi almost 7 years ago

  • Status changed from Open to Feedback

#4 Updated by Felix Kunde almost 7 years ago

I think, my issue fits here. I'm trying to render a 3d house coming from PostGIS/DB Manager. I'm using simply: SELECT 'POLYHEDRALSURFACE (((...)))::geometry' to create a layer (with or without Z). I can open the 3D view and navigate around, but my building is just flat. When I enable 3D rendering in the layer style settings, QGIS crashes.

Neither my own example (a house in CRS 28992) nor the simple examples from the PostGIS doc work. I'm using a very recent version of OGIS 2.99 on Win7. My stack trace looks like this (is it normal that there is no text behind the the double colons?):

Crash ID: 333c69e019367dd5f184c7bbd0fa4413b2e5b0f9
Stack Trace

RegisterProcTableCallback :
RegisterProcTableCallback :
RegisterProcTableCallback :
RegisterProcTableCallback :
RegisterProcTableCallback :
RegisterProcTableCallback :
Qt3DRender::Render::Renderer::performDraw :
Qt3DRender::Render::Renderer::executeCommandsSubmission :
Qt3DRender::Render::Renderer::submitRenderViews :
Qt3DRender::Render::Renderer::doRender :
Qt3DRender::Render::Renderer::render :
Qt3DRender::Render::NodeManagers::renderTargetManager :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 2.99.0-Master
QGIS code revision: b59bd94e87
Compiled against Qt: 5.9.2
Running against Qt: 5.9.2
Compiled against GDAL: 2.2.3
Running against GDAL: 2.2.3

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

#5 Updated by Martin Dobias almost 7 years ago

  • Duplicated by Bug report #17788: QGIS 2.99 - crash when applying extrusion symbology to 3d view added

#6 Updated by Martin Dobias over 6 years ago

  • Duplicated by Bug report #17952: QGIS 2.99 crashes using 3D view (PostGIS generated polyhedral cube) added

#7 Updated by Giovanni Manghi over 6 years ago

  • Status changed from Feedback to Open
  • Priority changed from Normal to High

Spoke with Martin Dobias, issue true but possibly related to graphic card/drivers.

#8 Updated by Umberto Minora over 6 years ago

This now seems to work with version 3.0.1-Girona. At least, upgrading to this version solved the problem I reported in #17788. Hope this helps you guys resolving this BUG Report.

#9 Updated by Martin Dobias over 6 years ago

  • Duplicated by Bug report #18272: QGIS 3.0.0 crashed when clicked on zoom to extent in 3D viewer added

#10 Updated by Martin Dobias over 6 years ago

#11 Updated by Martin Dobias almost 6 years ago

  • Duplicated by Bug report #19890: Crashes in 3D view while changing the view angle added

#12 Updated by Martin Dobias almost 6 years ago

  • Duplicated by Bug report #19665: QGIS 3.2.1 and 3.2.2 - crashing while 3D rendering added

#13 Updated by Giovanni Manghi almost 6 years ago

  • Status changed from Open to Feedback

Please try on QGIS 3.4.1, if the issue is still valid change the affected version, thanks.

#14 Updated by Kevin Garcia almost 6 years ago

In 3D map view, crashed while trying to change from overhead to an oblique-angle view. This happens every time I use the 3D renderer and change the view angle.

Crash ID: 4204a1ddb6dd872a885fd5204602826f03b7a5f8

Stack Trace

DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
DrvGetLayerPaletteEntries :
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.2-Madeira
QGIS code revision: 22034aa070
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: 6.1.7601

#15 Updated by Giovanni Manghi almost 6 years ago

Kevin Garcia wrote:

In 3D map view, crashed while trying to change from overhead to an oblique-angle view. This happens every time I use the 3D renderer and change the view angle.

file this as a separate ticket, thanks.

#16 Updated by Jürgen Fischer almost 6 years ago

  • Related to Bug report #20744: 3D Viewer Crashes QGIS Every Time I Change the View Angle added

#17 Updated by Giovanni Manghi over 5 years ago

Please check if this issue is still valid on QGIS 3.4.5 or 3.6.

Also available in: Atom PDF