Crash/segfault on double-tap-a in weight paint mode with mask #86368

Closed
opened 2021-03-07 19:46:14 +01:00 by Andrew Oates · 11 comments

System Information
Operating system: Darwin-17.7.0-x86_64-i386-64bit 64 Bits
Graphics card: NVIDIA GeForce GT 750M OpenGL Engine NVIDIA Corporation 4.1 NVIDIA-10.32.0 355.11.10.10.40.102

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: 02948a2cab
(also seen on 2.91.2)
Worked: Unknown

Short description of error
Blender segfaults when double-tapping "a" to deselect in weight paint mode when the mask is enabled.

Exact steps for others to reproduce the error

  1. Enter weight paint mode on default cube
  2. Click "paint mask" button
  3. Double-tap "a" key repeatedly until segfault happens

Seems more likely to happen when some weights are set, if an armature is attached, etc. But even with no weights added, double-tapping "a" enough times will cause a crash. On my more complicated scene, it happens 100% of the time.

blender_crash_2.92.0 2.txt

blender.crash.txt

**System Information** Operating system: Darwin-17.7.0-x86_64-i386-64bit 64 Bits Graphics card: NVIDIA GeForce GT 750M OpenGL Engine NVIDIA Corporation 4.1 NVIDIA-10.32.0 355.11.10.10.40.102 **Blender Version** Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `02948a2cab` (also seen on 2.91.2) Worked: Unknown **Short description of error** Blender segfaults when double-tapping "a" to deselect in weight paint mode when the mask is enabled. **Exact steps for others to reproduce the error** 1) Enter weight paint mode on default cube 2) Click "paint mask" button 3) Double-tap "a" key repeatedly until segfault happens Seems more likely to happen when some weights are set, if an armature is attached, etc. But even with no weights added, double-tapping "a" enough times will cause a crash. On my more complicated scene, it happens 100% of the time. [blender_crash_2.92.0 2.txt](https://archive.blender.org/developer/F9877676/blender_crash_2.92.0_2.txt) [blender.crash.txt](https://archive.blender.org/developer/F9877679/blender.crash.txt)
Author

Added subscriber: @aoates

Added subscriber: @aoates
Member

Added subscribers: @fclem, @lichtwerk

Added subscribers: @fclem, @lichtwerk
Member

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

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

I am seeing this crash in glDrawElementsInstancedBaseVertex being reported often now.
It is always on MacOS.

#84247
#84322
blender/blender-addons#73249
#83028
there are others I have seen (this is not easy to search, because that info is burried in the crash logs -- but: there are more)

This could probably mean anything, @fclem: does this ring a bell?

I am seeing this crash in `glDrawElementsInstancedBaseVertex` being reported often now. It is always on MacOS. #84247 #84322 blender/blender-addons#73249 #83028 there are others I have seen (this is not easy to search, because that info is burried in the crash logs -- but: there are more) This could probably mean anything, @fclem: does this ring a bell?

Added subscriber: @CountJJ

Added subscriber: @CountJJ

I have also encountered this issue, also on macos
blender crash again.rtf
same version, but in my case its almost doing anything with the weight paint mask, whether its to invert the mask or deselecting all. When it happens the weight paint colors disappear from the mesh.

I have also encountered this issue, also on macos [blender crash again.rtf](https://archive.blender.org/developer/F9908913/blender_crash_again.rtf) same version, but in my case its almost doing anything with the weight paint mask, whether its to invert the mask or deselecting all. When it happens the weight paint colors disappear from the mesh.
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'

Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'
Member

Please retry on Blender 2.93, #84268 (Crash when selecting in weight mode (Paint Mask)) was resolved.

Please retry on Blender 2.93, #84268 (Crash when selecting in weight mode (Paint Mask)) was resolved.
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Member

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
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#86368
No description provided.