Blender crashes during startup with sverchok add-on #118529

Closed
opened 2024-02-20 19:12:31 +01:00 by kursad k · 11 comments
Member

System Information
Operating system: Windows 11
Graphics card: RTX 2070

Blender Version
Broken: blender-4.2.0-alpha+main.5294381dae70-windows.amd64-release.zip
Worked: blender-4.2.0-alpha+main.14b5912eee6f-windows.amd64-release.zip

Short description of error
Blender crashes during startup with sverchok add-on

Exact steps for others to reproduce the error

# Blender 4.2.0, Commit date: 2024-02-20 07:07, Hash 5294381dae70

# backtrace
Exception Record:

ExceptionCode         : EXCEPTION_ACCESS_VIOLATION
Exception Address     : 0x00007FF77BFA7D10
Exception Module      : blender.exe
Exception Flags       : 0x00000000
Exception Parameters  : 0x2
	Parameters[0] : 0x0000000000000000
	Parameters[1] : 0x00000000000001C8


Stack trace:
blender.exe         :0x00007FF77BFA7D10  bNodeTreeInterface::tag_items_changed
blender.exe         :0x00007FF77C758CC0  rna_NodeTreeInterfaceSocket_value_update
blender.exe         :0x00007FF77C650780  rna_property_update
blender.exe         :0x00007FF77C64E2C0  RNA_property_update
blender.exe         :0x00007FF77C7936D0  pyrna_py_to_prop
blender.exe         :0x00007FF77C790550  bpy_class_validate_recursive
blender.exe         :0x00007FF77C758ED0  rna_NodeTreeInterfaceSocket_register
blender.exe         :0x00007FF77C78E550  pyrna_register_class
python311.dll       :0x00007FFDED8C9EE0  PyEval_EvalFrameDefault
python311.dll       :0x00007FFDED8C9EE0  PyEval_EvalFrameDefault
python311.dll       :0x00007FFDED8C9A60  PyEval_EvalCode
python311.dll       :0x00007FFDED94C090  PyRun_FileExFlags
python311.dll       :0x00007FFDED94C090  PyRun_FileExFlags
python311.dll       :0x00007FFDED94BEE0  PyRun_StringFlags
blender.exe         :0x00007FF77C77BF80  bpy_run_string_impl
blender.exe         :0x00007FF77C2A8C00  WM_init
blender.exe         :0x00007FF77BC884E0  main
blender.exe         :0x00007FF77E5F3BC4  __scrt_common_main_seh
KERNEL32.DLL        :0x00007FFE909753D0  BaseThreadInitThunk
ntdll.dll           :0x00007FFE90AA4830  RtlUserThreadStart


Threads:
Thread : 00008d10
ntdll.dll           :0x00007FFE90B478B0  NtWaitForWorkViaWorkerFactory
ntdll.dll           :0x00007FFE90AB6730  EtwNotificationRegister
KERNEL32.DLL        :0x00007FFE909753D0  BaseThreadInitThunk
ntdll.dll           :0x00007FFE90AA4830  RtlUserThreadStart


Thread : 00005f98
ntdll.dll           :0x00007FFE90B478B0  NtWaitForWorkViaWorkerFactory
ntdll.dll           :0x00007FFE90AB6730  EtwNotificationRegister
KERNEL32.DLL        :0x00007FFE909753D0  BaseThreadInitThunk
ntdll.dll           :0x00007FFE90AA4830  RtlUserThreadStart


