Crash showing scopes #45086
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#45086
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
Windows 8.0
Intel HD 4600
Blender Version
Broken: After
774e034d40
Worked: Before
774e034d40
Short description of error
Opening tool shelf causes crash
Exact steps for others to reproduce the error
T
If not an immediate crash play with scope settingsChanged status to: 'Open'
Added subscriber: @Blendify
Blender Crashto Crash showing scopesCrash showing scopesto Blender Crash when showing scopes in image editor (with image loaded)Added subscriber: @mont29
Blender Crash when showing scopes in image editor (with image loaded)to Crash showing scopesRemoved subscriber: @mont29
Added subscriber: @jensverwiebe
(lldb) bt
(lldb)
ideasman proposal to change line 1096 in colortools.c to:
rows_per_sample_line = (ibuf->y / scopes->sample_lines) +1;
fixes the crash.
Jens
Added subscriber: @ideasman42
Previous fix wasn't right, was just a guess.
rows_per_sample_line = (ibuf->y / scopes->sample_lines) +1;
Reasoning is,
ibuf->y / scopes->sample_lines
will be 1 with full samples,+1
will make it 2. And its obviosly wrong to have a value of 2 when we want to read every scanline.AFAICS the issue is to do with reading the end of the image which doesn't fit into the stride size.
This works correctly in my tests (one byte past this is always out of bounds, so it writes right up until the endpoint).
P235: fix for #45086
This issue was referenced by
6c23497185
Changed status from 'Open' to: 'Resolved'