freestyle crashes blender #44404
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#44404
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
OS: windows 8 64bit
GPU: nvidia gtx 860m
Blender Version
Broken: official 2.74
Worked: (optional)
Short description of error
when rendering a animation with freestyle and "line set" options enabled blender crashes
Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps
1.open the blend file test01.blend
2. make sure freestyle is enabled
3. render the animation a couple of times (till blender crashes)
there are also a couple of error messages when rendering when all "selection by" are disabled:
note that when these are disabled blender does not crash so i guess the crash is somehow caused by these options
Changed status to: 'Open'
Added subscriber: @DanielGrauer
Added subscriber: @mont29
Main issue (crash with weird BT) is not specific to Freestyle, we have other similar reports, will merge this one in it.
Closed as duplicate of #44238
Added subscriber: @Psy-Fi
I don't think merging is the correct thing to do, the backtrace does not work on release builds, and will display the exact same thing almost everywhere, regardless of the crash.
Changed status from 'Duplicate' to: 'Open'
Added subscriber: @kjym3
Many thanks @Psy-Fi for the notes on incorrect backtrace on release builds. I guess I was one of many who got confused by a backtrace that apparently makes no sense. I could reproduce the reported bug by a RelWithDebInfo build within VS 2013 (the bug was not reproducible in a Debug build). Here is a backtrace from the debugger.
I still need to further investigate the cause of bug. There is something wrong in the layer of the Python API, but debug symbols are not available in the backtrace above, which makes it difficult to identify the reason of the crash.
Anyway I will reopen the issue as confirmed.
Added subscriber: @Sergey
Added subscriber: @ideasman42
Looks like this is caused by freeing compiled Python objects in a thread.
Suggest not to use
Text
data at all. Just allocate a buffer and callBPY_string_exec
instead.Wow thanks Campbell for the advice. I will try the suggested fix asap.
This issue was referenced by
85ae4b87af
Changed status from 'Open' to: 'Resolved'
Closed by commit
85ae4b87af
.was this fix done in a branch? i still get the crash with the latest build but now the crashlog contains no more information except this
im building now a debug version and hopefully get more information about the crash, but im not a coder so i might need some help to do so.
EDIT: looks like its comming from a contrib addon "render_auto_save.py"
but i got a crashlog from a debug build so maybe that points to other problem
@DanielGrauer, it is likely to be a race condition between threads, so ideally we need to have backtrace of all threads. Any chance you can get those from IDE?
Also, did i understand correct that disabling autosave addon solves the crashes?
@Sergey, can you tell me what i need to do to get the backtrace from IDE?
and yes if i disable the austosave then i can not get it to crash (at least in the ~30-40 times i tried)
@DanielGrauer, not from a top of my head. Would probably be simplier to me to compile debug build and try to reproduce it first.
Also, it seems to be separate issue, so do you mind firing a new bug report and assigning to me?