Bug report #17315
3D Viewer: QGIS Crash when activating 3D Map view and 3D renderer
|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|
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.
#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?
#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
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 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
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 6.1.7601