**System Information** Operating system: Windows 11 Graphics card: RTX 2070 **Blender Version** Broken: blender-4.2.0-alpha+main.5294381dae70-windows.amd64-release.zip Worked: blender-4.2.0-alpha+main.14b5912eee6f-windows.amd64-release.zip **Short description of error** Blender crashes during startup with sverchok add-on **Exact steps for others to reproduce the error** - Install sverchok add-on: https://github.com/nortikin/sverchok/tree/bgl_replacement?tab=readme-ov-file - Enable it in preferences (crash) - If add-on is already enabled, Blender crashes during startup, before showing up the UI. ``` # Blender 4.2.0, Commit date: 2024-02-20 07:07, Hash 5294381dae70 # backtrace Exception Record: ExceptionCode : EXCEPTION_ACCESS_VIOLATION Exception Address : 0x00007FF77BFA7D10 Exception Module : blender.exe Exception Flags : 0x00000000 Exception Parameters : 0x2 Parameters[0] : 0x0000000000000000 Parameters[1] : 0x00000000000001C8 Stack trace: blender.exe :0x00007FF77BFA7D10 bNodeTreeInterface::tag_items_changed blender.exe :0x00007FF77C758CC0 rna_NodeTreeInterfaceSocket_value_update blender.exe :0x00007FF77C650780 rna_property_update blender.exe :0x00007FF77C64E2C0 RNA_property_update blender.exe :0x00007FF77C7936D0 pyrna_py_to_prop blender.exe :0x00007FF77C790550 bpy_class_validate_recursive blender.exe :0x00007FF77C758ED0 rna_NodeTreeInterfaceSocket_register blender.exe :0x00007FF77C78E550 pyrna_register_class python311.dll :0x00007FFDED8C9EE0 PyEval_EvalFrameDefault python311.dll :0x00007FFDED8C9EE0 PyEval_EvalFrameDefault python311.dll :0x00007FFDED8C9A60 PyEval_EvalCode python311.dll :0x00007FFDED94C090 PyRun_FileExFlags python311.dll :0x00007FFDED94C090 PyRun_FileExFlags python311.dll :0x00007FFDED94BEE0 PyRun_StringFlags blender.exe :0x00007FF77C77BF80 bpy_run_string_impl blender.exe :0x00007FF77C2A8C00 WM_init blender.exe :0x00007FF77BC884E0 main blender.exe :0x00007FF77E5F3BC4 __scrt_common_main_seh KERNEL32.DLL :0x00007FFE909753D0 BaseThreadInitThunk ntdll.dll :0x00007FFE90AA4830 RtlUserThreadStart Threads: Thread : 00008d10 ntdll.dll :0x00007FFE90B478B0 NtWaitForWorkViaWorkerFactory ntdll.dll :0x00007FFE90AB6730 EtwNotificationRegister KERNEL32.DLL :0x00007FFE909753D0 BaseThreadInitThunk ntdll.dll :0x00007FFE90AA4830 RtlUserThreadStart Thread : 00005f98 ntdll.dll :0x00007FFE90B478B0 NtWaitForWorkViaWorkerFactory ntdll.dll :0x00007FFE90AB6730 EtwNotificationRegister KERNEL32.DLL :0x00007FFE909753D0 BaseThreadInitThunk ntdll.dll :0x00007FFE90AA4830 RtlUserThreadStart ```
kursad k added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2024-02-20 19:12:31 +01:00

That version works fine here. Attach the full output as a file to this report and also see if loading factory defaults works by running blender_factory_startup.cmd

That version works fine here. Attach the full output as a file to this report and also see if loading factory defaults works by running `blender_factory_startup.cmd`
Jesse Yurkovich added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-02-20 20:17:10 +01:00
Author
Member

Are you on windows 11? I will test it out, something must have changed in the last two days because the working version is from the 18th.

Are you on windows 11? I will test it out, something must have changed in the last two days because the working version is from the 18th.
Author
Member

The factory startup does not crash. I attached the full log in the first post.

The factory startup does not crash. I attached the full log in the first post.

Yes, I'm on win11. Your crash is coming from sverchok and typically we ask that things like this are reported to them but this may have exposed a problem in blender.

Let me check with the Node folks first, especially since you indicated this worked just yesterday, as most likely the bNodeTreeInterface.runtime struct is null.

