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.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#99678
No description provided.