Slicing certain BMEditSelSeq objects crashes Blender #89450

Closed
opened 2021-06-26 13:09:13 +02:00 by Constantine Shablya · 11 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.11

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: 02948a2cab

Short description of error
Slicing a non-empty BMEditSelSeq with left bound being length of this object crashes Blender.

Exact steps for others to reproduce the error

  1. Open blender;
  2. Switch to Scripting tab;
  3. In the text editor, open operator_unwrap_and_crash_blender.py;
    operator_unwrap_and_crash_blender.py
  4. In the 3D view, switch to edit mode, switch to face select, select at least one face;
  5. Run the script;
  6. Observe blender crash.

For clarity, see the attached screenshot:
blender_CoU8aDqXy1.png

system-info.txt

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.11 **Blender Version** Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `02948a2cab` **Short description of error** Slicing a non-empty BMEditSelSeq with left bound being length of this object crashes Blender. **Exact steps for others to reproduce the error** 1) Open blender; 2) Switch to Scripting tab; 3) In the text editor, open operator_unwrap_and_crash_blender.py; [operator_unwrap_and_crash_blender.py](https://archive.blender.org/developer/F10202932/operator_unwrap_and_crash_blender.py) 4) In the 3D view, switch to edit mode, switch to face select, select at least one face; 5) Run the script; 6) Observe blender crash. For clarity, see the attached screenshot: ![blender_CoU8aDqXy1.png](https://archive.blender.org/developer/F10202933/blender_CoU8aDqXy1.png) [system-info.txt](https://archive.blender.org/developer/F10202936/system-info.txt)

Added subscriber: @nanokatze

Added subscriber: @nanokatze

Also happens on 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: 1b8d33b18c

Also happens on 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: `1b8d33b18c`
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Pratik Borhade self-assigned this 2021-06-26 17:39:22 +02:00
Pratik Borhade removed their assignment 2021-07-03 11:22:59 +02:00
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

No intention to the assign task to myself. It was just a mistake.

No intention to the assign task to myself. It was just a mistake.

Added subscriber: @ideasman42

Added subscriber: @ideasman42

I've got a fix for this, however I'd like to investigate related issues since they might apply slicing elsewhere.

I've got a fix for this, however I'd like to investigate related issues since they might apply slicing elsewhere.

This issue was referenced by a609e9f07f

This issue was referenced by a609e9f07ff9732b85aff2bdfe169ea785aac626

This issue was referenced by f6665f506b

This issue was referenced by f6665f506b0a7cb5251501eca37a8e2e9d7bafc1

This issue was referenced by 2b51124d6a

This issue was referenced by 2b51124d6a59bedf00397d4ef2fd4442c4fddd22

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Campbell Barton self-assigned this 2021-08-05 08:56:59 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#89450
No description provided.