Bug report #17315

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

Added by Luca Casagrande 6 months ago. Updated 2 days ago.

Status:Open
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

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, 10/22/2017 08:12 AM


Related issues

Related to QGIS Application - Bug report #17416: Crash on enabling 3D renderer for point layer Open 11/07/2017
Duplicated by QGIS Application - Bug report #17788: QGIS 2.99 - crash when applying extrusion symbology to 3d... Closed 01/04/2018
Duplicated by QGIS Application - Bug report #17952: QGIS 2.99 crashes using 3D view (PostGIS generated polyhe... Closed 01/24/2018

History

#1 Updated by Anita Graser 5 months ago

#2 Updated by Martin Dobias 5 months 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 5 months ago

  • Status changed from Open to Feedback

#4 Updated by Felix Kunde 4 months 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 3 months ago

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

#6 Updated by Martin Dobias 3 months ago

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

#7 Updated by Giovanni Manghi about 2 months 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 2 days 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.

Also available in: Atom PDF