Blender 2.83.11 Beta: Crash running python script with registered timer (fixed in 2.90+) #84821

Closed
opened 2021-01-18 13:50:47 +01:00 by James Monteath · 14 comments

System Information

Operating system: Windows 10 Pro
CPU Model: Intel(R) Core(TM) i7-10875H CPU @ 2.30GHzLogical Cores:  16                            
GPU Model: Intel(R) UHD Graphics GPU Model: NVIDIA GeForce RTX 2070 Super with Max-Q Design

Blender Version
Broken:

Blender 2.83.11 Beta
        build date: 2021-01-18
        build time: 12:09:03
        build commit date: 2021-01-13
        build commit time: 10:37
        build hash: b78d373e96e0
        build platform: Windows
        build type: Release
        build c flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP /bigobj -openmp
        build c++ flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /nologo /J /Gd /MP /EHsc /bigobj /permissive- /Zc:twoPhase- -openmp
        build link flags: /MACHINE:X64  /SUBSYSTEM:CONSOLE /STACK:2097152,70656 /INCREMENTAL:NO  /ignore:4049 /ignore:4217 /ignore:4221
        build system: CMake

Worked: (all other versions)

Short description of error

wait_interval_count=2
wait_timer=1
wait_interval_count=1
wait_timer=1
wait_interval_count=0
Script - quiting
Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF6E5E3E725

Exact steps for others to reproduce the error
Run this script

./blender  --python ./blender-test-smoke.py

File:
blender-test-smoke.py

**System Information** ``` Operating system: Windows 10 Pro CPU Model: Intel(R) Core(TM) i7-10875H CPU @ 2.30GHzLogical Cores: 16 GPU Model: Intel(R) UHD Graphics GPU Model: NVIDIA GeForce RTX 2070 Super with Max-Q Design ``` **Blender Version** Broken: ``` Blender 2.83.11 Beta build date: 2021-01-18 build time: 12:09:03 build commit date: 2021-01-13 build commit time: 10:37 build hash: b78d373e96e0 build platform: Windows build type: Release build c flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP /bigobj -openmp build c++ flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /nologo /J /Gd /MP /EHsc /bigobj /permissive- /Zc:twoPhase- -openmp build link flags: /MACHINE:X64 /SUBSYSTEM:CONSOLE /STACK:2097152,70656 /INCREMENTAL:NO /ignore:4049 /ignore:4217 /ignore:4221 build system: CMake ``` Worked: (all other versions) **Short description of error** ``` wait_interval_count=2 wait_timer=1 wait_interval_count=1 wait_timer=1 wait_interval_count=0 Script - quiting Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF6E5E3E725 ``` **Exact steps for others to reproduce the error** Run this script ``` ./blender --python ./blender-test-smoke.py ``` File: [blender-test-smoke.py](https://archive.blender.org/developer/F9585278/blender-test-smoke.py)
Author

Added subscriber: @ponderz

Added subscriber: @ponderz

Added subscriber: @ideasman42

Added subscriber: @ideasman42
  • This is fixed in 2.90 and newer.
  • This crash can be avoided using sys.exit(0).

CC'ing @Jeroen-Bakker for the LTS.

- This is fixed in 2.90 and newer. - This crash can be avoided using `sys.exit(0)`. CC'ing @Jeroen-Bakker for the LTS.
Campbell Barton changed title from Blender 2.83.11 Beta: Crash running python script with registered timer to Blender 2.83.11 Beta: Crash running python script with registered timer (fixed in 2.90+) 2021-01-19 05:04:24 +01:00

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker

Added subscriber: @Memento

Added subscriber: @Memento
Author

Ah sys.exit(0) is the correct way to exit with python, will do this.

Ah sys.exit(0) is the correct way to exit with python, will do this.
Author

I put in a switch in for 2.83 for this bpy.ops.wm.quit_blender() call as i figure should still be used with blender ?

I put in a switch in for 2.83 for this `bpy.ops.wm.quit_blender()` call as i figure should still be used with blender ?
Author

This comment was removed by @ponderz-3

*This comment was removed by @ponderz-3*
Author

sys.exit(0) will hang blender 100% of the time.

`sys.exit(0)` will hang blender 100% of the time.
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

Can this be closed ?

Can this be closed ?
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Aaron Carlisle self-assigned this 2021-09-27 22:16:01 +02:00
Member

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.

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.
Thomas Dinges added this to the 2.83 LTS milestone 2023-02-08 16:35:26 +01:00
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
5 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#84821
No description provided.