Hard crash while resizing packed multichannel EXR #103033

Closed
opened 2022-12-08 16:47:23 +01:00 by Dave F · 14 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA TITAN X (Pascal)/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94

Blender Version
Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: b292cfe5a9
Worked: unknown

Short description of error
Trying to resize this particular image crashes blender instantly. There's 2 unusual things about the image, not sure if they're relevant

  • it's a packed multichannel EXR
  • it has some very large values (it's an SDF, so some values are like 9999)

Exact steps for others to reproduce the error

Load the file

image_resize_crash_004.blend

  • Resize the image
  • Crash!

See video:

Blender image resize crash 2022-12-08 15-41-15.mp4

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA TITAN X (Pascal)/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94 **Blender Version** Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: `b292cfe5a9` Worked: unknown **Short description of error** Trying to resize this particular image crashes blender instantly. There's 2 unusual things about the image, not sure if they're relevant - it's a packed multichannel EXR - it has some very large values (it's an SDF, so some values are like 9999) **Exact steps for others to reproduce the error** # Load the file [image_resize_crash_004.blend](https://archive.blender.org/developer/F14046671/image_resize_crash_004.blend) - Resize the image - Crash! ``` ``` See video: [Blender image resize crash 2022-12-08 15-41-15.mp4](https://archive.blender.org/developer/F14045007/Blender_image_resize_crash_2022-12-08_15-41-15.mp4)
Author

Added subscriber: @df-1

Added subscriber: @df-1
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Hi, thanks for the report.

Load the file

File is missing though in report description. Could you reupload it? :)

Hi, thanks for the report. > Load the file File is missing though in report description. Could you reupload it? :)
Author

Ooops, my mistake - have added the file now. Sorry about that!

Ooops, my mistake - have added the file now. Sorry about that!
Member

Thanks for the update. I'm not able to reproduce the crash actually.
Could you share crash logs?:

Please open Blender's installation directory and double click on the blender_debug_gpu.cmd. This will start Blender in debug mode and create log files. Try to reproduce the
error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them
to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt (or simply type %TEMP% into the path bar of the Windows Explorer).2019_12_04_upload_icon_developer_blender_org.png

Thanks for the update. I'm not able to reproduce the crash actually. Could you share crash logs?: > Please open Blender's installation directory and double click on the `blender_debug_gpu.cmd`. This will start Blender in debug mode and create log files. Try to reproduce the > error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them > to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in `C:\Users\[your > username]\AppData\Local\Temp\[project name].crash.txt` (or simply type `%TEMP%` into the path bar of the Windows Explorer).![2019_12_04_upload_icon_developer_blender_org.png](https://archive.blender.org/developer/F8190038/2019_12_04_upload_icon_developer_blender_org.png)
Author

Here you go - crashed first time when I tested it using blender_debug_gpu.cmd

blender_system_info.txt
blender_debug_output.txt

Here you go - crashed first time when I tested it using blender_debug_gpu.cmd [blender_system_info.txt](https://archive.blender.org/developer/F14073704/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F14073703/blender_debug_output.txt)
Author

Just checking - does this require any more information from me? It's still marked as "needs information from user". Thanks!

Just checking - does this require any more information from me? It's still marked as "needs information from user". Thanks!
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

I can confirm the crash:

scaledownx (/Users/germanocavalcante/blender-git/blender/source/blender/imbuf/intern/scaling.c:981)
IMB_scaleImBuf (/Users/germanocavalcante/blender-git/blender/source/blender/imbuf/intern/scaling.c:1657)
image_scale_exec (/Users/germanocavalcante/blender-git/blender/source/blender/editors/space_image/image_ops.c:3010)
wm_operator_exec(bContext*, wmOperator*, bool, bool) (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.cc:1181)
ui_apply_but_funcs_after(bContext*) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/interface/interface_handlers.cc:1039)
ui_popup_handler(bContext*, wmEvent const*, void*) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/interface/interface_handlers.cc:11505)
wm_handler_ui_call(bContext*, wmEventHandler_UI*, wmEvent const*, int) (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.cc:791)
wm_handlers_do_intern(bContext*, wmWindow*, wmEvent*, ListBase*) (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.cc:3244)
wm_handlers_do(bContext*, wmEvent*, ListBase*) (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.cc:3361)
::wm_event_do_handlers(bContext *) (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.cc:3955)
WM_main (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm.c:640)
main (/Users/germanocavalcante/blender-git/blender/source/creator/creator.c:585)
start (@start:639)

I noticed that in versions prior to 3.4, the resize image operator was grayed out and could not be used (maybe it changed with 9531eb24b3 ?)
So I couldn't test regression.

I can confirm the crash: ``` scaledownx (/Users/germanocavalcante/blender-git/blender/source/blender/imbuf/intern/scaling.c:981) IMB_scaleImBuf (/Users/germanocavalcante/blender-git/blender/source/blender/imbuf/intern/scaling.c:1657) image_scale_exec (/Users/germanocavalcante/blender-git/blender/source/blender/editors/space_image/image_ops.c:3010) wm_operator_exec(bContext*, wmOperator*, bool, bool) (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.cc:1181) ui_apply_but_funcs_after(bContext*) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/interface/interface_handlers.cc:1039) ui_popup_handler(bContext*, wmEvent const*, void*) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/interface/interface_handlers.cc:11505) wm_handler_ui_call(bContext*, wmEventHandler_UI*, wmEvent const*, int) (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.cc:791) wm_handlers_do_intern(bContext*, wmWindow*, wmEvent*, ListBase*) (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.cc:3244) wm_handlers_do(bContext*, wmEvent*, ListBase*) (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.cc:3361) ::wm_event_do_handlers(bContext *) (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.cc:3955) WM_main (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm.c:640) main (/Users/germanocavalcante/blender-git/blender/source/creator/creator.c:585) start (@start:639) ``` I noticed that in versions prior to 3.4, the resize image operator was grayed out and could not be used (maybe it changed with 9531eb24b3 ?) So I couldn't test regression.
Author

In #103033#1466667, @mano-wii wrote:

I noticed that in versions prior to 3.4, the resize image operator was grayed out and could not be used (maybe it changed with 9531eb24b3 ?)
So I couldn't test regression.

Hmmm, not sure if I'm misunderstanding, but I did definitely experience this crash while resizing on 3.3.1 (the screen capture has the version number in the corner) so it wasn't grayed out on my system🤔

> In #103033#1466667, @mano-wii wrote: > > I noticed that in versions prior to 3.4, the resize image operator was grayed out and could not be used (maybe it changed with 9531eb24b3 ?) > So I couldn't test regression. Hmmm, not sure if I'm misunderstanding, but I did definitely experience this crash while resizing on 3.3.1 (the screen capture has the version number in the corner) so it wasn't grayed out on my system🤔
Philipp Oeser removed the
Interest
Core
label 2023-02-09 14:42:46 +01:00
Member

Could reproduce in earlier versions, but this has been fixed since 3.6.0 (between dc63f75837 and 8dae058768 -- havent hunted down the exact commit though).

Will close since resolved (fell free to comment again if issues persist)

Could reproduce in earlier versions, but this has been fixed since 3.6.0 (between dc63f75837f2 and 8dae0587686d -- havent hunted down the exact commit though). Will close since resolved (fell free to comment again if issues persist)
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-02-20 16:59:54 +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#103033
No description provided.