Regression: Node Editor: Crash On Typing or Scrolling In Add Search #101245
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
9 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#101245
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
MacBook Pro (16-inch, 2019)
Operating system: macOS Monterey 12.3
Processor: 2.3 GHz 8-Core Intel Core i9
Graphics card: AMD Radeon Pro 5500M 8 GB
Blender Version
Broken: 3.4.0,
6f15141f27
, master, 2022-09-20Worked: 3.4.0,
ecf3435362
, master, 2022-09-18Broken by {bdb57541475f20ccc4f6e5f8fc075ac424becc19}
Short description of error
Blender crashes immediately after typing in the add node search bar, or scrolling past the last visible item. This occurs across all node editors including Shader Nodes, Geometry Nodes, and Compositing.
Exact steps for others to reproduce the error
Added subscriber: @RoyTheKoi
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Needs User Info'
Hi, thanks for the report. I'm not able to redo the crash as described in current master.
Do you use any add-ons? Maybe worth to check with factory settings: {nav File > Defaults > Load Factory Settings}
Thanks for that suggestion, it solved the issue. It turned out to be some old versions of community addons that were causing python errors.
Thanks for the update. Which add-on BTW?
Actually after double checking, it seems the issue is related to something else, although I'm still trying to figure out what that is specifically.
I had thought that the addons (Radeon Pro Render and Animation Nodes, installed a while ago) were the problem since they were throwing python errors, and loading factory settings disabled them.
However without loading factory settings I was still getting crashes even after disabling all addons to be safe. So some other setting must be responsible instead.
bdb5754147
might be related but we need exact way to reproduce the crash to later fix itAsset libraries do seem to be the cause. Deleting the asset library paths under {nav Preferences -> File Paths -> Asset Libraries} stopped the crashes.
I am doing further testing to find the specific conditions that cause the crash.
Opening Blender with terminal showed this message upon crashing:
There was an EXR file with dimensions of 512x1 in one of my asset libraries. Removing it from the folder stopped the crashes.
I found that crashing would occur even if the folder contained nothing but this image alone.
To be thorough I tested other image dimensions and the threshold seems to be 256x1 pixels. Anything wider results in crashes.
To summarize the steps:
Thanks for the further investigation. Still I'm unable to redo it.
Could you also upload the crash logs: https://docs.blender.org/manual/en/latest/troubleshooting/crash.html#macos
It looks like Blender isn't generating logs for this crash. For what it's worth there is also no "Blender quit unexpectedly" dialog when the app closes like there is in some other cases.
I have reported a few other bugs/crashes before that only seem to affect this particular model of Mac, perhaps this is another one of those.
Changed status from 'Needs User Info' to: 'Needs Triage'
Changed status from 'Needs Triage' to: 'Needs User Info'
Can you check again in recent 3.4 build?: https://builder.blender.org/download/daily/
Hi, any news?
Just checked on the most recent 3.4 daily build (October 20). The crash still occurs under the same conditions (placing a 257x1 pixel EXR image in an asset library folder then using the add-search menu).
Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @mano-wii
I cannot replicate the problem.
This is the image I tested:
Maybe it's a Mac only issue.
I don't have the Mac available at the moment to test (only next month).
Added subscriber: @iss
@iss, can you reproduce the crash in mac?
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirm, will bisect.
Node Editor: Crash On Typing or Scrolling In Add Searchto Regression: Node Editor: Crash On Typing or Scrolling In Add SearchAdded subscriber: @HooglyBoogly
I can't reproduce this locally. Seems it is a mac-only issue. Without a stack trace at least, there's not much I can do right now.
Added subscriber: @lone_noel
Since I'm on mac I investigated this a bit.
The crash happens during the creation of thumbnails of .exr files with aspect ratio of greater than 256:1.
An easy and reliable way to reproduce the bug on mac is by opening the folder containing the problematic .exr in blender's file browser and switching to the thumbnail preview.
The core issue seems to be that because of float to int truncation
imb_load_filepath_thumbnail_openexr
creates the image buffer for the thumbnail with a height of 0, which causes OpenColorIO to abort with the following error:Simply clamping the thumbnail dimensions to at least 1 like in the diff below fixes the crash for me, but I think someone with experience in this area should take a closer look :)
Added subscribers: @Harley, @ideasman42, @brecht
Thanks for investigating @lone_noel!
@brecht @ideasman42 @Harley (from D14663), the above solution looks simple enough to me, shall we use that?
That looks like a great solution. Although... looks like I made the same mistake twice:
The patch from @Harley looks good to me for
blender-v3.4-release
.on it.
This issue was referenced by
658220e815
This issue was referenced by
87582d95df
Changed status from 'Confirmed' to: 'Resolved'