Segmentation fault switching screen layout from python #35434
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#35434
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?
%%%--- Operating System, Graphics card ---
Operating System: OS X 10.8.2
Processor: 2.7 GHz Intel Core i7
Graphics Card: NVIDIA GeForce GT 650M 1024 MB
2.67 (it's the only version I've ever used), downloaded from the blender website.
Switching the screen layout from a command line invocation of blender causes a segmentation fault.
Run the following command:
blender --python crash.py
The crash.py script is only these two lines:
import bpy
bpy.context.window.screen = bpy.data.screens['Scripting']
If you start blender and run this from the python console, it works fine, it's just the command line version that doesn't work. It also does not seem to crash if --background is supplied.
%%%
Changed status to: 'Open'
%%%Well obviously screen layouts shouldn't be switched without UI... should be easy to ensure it gets ignored.%%%
%%%there is a UI since --python doesn't imply --background,
fixed r56923.%%%
%%%That fix is not working, i also don't think handlers should be freed there.
See this report:
http://projects.blender.org/tracker/?func=detail&atid=498&aid=35481&group_id=9
I'll check this crasher too, maybe I see where the issue is.%%%
%%%Hrm, I don't it to crash, but also not doing anything (it should set the screen to scripting?)%%%
%%%Committed change to free only popup handlers r57204.
closing.%%%
Changed status from 'Open' to: 'Resolved'