Crash when texture painting across multiple materials #96213
Labels
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#96213
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.09
Blender Version
Broken: version: 3.1.0 Release Candidate, branch: master, commit date: 2022-03-04 14:21, hash:
45079b169d
Caused by
d743ef91df
Short description of error
Crashes when painting inbetween two materials on the same object.
blender_qd2WhrnJ8d.mp4
Exact steps for others to reproduce the error
texturecrash.blend
Paint in-between the two materials. Painting on one only doesn't crash. Only crashes when you paint in between the two.
Each material has it's own texture that you can paint to.
Added subscriber: @kfoong
Crash file: texturecrash.crash.txt
Added subscriber: @PratikPB2123
Broke between
eb0f8317e2
-eabdcdcd44
Will bisect.
Added subscribers: @Jeroen-Bakker, @ThomasDinges
@Jeroen-Bakker hi, can you take a look? First bad commit appears to be
d743ef91df
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @Raimund58
@PratikPB2123 I am not able to reproduce it on my system (Linux+AMD). Can someone add a stack trace?
20220308_T96213.mp4
(Will also upload video recording)
Video recorded on build of master branch:
901a03725e
(same for 3.1.0)To get the crash- Hold and drag LMB from one to other material
Hmm will try on windows. the line itself is a bit weird...
According to my source tree the crash happens at
which is just subtracting two integers on the stack...
You probably have checked the code on 3.1 branch
On master it shows crash at image_gpu_texture_partial_update_changes_available(image, changes);
Which is still strange. What can possible go wrong there that leads to a crash... Currently building a similar system to reproduce the issue...
I am able to reproduce the issue on release builds on windows.
This issue was referenced by
1d902a6367
Changed status from 'Confirmed' to: 'Resolved'
Added subscriber: @rolandmm
This comment was removed by @rolandmm
This comment was removed by @rolandmm