Regression: Blender crash when trying to apply a none-existing modifier through python script. #99678

Closed
opened 2022-07-14 00:34:34 +02:00 by Lehong Wang · 8 comments

System Information
Operating system: Linux-5.15.0-39-generic-x86_64-with-glibc2.35 64 Bits
Graphics card: Mesa Intel(R) HD Graphics 620 (KBL GT2) Intel 4.6 (Core Profile) Mesa 22.0.1

Blender Version
Broken: version: 3.2.1, 3.3 (108963d508)
Worked: 3.3 (502c707e0e)

Short description of error
When try to apply a modifier that don't exist with python script, blender just crash.
It works fine when the modifier exists, but crashes when it doesn't.

Exact steps for others to reproduce the error

  • Open .blend file
  • execute script

#99678.blend

**System Information** Operating system: Linux-5.15.0-39-generic-x86_64-with-glibc2.35 64 Bits Graphics card: Mesa Intel(R) HD Graphics 620 (KBL GT2) Intel 4.6 (Core Profile) Mesa 22.0.1 **Blender Version** Broken: version: 3.2.1, 3.3 (108963d508d4) Worked: 3.3 (502c707e0e83) **Short description of error** When try to apply a modifier that don't exist with python script, blender just crash. It works fine when the modifier exists, but crashes when it doesn't. **Exact steps for others to reproduce the error** - Open .blend file - execute script [#99678.blend](https://archive.blender.org/developer/F13291535/T99678.blend)
Author

Added subscriber: @Lehong-Wang

Added subscriber: @Lehong-Wang
Member

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

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

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Is actually a regression introduced between 3.1 and 3.2

Is actually a regression introduced between 3.1 and 3.2
Pratik Borhade changed title from Blender crash when trying to apply a none-existing modifier through python script. to Regression: Blender crash when trying to apply a none-existing modifier through python script. 2022-07-14 08:12:00 +02:00
Member

Unable to bisect this properly due to build errors

Unable to bisect this properly due to build errors

This issue was referenced by 9d38a2d21c

This issue was referenced by 9d38a2d21c97e30321b911ec1f1843f9d0ad87c2

This issue was referenced by e75adb979b

This issue was referenced by e75adb979b0acefbf5f01b83f4139d6a43163b92

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Campbell Barton self-assigned this 2022-07-21 04:59:01 +02: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
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#99678
No description provided.