custom render engine crashes blender by consecutive hitting f12 #46176
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#46176
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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
Mac OS X 10.9.4
Blender Version
Broken: 2.75a c27589e
Worked: (optional)
Short description of error
Segmentation fault: 11
Exact steps for others to reproduce the error
open attached blend, click 'Run Script' in Text editor, choose 'Crash Renderer' from dropdown list in Info header and start hitting F12 until it crashes, usually 5 to 10 times is enough, but sometimes it take longer or even shorter. Hit F12, wait a second to finish, then again and again.. If it takes a bit longer to crash try hitting F12 faster. I've attached 3 crash reports #1 is the most common
crash.crash-1.txt
crash.crash-2.txt
crash.crash-3.txt
crash.blend
Changed status to: 'Open'
Added subscriber: @JakubUhlik
Added subscribers: @Sergey, @mont29
Can confirm the crash here, but think you are doing some very bad things in this script - rendering is called from threaded context, modifying the scene itself from there is calling for problems imho. @Sergey should know better about this subject, though?
yea, i know, it's not quite nice solution, but i can't find any other way to get hair root position on uv for child particles. uv_on_emitter accepts only Particles..
anyway, the whole project is here, if interested: https:*github.com/uhlik/blendmaxwell
Added subscriber: @brecht
Your script is exporting data in the
render()
method, but you should use theupdate()
method for that, which ensures the UI is locked while you are making changes to the scene.Changed status from 'Open' to: 'Archived'
As @brecht pointed out already you simply misusing the API.
render()
shouldn't access any blender data, it'll never be safe. Useupdate()
callback to synchronize blender scene to your renderer.Thanks for the report, but closing it now.
hi, what you mean is, put everything to
update()
and leaverender()
empty, right? i am exporting file for external renderer anyway. but when i do that, it crashes the same way as before..btw, i put everything in
render()
because example in documentation says: 'This is the only method called by blender, ...'