Crashing modes round 3: Sculpt to Vertex Paint #70707

Closed
opened 2019-10-10 15:52:34 +02:00 by Alex · 12 comments

System Information
Intel Core i7, 16 Gb RAM, NVidia GeForce RTX 2070
Windows 10 x64

Blender Version
Broken: 2.81 f61a8a2abd from 2019-10-09

Short description of error
Looks like there is another combination of mode switching that causes Blender to crash, it happens when you switch from Sculpt to Vertex Paint while Paint Mask - Face Selection was active within Vertex Paint.

Exact steps for others to reproduce the error

  1. Open Blender, add Basis Shape key to the default Cube.
  2. Enter Vertex Paint Mode and activate Paint Mask - Face Selection.
  3. Switch to Sculpt Mode.
  4. Switch back to Vertex Paint and Blender will crash.
  5. Did some additional testing and was able to reproduce with Edit Mode instead of Sculpt Mode as well

Here is my test file just in case - open it and switch to Vertex Paint.
Crash_Sculpt_to_VertexPaint_mode.blend

**System Information** Intel Core i7, 16 Gb RAM, NVidia GeForce RTX 2070 Windows 10 x64 **Blender Version** Broken: 2.81 f61a8a2abd07 from 2019-10-09 **Short description of error** Looks like there is another combination of mode switching that causes Blender to crash, it happens when you switch from Sculpt to Vertex Paint while Paint Mask - Face Selection was active within Vertex Paint. **Exact steps for others to reproduce the error** 1. Open Blender, add Basis Shape key to the default Cube. 2. Enter Vertex Paint Mode and activate Paint Mask - Face Selection. 3. Switch to Sculpt Mode. 4. Switch back to Vertex Paint and Blender will crash. 5. Did some additional testing and was able to reproduce with Edit Mode instead of Sculpt Mode as well Here is my test file just in case - open it and switch to Vertex Paint. [Crash_Sculpt_to_VertexPaint_mode.blend](https://archive.blender.org/developer/F7801828/Crash_Sculpt_to_VertexPaint_mode.blend)
Author

Added subscriber: @SpectreFirst

Added subscriber: @SpectreFirst
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Not sure if this is about the RTX 2070, but no crash here (bot with manual steps, or opening the file, linux, 970m, 435.21)

Just to be sure: does this happen with Factory Settings as well?

Not sure if this is about the RTX 2070, but no crash here (bot with manual steps, or opening the file, linux, 970m, 435.21) Just to be sure: does this happen with Factory Settings as well?
Author

Yes, tested once again on factory defaults without touching anything except the Cube itself, reproducible 100% with Sculpt-to-Vertex and Edit-to-Vertex modes on my side.

Tested on Windows 8.1 with NVidia GTX 750 and WIndows 10 with AMD Radeon R7 360, all three have the same problem, reproducible 100%.

Tested again on my 2070 machine with blender.exe -d mode and it seems that crash doesn't happen on me as well, it only does when I launch Blender the regular way. Just in case, this is the last string of Blender's output in -d mode, I don't know if this is useful:
mesh_ensure_tessellation_customdata: warning! Tessellation uvs or vcol data got out of sync, had to reset!

  CD_MTFACE: 0 != CD_MLOOPUV: 1 || CD_MCOL: 0 != CD_MLOOPCOL: 1

ERROR (bke.modifier): c:\b\win64_cmake_vs2017\win64_cmake_vs2017\blender.git\source\blender\blenkernel\intern\modifier.c:410 modifier_setError: Not supported in dyntopo

Yes, tested once again on factory defaults without touching anything except the Cube itself, reproducible 100% with Sculpt-to-Vertex and Edit-to-Vertex modes on my side. Tested on Windows 8.1 with NVidia GTX 750 and WIndows 10 with AMD Radeon R7 360, all three have the same problem, reproducible 100%. Tested again on my 2070 machine with blender.exe -d mode and it seems that crash doesn't happen on me as well, it only does when I launch Blender the regular way. Just in case, this is the last string of Blender's output in -d mode, I don't know if this is useful: mesh_ensure_tessellation_customdata: warning! Tessellation uvs or vcol data got out of sync, had to reset! ``` CD_MTFACE: 0 != CD_MLOOPUV: 1 || CD_MCOL: 0 != CD_MLOOPCOL: 1 ``` ERROR (bke.modifier): c:\b\win64_cmake_vs2017\win64_cmake_vs2017\blender.git\source\blender\blenkernel\intern\modifier.c:410 modifier_setError: Not supported in dyntopo

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I can't reproduce the bug with the steps described.
When opening the file, ShapeKey Base was already added and when I went to Vertex Paint mode, Face selection was already activated.

Are the steps to reproduce the problem really correct?

I can't reproduce the bug with the steps described. When opening the file, ShapeKey Base was already added and when I went to Vertex Paint mode, Face selection was already activated. Are the steps to reproduce the problem really correct?
Author

Tested 2.82 alpha bde328352b from 2019-10-11 and yes, the problem is still there and still 100% reproducible on all available computers. Tested both my instructions and provided file, both do exactly what they are supposed to. My test file already has all the needed actions done so you don't need to add shape keys and enable any modes, just open the file and switch to Vertex Paint, Blender should crash or become unresponsive. Instruction steps are for reproducing the whole sequence from scratch without the test file.

Aha, I think I have found a case where my instructions are not reproducible - it looks like it's 100% reproducible on Windows 8.1 and Windows 10 but I wasn't able to reproduce it on Windows 7 computers.

Tested 2.82 alpha bde328352be2 from 2019-10-11 and yes, the problem is still there and still 100% reproducible on all available computers. Tested both my instructions and provided file, both do exactly what they are supposed to. My test file already has all the needed actions done so you don't need to add shape keys and enable any modes, just open the file and switch to Vertex Paint, Blender should crash or become unresponsive. Instruction steps are for reproducing the whole sequence from scratch without the test file. Aha, I think I have found a case where my instructions are not reproducible - it looks like it's 100% reproducible on Windows 8.1 and Windows 10 but I wasn't able to reproduce it on Windows 7 computers.

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Can not reproduce in debug build. In release build this crashes.

Similar report and symptoms to #70534 (crash when going from edit mode to vertex paint mode)

Can not reproduce in debug build. In release build this crashes. Similar report and symptoms to #70534 (crash when going from edit mode to vertex paint mode)

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Richard Antalik self-assigned this 2020-05-18 12:43:06 +02:00

I am unable to reproduce this bug anymore (can repro in 2.81) so I will close it.

I am unable to reproduce this bug anymore (can repro in 2.81) so I will close it.
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#70707
No description provided.