Segmentation fault: 11 while opening addon preferences panel OSX #74954
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#74954
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Darwin-15.6.0-x86_64-i386-64bit 64 Bits
Graphics card: Intel Iris Pro OpenGL Engine Intel Inc. 4.1 INTEL-10.14.74
Blender Version
Broken: version: 2.83 (sub 9), branch: master, commit date: 2020-03-16 23:41, hash:
47af235ba9
Worked: (newest version of Blender that worked as expected)
Short description of error
I have an issue where my addon causes a segmentation fault 11 when i try to open the addon pref panel. As soon as i click the triangle to open the panel it crashes. The issue feels related to an error i noticed when EnumProperty return a different value other then 0
See this report: https://developer.blender.org/T74131
Exact steps for others to reproduce the error
01 Install added addon and active it
02 Click open pref panel and crash happens
uvlayout_bridge-bl280_dev.zip
blender.crash.txt
Added subscriber: @RomboutVersluijs
Added subscriber: @ankitm
Changed status from 'Needs Triage' to: 'Archived'
Can't redo on
689606887f
Operating system: Darwin-18.7.0-x86_64-i386-64bit 64 Bits
Graphics card: Intel(R) HD Graphics 6000 Intel Inc. 4.1 INTEL-12.10.12
Also, Darwin 15 is macOS 10.11, so that doesn't meet the min requirements to run Blender.
Added subscriber: @brecht
Changed status from 'Archived' to: 'Needs Triage'
This is not a graphics issue so the report should not be closed because of old macOS version.
Changed status from 'Needs Triage' to: 'Needs User Info'
However do note there is a known issue with enums which can lead to crashes:
https://docs.blender.org/api/current/bpy.props.html#bpy.props.EnumProperty
This add-ons also seems to be storing its preferences in the scene, which is wrong. The correct way is:
https://docs.blender.org/api/current/bpy.types.AddonPreferences.html
{F8418256}>>! In #74954#895046, @brecht wrote:
Thanks for the help and for noting about saving those properties. I have not read yet that this is bad practice.
Concerning that enum, i had the idea it could perhaps be linked but was not sure. The BlenderCloud addon also shows a warning and i also see this enum warning with other adds. Yet i have not found an addon which causes a crash by just opening the pref panel. Since it works fine in 2.82 and earlier im a bit lost what the issue actually is.
This is what i get from the BlenderCloud addni when it search for projects. I looked at some code and as far as i understand it. It should return "No projects found...", which it doesnt do.
Today i also see this addon, never seen this earlier in 2.83, i have no idea which addon could cause it since it doesnt give any other info.
I doubt this will help, but i an added OSX crash report
Added subscriber: @ideasman42
It's not efficient for us to debug an entire add-on, please simplify this, removing all unrelated logic to make a test case add-on which crashes on your system.
Also, be sure to test this add-on from factory settings.
Added subscriber: @iss
Changed status from 'Needs User Info' to: 'Archived'
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.