Geometry Nodes crash when instancing another GN object with Bezier Segment connected to Geometry Output #89745

Closed
opened 2021-07-09 01:30:09 +02:00 by Valera Barashkov · 7 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.11

Blender Version
Broken: version: 3.0.0 Alpha, branch: cycles-x, commit date: 2021-07-06 15:38, hash: 3ea9646c18
Worked: NA

Short description of error
When connecting Bezier Segment to the Geometry Output in the attached .blend Blender crashes.

Exact steps for others to reproduce the error
Connect Bezier Segment to the Geometry Output in the attached .blend

The mushroom_head object is instanced on the mushroom_stem object using GN.

geo_crash.blend


	blender.exe!DRW_curve_batch_cache_get_surface_shaded(Curve * cu, GPUMaterial * * gpumat_array, unsigned int gpumat_array_len) Line 1004
 	blender.exe!DRW_cache_curve_surface_shaded_get(Object * ob, GPUMaterial * * gpumat_array, unsigned int gpumat_array_len) Line 3033	
 	blender.exe!DRW_cache_object_surface_material_get(Object * ob, GPUMaterial * * gpumat_array, unsigned int gpumat_array_len) Line 977	
 	blender.exe!workbench_object_surface_material_get(Object * ob) Line 105
 	blender.exe!workbench_cache_common_populate(WORKBENCH_PrivateData * wpd, Object * ob, eV3DShadingColorType color_type, bool * r_transp) Line 207
 	blender.exe!workbench_cache_populate(void * ved, Object * ob) Line 397
 	blender.exe!drw_engines_cache_populate(Object * ob) Line 1101
 	blender.exe!DRW_draw_render_loop_ex(Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * region, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) Line 1615
 	blender.exe!DRW_draw_view(const bContext * C) Line 1523
 	blender.exe!view3d_draw_view(const bContext * C, ARegion * region) Line 1568
 	blender.exe!view3d_main_region_draw(const bContext * C, ARegion * region) Line 1591
 	blender.exe!ED_region_do_draw(bContext * C, ARegion * region) Line 563
 	blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 725
 	blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 867
 	blender.exe!wm_draw_update(bContext * C) Line 1066
 	blender.exe!WM_main(bContext * C) Line 654
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 562
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.11 **Blender Version** Broken: version: 3.0.0 Alpha, branch: cycles-x, commit date: 2021-07-06 15:38, hash: `3ea9646c18` Worked: NA **Short description of error** When connecting Bezier Segment to the Geometry Output in the attached .blend Blender crashes. **Exact steps for others to reproduce the error** Connect Bezier Segment to the Geometry Output in the attached .blend The mushroom_head object is instanced on the mushroom_stem object using GN. [geo_crash.blend](https://archive.blender.org/developer/F10217449/geo_crash.blend) --- ```lines blender.exe!DRW_curve_batch_cache_get_surface_shaded(Curve * cu, GPUMaterial * * gpumat_array, unsigned int gpumat_array_len) Line 1004 blender.exe!DRW_cache_curve_surface_shaded_get(Object * ob, GPUMaterial * * gpumat_array, unsigned int gpumat_array_len) Line 3033 blender.exe!DRW_cache_object_surface_material_get(Object * ob, GPUMaterial * * gpumat_array, unsigned int gpumat_array_len) Line 977 blender.exe!workbench_object_surface_material_get(Object * ob) Line 105 blender.exe!workbench_cache_common_populate(WORKBENCH_PrivateData * wpd, Object * ob, eV3DShadingColorType color_type, bool * r_transp) Line 207 blender.exe!workbench_cache_populate(void * ved, Object * ob) Line 397 blender.exe!drw_engines_cache_populate(Object * ob) Line 1101 blender.exe!DRW_draw_render_loop_ex(Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * region, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) Line 1615 blender.exe!DRW_draw_view(const bContext * C) Line 1523 blender.exe!view3d_draw_view(const bContext * C, ARegion * region) Line 1568 blender.exe!view3d_main_region_draw(const bContext * C, ARegion * region) Line 1591 blender.exe!ED_region_do_draw(bContext * C, ARegion * region) Line 563 blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 725 blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 867 blender.exe!wm_draw_update(bContext * C) Line 1066 blender.exe!WM_main(bContext * C) Line 654 blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 562 ```

Added subscriber: @valera-8

Added subscriber: @valera-8
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Can confirm with 3.0.0 (af8fb707da)

Can confirm with 3.0.0 (`af8fb707da`)
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
Member

I can't reproduce it anymore. I assume this is fixed. Feel free to reopen it if you can still reproduce it. Also it would be nice if you could update the file to 3.0 if the bug still exists.

I can't reproduce it anymore. I assume this is fixed. Feel free to reopen it if you can still reproduce it. Also it would be nice if you could update the file to 3.0 if the bug still exists.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#89745
No description provided.