Spreadsheet crash when entering edit mode on a GN attached objects. #101786

Closed
opened 2022-10-13 07:55:09 +02:00 by Zhen Dai · 9 comments

System Information
Operating system: Windows-10-10.0.18363-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.68

Blender Version
Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: b292cfe5a9
Worked: 3.4.0 Alpha

Short description of error

When spreadsheet view is visible and entering edit mode on a GN attached object, if the object doesn't contain any vertices, spreadsheet view can cause a crash.
Trace:

Stack trace:
blender.exe         :0x00007FF6924D3700  blender::index_mask_ops::find_indices_from_virtual_array
blender.exe         :0x00007FF691C8C2D0  blender::ed::spreadsheet::GeometryDataSource::apply_selection_filter
blender.exe         :0x00007FF691C95B00  blender::ed::spreadsheet::spreadsheet_filter_rows
blender.exe         :0x00007FF691C86250  spreadsheet_main_region_draw
blender.exe         :0x00007FF68D8609F0  ED_region_do_draw
blender.exe         :0x00007FF68D4B3810  wm_draw_window_offscreen
blender.exe         :0x00007FF68D4B3670  wm_draw_window
blender.exe         :0x00007FF68D4B30C0  wm_draw_update
blender.exe         :0x00007FF68D48C450  WM_main
blender.exe         :0x00007FF68C5812A0  main
blender.exe         :0x00007FF6926A2D10  __scrt_common_main_seh
KERNEL32.DLL        :0x00007FFF7F4A7C10  BaseThreadInitThunk
ntdll.dll           :0x00007FFF8144D700  RtlUserThreadStart

curve-display-spreadsheet-crash.blend
curve-display-spreadsheet-crash.crash.txt

Exact steps for others to reproduce the error

  • Download the blend file and open in Blender 3.3.1 LTS.
  • Toggle the GN object and Blender should crash immediately.
  • Create a new plane object, apply the modifier, set input parameter to Mesh object, edit mode shouldn't crash yet; now remove all vertices from this plane, a crash should follow immediate.

Note:

  • Input primitive mesh to GN, there should be no crash.
  • Disable the spreadsheet view first then enter edit mode, there should be no crash.
  • Open in Blender 3.4.0 alpha (latest build), there should be no crash.

But:

  • Disable the geometry nodes modifier on the object, edit mode crash should still happen.
  • Remove the geometry nodes modifier on the object, edit mode crash should still happens.
**System Information** Operating system: Windows-10-10.0.18363-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.68 **Blender Version** Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: `b292cfe5a9` Worked: 3.4.0 Alpha **Short description of error** When spreadsheet view is visible and entering edit mode on a GN attached object, if the object doesn't contain any vertices, spreadsheet view can cause a crash. Trace: ``` Stack trace: blender.exe :0x00007FF6924D3700 blender::index_mask_ops::find_indices_from_virtual_array blender.exe :0x00007FF691C8C2D0 blender::ed::spreadsheet::GeometryDataSource::apply_selection_filter blender.exe :0x00007FF691C95B00 blender::ed::spreadsheet::spreadsheet_filter_rows blender.exe :0x00007FF691C86250 spreadsheet_main_region_draw blender.exe :0x00007FF68D8609F0 ED_region_do_draw blender.exe :0x00007FF68D4B3810 wm_draw_window_offscreen blender.exe :0x00007FF68D4B3670 wm_draw_window blender.exe :0x00007FF68D4B30C0 wm_draw_update blender.exe :0x00007FF68D48C450 WM_main blender.exe :0x00007FF68C5812A0 main blender.exe :0x00007FF6926A2D10 __scrt_common_main_seh KERNEL32.DLL :0x00007FFF7F4A7C10 BaseThreadInitThunk ntdll.dll :0x00007FFF8144D700 RtlUserThreadStart ``` [curve-display-spreadsheet-crash.blend](https://archive.blender.org/developer/F13671487/curve-display-spreadsheet-crash.blend) [curve-display-spreadsheet-crash.crash.txt](https://archive.blender.org/developer/F13671512/curve-display-spreadsheet-crash.crash.txt) **Exact steps for others to reproduce the error** - Download the blend file and open in Blender 3.3.1 LTS. - Toggle the GN object and Blender should crash immediately. - Create a new plane object, apply the modifier, set input parameter to Mesh object, edit mode shouldn't crash yet; now remove all vertices from this plane, a crash should follow immediate. Note: - Input primitive mesh to GN, there should be no crash. - Disable the spreadsheet view first then enter edit mode, there should be no crash. - Open in Blender 3.4.0 alpha (latest build), there should be no crash. But: - Disable the geometry nodes modifier on the object, edit mode crash should still happen. - Remove the geometry nodes modifier on the object, edit mode crash should still happens.
Author

Added subscriber: @Zhen-Dai

Added subscriber: @Zhen-Dai

blender/blender-addons#102113 was marked as duplicate of this issue

blender/blender-addons#102113 was marked as duplicate of this issue
Member

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

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

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Thanks for the report. I can confirm the crash. I'll check when it was fixed. Maybe we'd be able to backport the fix.

Thanks for the report. I can confirm the crash. I'll check when it was fixed. Maybe we'd be able to backport the fix.
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Pratik Borhade self-assigned this 2022-10-13 08:37:03 +02:00
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

Fixed by 20dc839319
Commit seems safe to backport.
@HooglyBoogly, added your commit in the potential candidates list (feel free to remove)

Fixed by 20dc839319 Commit seems safe to backport. @HooglyBoogly, added your commit in the potential candidates list (feel free to remove)
Member

Added subscriber: @BestYeen

Added subscriber: @BestYeen
Thomas Dinges added this to the 3.3 LTS milestone 2023-02-08 15:37:44 +01:00
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
4 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#101786
No description provided.