Crash with certain file. Sculpt mode. Vertex color fill + edge. #86940

Closed
opened 2021-03-25 14:06:03 +01:00 by Vyacheslav Kobozev · 6 comments

System Information
Operating system: Windows-8.1-6.3.9600-SP0 64 Bits
Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-03-24 17:47, hash: 9ac7946dd0

Short description of error
When I try to apply vertex color Fill (Sculpt mode) on edge in this particular file, I get crash
And all fine for shapes/triangle.

VC + edge crush.blend

debug_logs.7z

**System Information** Operating system: Windows-8.1-6.3.9600-SP0 64 Bits Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40 **Blender Version** Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-03-24 17:47, hash: `9ac7946dd0` **Short description of error** When I try to apply vertex color Fill (Sculpt mode) on edge in this particular file, I get crash And all fine for shapes/triangle. [VC + edge crush.blend](https://archive.blender.org/developer/F9909241/VC___edge_crush.blend) [debug_logs.7z](https://archive.blender.org/developer/F9909245/debug_logs.7z)

Added subscriber: @Vyach

Added subscriber: @Vyach
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Philipp Oeser self-assigned this 2021-03-29 13:14:32 +02:00
Member

Can confirm, non-existent SculptSession->face_sets is accessed.
Think simple NULL check is fine here, will check.

1  SCULPT_active_face_set_get                sculpt.c              335  0x47e3740 
2  SCULPT_automasking_cache_settings_update  sculpt_automasking.c  333  0x480e615 
3  SCULPT_automasking_cache_init             sculpt_automasking.c  346  0x480e6ad 
4  sculpt_color_filter_invoke                sculpt_filter_color.c 309  0x482f73d 
5  wm_operator_invoke                        wm_event_system.c     1350 0x3a2b7bd 
6  wm_handler_operator_call                  wm_event_system.c     2178 0x3a2d6e9 
7  wm_handlers_do_keymap_with_keymap_handler wm_event_system.c     2503 0x3a2e41d 
8  wm_handlers_do_intern                     wm_event_system.c     2799 0x3a2f397 
9  wm_handlers_do                            wm_event_system.c     2931 0x3a2f91a 
10 wm_event_do_handlers                      wm_event_system.c     3421 0x3a30e4b 
11 WM_main                                   wm.c                  646  0x3a24a00 
12 main                                      creator.c             520  0x344d6b2 
Can confirm, non-existent `SculptSession->face_sets` is accessed. Think simple NULL check is fine here, will check. ``` 1 SCULPT_active_face_set_get sculpt.c 335 0x47e3740 2 SCULPT_automasking_cache_settings_update sculpt_automasking.c 333 0x480e615 3 SCULPT_automasking_cache_init sculpt_automasking.c 346 0x480e6ad 4 sculpt_color_filter_invoke sculpt_filter_color.c 309 0x482f73d 5 wm_operator_invoke wm_event_system.c 1350 0x3a2b7bd 6 wm_handler_operator_call wm_event_system.c 2178 0x3a2d6e9 7 wm_handlers_do_keymap_with_keymap_handler wm_event_system.c 2503 0x3a2e41d 8 wm_handlers_do_intern wm_event_system.c 2799 0x3a2f397 9 wm_handlers_do wm_event_system.c 2931 0x3a2f91a 10 wm_event_do_handlers wm_event_system.c 3421 0x3a30e4b 11 WM_main wm.c 646 0x3a24a00 12 main creator.c 520 0x344d6b2 ```
Philipp Oeser removed their assignment 2022-01-18 21:04:31 +01:00
Member

Will have to concentrate on triaging for a while (and step down).

Will have to concentrate on triaging for a while (and step down).
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:11:59 +01:00
Member

This is not crashing since 3.4 anymore.

I havent hunted down the exact commit, but but close since this is resolved.
Feel free to comment again if issues persist in fresh builds from https://builder.blender.org/download/daily/, we can always reopen in such case.

This is not crashing since 3.4 anymore. I havent hunted down the exact commit, but but close since this is resolved. Feel free to comment again if issues persist in fresh builds from https://builder.blender.org/download/daily/, we can always reopen in such case.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-02-22 11:04:31 +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
2 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#86940
No description provided.