# Python backtrace
  File "c:\blender_alpha\4.2\scripts\modules\bpy\utils\__init__.py", line 776 in register
  File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\sverchok-master\core\__init__.py", line 37 in sv_register_modules
  File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\sverchok-master\__init__.py", line 120 in register
  File "c:\blender_alpha\4.2\scripts\modules\addon_utils.py", line 444 in enable
  File "c:\blender_alpha\4.2\scripts\modules\addon_utils.py", line 34 in _initialize_once
  File "c:\blender_alpha\4.2\scripts\modules\bpy\utils\__init__.py", line 357 in load_scripts_extensions
Yes, I'm on win11. Your crash is coming from sverchok and typically we ask that things like this are reported to them but this may have exposed a problem in blender. Let me check with the Node folks first, especially since you indicated this worked just yesterday, as most likely the `bNodeTreeInterface.runtime` struct is null. ``` # Python backtrace File "c:\blender_alpha\4.2\scripts\modules\bpy\utils\__init__.py", line 776 in register File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\sverchok-master\core\__init__.py", line 37 in sv_register_modules File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\sverchok-master\__init__.py", line 120 in register File "c:\blender_alpha\4.2\scripts\modules\addon_utils.py", line 444 in enable File "c:\blender_alpha\4.2\scripts\modules\addon_utils.py", line 34 in _initialize_once File "c:\blender_alpha\4.2\scripts\modules\bpy\utils\__init__.py", line 357 in load_scripts_extensions ```
Author
Member

Yes, but the addon itself has not been updated, Blender versions days apart seems to behave differently with addon loading.

Yes, but the addon itself has not been updated, Blender versions days apart seems to behave differently with addon loading.
Jesse Yurkovich added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2024-02-21 01:54:38 +01:00
Member

@kursadk hi, did a quick search for downloading the add-on. Am I looking at the correct sverchok addon repo: https://github.com/nortikin/sverchok?tab=readme-ov-file#installation?

@kursadk hi, did a quick search for downloading the add-on. Am I looking at the correct sverchok addon repo: https://github.com/nortikin/sverchok?tab=readme-ov-file#installation?
Author
Member
@PratikPB2123 Try this one branch https://github.com/nortikin/sverchok/tree/bgl_replacement?tab=readme-ov-file
Member

Indeed, can confirm the crash. I'll do the bisect at least.

Indeed, can confirm the crash. I'll do the bisect at least.
Author
Member

@PratikPB2123 Thanks, I appreciate it. My point was that the addon did not change or got updated for quite some time, but Blender has started crashing with the last two builds (Feb 19th and the 20th, all the rest of the builds before those dates work fine with the addon). So either there is a breaking API change or there is some unintentional bug there.

The thing is that no addon should be able to do hard crash like this. It is not like this is the X addon does not work with Blender argument. In fact the addon does not even get a chance to cause issues or act broken in Blender, given Blender just shuts down as soon as it starts.

Thanks

@PratikPB2123 Thanks, I appreciate it. My point was that the addon did not change or got updated for quite some time, but Blender has started crashing with the last two builds (Feb 19th and the 20th, all the rest of the builds before those dates work fine with the addon). So either there is a breaking API change or there is some unintentional bug there. The thing is that no addon should be able to do hard crash like this. It is not like this is the X addon does not work with Blender argument. In fact the addon does not even get a chance to cause issues or act broken in Blender, given Blender just shuts down as soon as it starts. Thanks
Member

Caused by 42faf9d242
@mod_moder ^

Caused by 42faf9d2427bffc4743f00b3e991c76601a77111 @mod_moder ^
Pratik Borhade changed title from Blender crashes during startup to Blender crashes during startup with sverchok add-on 2024-02-21 07:24:11 +01:00
Iliya Katushenock self-assigned this 2024-02-21 13:47:53 +01:00
https://projects.blender.org/blender/blender/commit/a1b95f69fa9ef0bcd0c92cf5352781a75dff1e02
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-02-22 04:48:35 +01:00
Iliya Katushenock removed their assignment 2024-02-22 04:48:39 +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
4 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#118529
No description provided.