Crash rendering with wrong image path in image node [Compositor, Shader Editor] #92934

Closed
opened 2021-11-08 19:00:48 +01:00 by Georg K · 10 comments

System Information
Operating system: Linux-5.14.10-1-MANJARO-x86_64-with-glibc2.33 64 Bits
Graphics card: AMD VERDE (DRM 2.50.0, 5.14.10-1-MANJARO, LLVM 12.0.1) AMD 4.5 (Core Profile) Mesa 21.2.3

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-11-08 14:49, hash: c865577643
Worked: 2.83.8, 2.91.2, 2.93.5

Short description of error
If the path in the image node (set to Image Sequence or Movie) does not point to a file, blender will crash once rendering is started.
If the image node is set to Single Image, it will not crash. Also crashes with blender --factory-startup

Exact steps for others to reproduce the error
In the default scene, switch to the Compositor,
check Use Nodes, add Input - Image node with any image, set it to Image Sequence or Movie (the node does not need to be connected). Now delete or rename the image file with the file browser. Press F12, and Blender will crash (pressing F12 multiple times might be necessary).

or

In the default scene, switch to the Shader Editor for the default material,
add Texture - Image Texture node with any image, set it to Image Sequence or Movie, connect the node to the color input of the principled node. Now delete or rename the image file with the file browser. Press F12, and Blender will crash (pressing F12 multiple times might be necessary).

backtrace
../build_linux/bin/blender(BLI_system_backtrace+0x33) [0x7fe0113]
../build_linux/bin/blender() [0xfae94e]
/usr/lib/libc.so.6(+0x3cda0) [0x7f0a0751cda0]
../build_linux/bin/blender() [0xfe2882]
../build_linux/bin/blender(IMB_moviecache_cleanup+0x5e) [0x15f4b9e]
../build_linux/bin/blender(BKE_image_free_anim_ibufs+0x35) [0xfe51e5]
../build_linux/bin/blender(BKE_image_all_free_anim_ibufs+0x3e) [0xfe9d9e]
../build_linux/bin/blender() [0x6488099]
../build_linux/bin/blender(RE_RenderFrame+0xe3) [0x6488cb3]
../build_linux/bin/blender() [0x30ae3a4]
../build_linux/bin/blender() [0x13c4442]
/usr/lib/libpthread.so.0(+0x9259) [0x7f0a07ae7259]
/usr/lib/libc.so.6(clone+0x43) [0x7f0a075de5e3]

**System Information** Operating system: Linux-5.14.10-1-MANJARO-x86_64-with-glibc2.33 64 Bits Graphics card: AMD VERDE (DRM 2.50.0, 5.14.10-1-MANJARO, LLVM 12.0.1) AMD 4.5 (Core Profile) Mesa 21.2.3 **Blender Version** Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-11-08 14:49, hash: `c865577643` Worked: 2.83.8, 2.91.2, 2.93.5 **Short description of error** If the path in the image node (set to Image Sequence or Movie) does not point to a file, blender will crash once rendering is started. If the image node is set to Single Image, it will not crash. Also crashes with blender --factory-startup **Exact steps for others to reproduce the error** In the default scene, switch to the Compositor, check Use Nodes, add Input - Image node with any image, set it to Image Sequence or Movie (the node does not need to be connected). Now delete or rename the image file with the file browser. Press F12, and Blender will crash (pressing F12 multiple times might be necessary). or In the default scene, switch to the Shader Editor for the default material, add Texture - Image Texture node with any image, set it to Image Sequence or Movie, connect the node to the color input of the principled node. Now delete or rename the image file with the file browser. Press F12, and Blender will crash (pressing F12 multiple times might be necessary). backtrace ../build_linux/bin/blender(BLI_system_backtrace+0x33) [0x7fe0113] ../build_linux/bin/blender() [0xfae94e] /usr/lib/libc.so.6(+0x3cda0) [0x7f0a0751cda0] ../build_linux/bin/blender() [0xfe2882] ../build_linux/bin/blender(IMB_moviecache_cleanup+0x5e) [0x15f4b9e] ../build_linux/bin/blender(BKE_image_free_anim_ibufs+0x35) [0xfe51e5] ../build_linux/bin/blender(BKE_image_all_free_anim_ibufs+0x3e) [0xfe9d9e] ../build_linux/bin/blender() [0x6488099] ../build_linux/bin/blender(RE_RenderFrame+0xe3) [0x6488cb3] ../build_linux/bin/blender() [0x30ae3a4] ../build_linux/bin/blender() [0x13c4442] /usr/lib/libpthread.so.0(+0x9259) [0x7f0a07ae7259] /usr/lib/libc.so.6(clone+0x43) [0x7f0a075de5e3]
Author

Added subscriber: @georgK

Added subscriber: @georgK
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Thanks for the report. Can confirm the crash on master.
(Crash does not happen on 2.93 branch, will check for the culprit)

blender.exe         :0x00007FF7104F1DC0  imagecache_check_free_anim
blender.exe         :0x00007FF710888830  IMB_moviecache_cleanup
blender.exe         :0x00007FF7104E94D0  BKE_image_all_free_anim_ibufs
blender.exe         :0x00007FF7151B8E50  do_render_full_pipeline
blender.exe         :0x00007FF7151B60E0  RE_RenderFrame
blender.exe         :0x00007FF7115C8D60  render_startjob
blender.exe         :0x00007FF710707A20  do_job_thread
blender.exe         :0x00007FF715948E70  _ptw32_threadStart
ucrtbase.dll        :0x00007FF88DF71B20  configthreadlocale
KERNEL32.DLL        :0x00007FF88FEC7020  BaseThreadInitThunk
ntdll.dll           :0x00007FF8900A2630  RtlUserThreadStart```
Thanks for the report. Can confirm the crash on master. (Crash does not happen on 2.93 branch, will check for the culprit) ```lines blender.exe :0x00007FF7104F1DC0 imagecache_check_free_anim blender.exe :0x00007FF710888830 IMB_moviecache_cleanup blender.exe :0x00007FF7104E94D0 BKE_image_all_free_anim_ibufs blender.exe :0x00007FF7151B8E50 do_render_full_pipeline blender.exe :0x00007FF7151B60E0 RE_RenderFrame blender.exe :0x00007FF7115C8D60 render_startjob blender.exe :0x00007FF710707A20 do_job_thread blender.exe :0x00007FF715948E70 _ptw32_threadStart ucrtbase.dll :0x00007FF88DF71B20 configthreadlocale KERNEL32.DLL :0x00007FF88FEC7020 BaseThreadInitThunk ntdll.dll :0x00007FF8900A2630 RtlUserThreadStart```
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Introduced between 75f5edcaf3 - d3328fabc9

Not able to reproduce on lite build so probably could not find the exact commit

Hi @lichtwerk, could you please check?

Introduced between 75f5edcaf338 - d3328fabc982 Not able to reproduce on lite build so probably could not find the exact commit Hi @lichtwerk, could you please check?

Added subscribers: @JacquesLucke, @brecht

Added subscribers: @JacquesLucke, @brecht

I'm guessing this is 0c3b215, @JacquesLucke.

I'm guessing this is 0c3b215, @JacquesLucke.
Jacques Lucke self-assigned this 2021-11-09 13:18:36 +01:00

This issue was referenced by 45bd98d4cf

This issue was referenced by 45bd98d4cff4ff5889595af8cae5d2d94a7868a1
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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#92934
No description provided.