Crash when adding Color Attribute to Mesh in Edit Mode #99461

Closed
opened 2022-07-05 15:23:07 +02:00 by Bjorn van der Scheer · 11 comments

{F13260926}System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59

Blender Version
Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: e05e1e3691
Worked: 3.1.0 (Was still Vertex Color back then)

Short description of error
Blender crashes when adding a Color Attribute to a mesh in Edit Mode.

Exact steps for others to reproduce the error

  1. Go into Edit Mode (with the Cube as active object)
  2. In the Properties Panel, under Object Data Properties, add a Color Attribute and click OK.
{[F13260926](https://archive.blender.org/developer/F13260926/Color_Attributes_Bug.blend)}**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59 **Blender Version** Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: `e05e1e3691` Worked: 3.1.0 (Was still Vertex Color back then) **Short description of error** Blender crashes when adding a Color Attribute to a mesh in Edit Mode. **Exact steps for others to reproduce the error** 1. Go into Edit Mode (with the Cube as active object) 2. In the Properties Panel, under Object Data Properties, add a Color Attribute and click OK.

Added subscriber: @bjen

Added subscriber: @bjen
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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

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

This seems to be exactly the same as #98673, but I can reproduce it on master.

* thread #1, name = 'blender', stop reason = signal SIGABRT
  * frame #0: 0x00007ffff7e1f20c libc.so.6`__pthread_kill_implementation + 284
    frame #1: 0x00007ffff7dcf838 libc.so.6`raise + 24
    frame #2: 0x00007ffff7db9535 libc.so.6`abort + 207
    frame #3: 0x0000000010d8b8a9 blender`_BLI_assert_abort at BLI_assert.c:46:3
    frame #4: 0x00000000045f271b blender`::ED_mesh_color_ensure(me=0x00007fffeb7eb808, name=0x0000000000000000) at mesh_data.cc:430:3
    frame #5: 0x000000000476445d blender`bool vertex_color_set<blender::ColorSceneLinear4f<(blender::eAlpha)0>, blender::color::FloatTraits, (eAttrDomain)0>(ob=0x00007fffeb8b8008, paintcol_in=blender::ColorPaint4f @ 0x00007fffffffdd08, layer=0x00007fffcaab9d88)0>, CustomDataLayer*) at paint_vertex.cc:4040:8
    frame #6: 0x0000000004731484 blender`paint_object_attributes_active_color_fill_ex(ob=0x00007fffeb8b8008, fill_color=blender::ColorPaint4f @ 0x00007fffffffddb8, only_selected=false)0>, bool) at paint_vertex.cc:4147:12
    frame #7: 0x0000000004731343 blender`::BKE_object_attributes_active_color_fill(ob=0x00007fffeb8b8008, fill_color=0x00007fffffffde70, only_selected=false) at paint_vertex.cc:4170:10
    frame #8: 0x0000000004aa5f63 blender`blender::ed::geometry::geometry_color_attribute_add_exec(C=0x00007ffff3f84388, op=0x00007fffcb57c388) at geometry_attributes.cc:239:3
    frame #9: 0x000000000324e3d6 blender`wm_operator_exec(C=0x00007ffff3f84388, op=0x00007fffcb57c388, repeat=false, store=true) at wm_event_system.cc:1099:14
    frame #10: 0x000000000324e2de blender`::WM_operator_call_ex(C=0x00007ffff3f84388, op=0x00007fffcb57c388, store=true) at wm_event_system.cc:1146:10
    frame #11: 0x000000000327f722 blender`dialog_exec_cb(C=0x00007ffff3f84388, arg1=0x00007fffdb1ffc28, arg2=0x00007fffcbe8ee08) at wm_operators.c:1430:3
    frame #12: 0x000000000490aa7b blender`ui_apply_but_funcs_after(C=0x00007ffff3f84388) at interface_handlers.c:1036:7
    frame #13: 0x0000000004906680 blender`ui_popup_handler(C=0x00007ffff3f84388, event=0x00007fffcbf38868, userdata=0x00007fffc96c18c8) at interface_handlers.c:11577:3
    frame #14: 0x0000000003259d4c blender`wm_handler_ui_call(C=0x00007ffff3f84388, handler=0x00007fffdafa3448, event=0x00007fffcbf38868, always_pass=0) at wm_event_system.cc:732:16
    frame #15: 0x00000000032590ee blender`wm_handlers_do_intern(C=0x00007ffff3f84388, win=0x00007fffeb877088, event=0x00007fffcbf38868, handlers=0x00007fffeb877198) at wm_event_system.cc:3164:21
    frame #16: 0x000000000325121f blender`wm_handlers_do(C=0x00007ffff3f84388, event=0x00007fffcbf38868, handlers=0x00007fffeb877198) at wm_event_system.cc:3283:16
    frame #17: 0x000000000325036d blender`::wm_event_do_handlers(C=0x00007ffff3f84388) at wm_event_system.cc:3875:17
    frame #18: 0x0000000003242a27 blender`WM_main(C=0x00007ffff3f84388) at wm.c:623:5
    frame #19: 0x0000000002a71fe9 blender`main(argc=1, argv=0x00007fffffffea08) at creator.c:547:5
    frame #20: 0x00007ffff7dba290 libc.so.6`__libc_start_call_main + 128
    frame #21: 0x00007ffff7dba34a libc.so.6`__libc_start_main@@GLIBC_2.34 + 138
    frame #22: 0x0000000002a71ba5 blender`_start + 37
This seems to be exactly the same as #98673, but I can reproduce it on master. ``` * thread #1, name = 'blender', stop reason = signal SIGABRT * frame #0: 0x00007ffff7e1f20c libc.so.6`__pthread_kill_implementation + 284 frame #1: 0x00007ffff7dcf838 libc.so.6`raise + 24 frame #2: 0x00007ffff7db9535 libc.so.6`abort + 207 frame #3: 0x0000000010d8b8a9 blender`_BLI_assert_abort at BLI_assert.c:46:3 frame #4: 0x00000000045f271b blender`::ED_mesh_color_ensure(me=0x00007fffeb7eb808, name=0x0000000000000000) at mesh_data.cc:430:3 frame #5: 0x000000000476445d blender`bool vertex_color_set<blender::ColorSceneLinear4f<(blender::eAlpha)0>, blender::color::FloatTraits, (eAttrDomain)0>(ob=0x00007fffeb8b8008, paintcol_in=blender::ColorPaint4f @ 0x00007fffffffdd08, layer=0x00007fffcaab9d88)0>, CustomDataLayer*) at paint_vertex.cc:4040:8 frame #6: 0x0000000004731484 blender`paint_object_attributes_active_color_fill_ex(ob=0x00007fffeb8b8008, fill_color=blender::ColorPaint4f @ 0x00007fffffffddb8, only_selected=false)0>, bool) at paint_vertex.cc:4147:12 frame #7: 0x0000000004731343 blender`::BKE_object_attributes_active_color_fill(ob=0x00007fffeb8b8008, fill_color=0x00007fffffffde70, only_selected=false) at paint_vertex.cc:4170:10 frame #8: 0x0000000004aa5f63 blender`blender::ed::geometry::geometry_color_attribute_add_exec(C=0x00007ffff3f84388, op=0x00007fffcb57c388) at geometry_attributes.cc:239:3 frame #9: 0x000000000324e3d6 blender`wm_operator_exec(C=0x00007ffff3f84388, op=0x00007fffcb57c388, repeat=false, store=true) at wm_event_system.cc:1099:14 frame #10: 0x000000000324e2de blender`::WM_operator_call_ex(C=0x00007ffff3f84388, op=0x00007fffcb57c388, store=true) at wm_event_system.cc:1146:10 frame #11: 0x000000000327f722 blender`dialog_exec_cb(C=0x00007ffff3f84388, arg1=0x00007fffdb1ffc28, arg2=0x00007fffcbe8ee08) at wm_operators.c:1430:3 frame #12: 0x000000000490aa7b blender`ui_apply_but_funcs_after(C=0x00007ffff3f84388) at interface_handlers.c:1036:7 frame #13: 0x0000000004906680 blender`ui_popup_handler(C=0x00007ffff3f84388, event=0x00007fffcbf38868, userdata=0x00007fffc96c18c8) at interface_handlers.c:11577:3 frame #14: 0x0000000003259d4c blender`wm_handler_ui_call(C=0x00007ffff3f84388, handler=0x00007fffdafa3448, event=0x00007fffcbf38868, always_pass=0) at wm_event_system.cc:732:16 frame #15: 0x00000000032590ee blender`wm_handlers_do_intern(C=0x00007ffff3f84388, win=0x00007fffeb877088, event=0x00007fffcbf38868, handlers=0x00007fffeb877198) at wm_event_system.cc:3164:21 frame #16: 0x000000000325121f blender`wm_handlers_do(C=0x00007ffff3f84388, event=0x00007fffcbf38868, handlers=0x00007fffeb877198) at wm_event_system.cc:3283:16 frame #17: 0x000000000325036d blender`::wm_event_do_handlers(C=0x00007ffff3f84388) at wm_event_system.cc:3875:17 frame #18: 0x0000000003242a27 blender`WM_main(C=0x00007ffff3f84388) at wm.c:623:5 frame #19: 0x0000000002a71fe9 blender`main(argc=1, argv=0x00007fffffffea08) at creator.c:547:5 frame #20: 0x00007ffff7dba290 libc.so.6`__libc_start_call_main + 128 frame #21: 0x00007ffff7dba34a libc.so.6`__libc_start_main@@GLIBC_2.34 + 138 frame #22: 0x0000000002a71ba5 blender`_start + 37 ```
Member

Added subscriber: @JosephEagar

Added subscriber: @JosephEagar
Member

Can you take a look at this @JosephEagar?

Can you take a look at this @JosephEagar?

Added subscriber: @star624

Added subscriber: @star624

Removed subscriber: @star624

Removed subscriber: @star624
Member

Back to normal since this is just an assert, the real bug is resolved.

Back to normal since this is just an assert, the real bug is resolved.
Member

Changed status from 'Confirmed' to: 'Archived'

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

It seems this is now resolved and don't need further action, so archiving.

It seems this is now resolved and don't need further action, so archiving.
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#99461
No description provided.