Blender crashes suddenly when add-on is invoked second time in the application #97516

Closed
opened 2022-04-21 19:27:46 +02:00 by Akhil · 23 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15

Blender Version
Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: c77597cd0e
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender works fine for at the beginning when using Addon initially and then after some regular operations it suddenly crashes when I invoke the same addon that I used previously

Exact steps for others to reproduce the error

  1. Start Blender
  2. Go to Preferences> Enable any third party add-on
  3. Perform one operation using add-on
  4. Then extrude any face
  5. Try to again use add-on using shortcut> Blender suddenly crashes
    7184_autosave.blend

blender.crash.txt
blender_01.crash.txt
[Based on the default startup or an attached .blend file (as simple as possible)]

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15 **Blender Version** Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: `c77597cd0e` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender works fine for at the beginning when using Addon initially and then after some regular operations it suddenly crashes when I invoke the same addon that I used previously **Exact steps for others to reproduce the error** 1. Start Blender 2. Go to Preferences> Enable any third party add-on 3. Perform one operation using add-on 4. Then extrude any face 5. Try to again use add-on using shortcut> Blender suddenly crashes [7184_autosave.blend](https://archive.blender.org/developer/F13014699/7184_autosave.blend) [blender.crash.txt](https://archive.blender.org/developer/F13014700/blender.crash.txt) [blender_01.crash.txt](https://archive.blender.org/developer/F13014768/blender_01.crash.txt) [Based on the default startup or an attached .blend file (as simple as possible)]
Author

Added subscriber: @Akhilblender

Added subscriber: @Akhilblender

Added subscriber: @rjg

Added subscriber: @rjg

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

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

What specific add-on and shortcut were you using? Have you tested that this issue still exists in Blender 3.1.2?

What specific add-on and shortcut were you using? Have you tested that this issue still exists in [Blender 3.1.2](https://www.blender.org/download/)?
Author

I tested it with Blender 3.1.2 too. Same crash occurs when I try to use add-ons. I tried using Meshmachine, Hardops, Boxcutter, etc. First time operation with addons work perfectly fine. It's the second time, I try to use addon it crashes after few operations. I use shortcuts Y for Meshmachine, Alt+W for Boxcutter, Q for Hardops. I tried changing keyboard shortcuts but problem still persists.

I tested it with Blender 3.1.2 too. Same crash occurs when I try to use add-ons. I tried using Meshmachine, Hardops, Boxcutter, etc. First time operation with addons work perfectly fine. It's the second time, I try to use addon it crashes after few operations. I use shortcuts Y for Meshmachine, Alt+W for Boxcutter, Q for Hardops. I tried changing keyboard shortcuts but problem still persists.

@Akhilblender Is this also reproducible with any add-on that is either already shipped with Blender or available free of charge? Unfortunately, we cannot purchase third-party add-ons trying to reproduce the bug.

@Akhilblender Is this also reproducible with any add-on that is either already shipped with Blender or available free of charge? Unfortunately, we cannot purchase third-party add-ons trying to reproduce the bug.
Author

This doesn't happen with add-ons shipped with blender. It happens to the add-ons that are developed by some independent developers either (paid or free) and I download them to use it in blender. I install them by directing blender to the zip folder containing the add-ons

This doesn't happen with add-ons shipped with blender. It happens to the add-ons that are developed by some independent developers either (paid or free) and I download them to use it in blender. I install them by directing blender to the zip folder containing the add-ons

@Akhilblender There is nothing inherently different about add-on shipped with Blender and those installed from third-parties, both use the same Python API. So there is no reason why the issue should only appear when using third-party add-ons. However, it may be related to the way particular functions are called by the add-on you have listed, but we need either a free add-on or one that is shipped with Blender, that allows to reproduce the crash.

@Akhilblender There is nothing inherently different about add-on shipped with Blender and those installed from third-parties, both use the same Python API. So there is no reason why the issue should only appear when using third-party add-ons. However, it may be related to the way particular functions are called by the add-on you have listed, but we need either a free add-on or one that is shipped with Blender, that allows to reproduce the crash.

Added subscriber: @Bintazmin

Added subscriber: @Bintazmin

I'm no dev, but I'm having the same issue. Crash only seems to happen with me when I use MeshMachine 0.11.0, or 0.11.1.
The first operation or two seems to work fine, then when I attempt another... boom.

I reached out to the dev, and submitted all the crash info, but he couldn't reproduce.

I'm no dev, but I'm having the same issue. Crash only seems to happen with me when I use MeshMachine 0.11.0, or 0.11.1. The first operation or two seems to work fine, then when I attempt another... boom. I reached out to the dev, and submitted all the crash info, but he couldn't reproduce.

Added subscriber: @MACHIN3

Added subscriber: @MACHIN3

@MACHIN3 It seems like we need your input. At the moment it is unclear whether this is caused by a bug in Blender or if the add-ons use the Python API in an unsafe way.

@MACHIN3 It seems like we need your input. At the moment it is unclear whether this is caused by a bug in Blender or if the add-ons use the Python API in an unsafe way.

If I can help you guys in any way, just let me know what you need.

If I can help you guys in any way, just let me know what you need.
Author

I had the crash with all the addons that I added in blender. I tried a temporary workaround by creating a folder and adding all the third-party plugins in there and defining the location in Edit>Preferences>File Paths>Scripts>(Folder containing third-party addons). This seems to have been working fine for now. But I don't know if it is the right way to fix the issue

image.png

I had the crash with all the addons that I added in blender. I tried a temporary workaround by creating a folder and adding all the third-party plugins in there and defining the location in **Edit>Preferences>File Paths>Scripts>(Folder containing third-party addons)**. This seems to have been working fine for now. But I don't know if it is the right way to fix the issue ![image.png](https://archive.blender.org/developer/F13026084/image.png)

This doesn't seem to be related to my addons in any way. But I'd encourage Nick to try Akhil's solution.

This doesn't seem to be related to my addons in any way. But I'd encourage Nick to try Akhil's solution.

@Akhilblender If you had this issue with all add-ons, then perhaps you can provide an example that is freely available so we can try to reproduce it? It's great that this workaround avoids the issue for you, but that should not be necessary.

@MACHIN3 Seems like it. Thank you for having a look though.

@Akhilblender If you had this issue with all add-ons, then perhaps you can provide an example that is freely available so we can try to reproduce it? It's great that this workaround avoids the issue for you, but that should not be necessary. @MACHIN3 Seems like it. Thank you for having a look though.

I tried Akhil's suggestion. Meshmachine worked fine for 3 operations, then Blender crashed again.

I tried Akhil's suggestion. Meshmachine worked fine for 3 operations, then Blender crashed again.

@Akhilblender @Bintazmin Please check if this issue occurs with one of Blender's add-ons that are included by default. If you cannot provide steps to reproduce this issue, then the ticket will eventually be closed.

@Akhilblender @Bintazmin Please check if this issue occurs with one of Blender's add-ons that are included by default. If you cannot provide steps to reproduce this issue, then the ticket will eventually be closed.

Meshmachine 0.11.2 was released over the weekend. This update has solved the issue in my case.

Meshmachine 0.11.2 was released over the weekend. This update has solved the issue in my case.
Author

@rjg . I tried the blender default add-ons and they work fine without any crashes

@rjg . I tried the blender default add-ons and they work fine without any crashes

Removed subscriber: @MACHIN3

Removed subscriber: @MACHIN3

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

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

While there may be a real issue in Blender, it has been more than a week without enough information to reproduce this issue.

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

While there may be a real issue in Blender, it has been more than a week without enough information to reproduce this issue. 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#97516
No description provided.