Heap Buffer Overflow when viewing dds thumbnails in the file browser. #86952
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#86952
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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
Operating system: Windows 10 v2004 (w/e)
Graphics card: Geforce 940m (w/e)
Blender Version
Broken: 2.83 stable, 2.93 master
9b87d3f02962
Worked: actually never, really, iirc.
Short description of error
Blender crashes when trying to preview thumbnails in a folder containing dds/BC/s3tc compressed files. Without preview, it manages to load them and render correctly, but crashes at some point sooner or later.
It manages to corrupt blend files to not load at all/instacrash blender if those texture files are present/linked in the file.
Steps to Reproduce
Unzip the following file.
Load the .blend file.
Open the file browser, go to the
tex->dds
folder, and set the Display Mode set to Thumbnails.Crash.
dds_error_files.rar
Added subscriber: @dlight2
Added subscriber: @rjg
Changed status from 'Needs Triage' to: 'Needs User Info'
Could you please provide a small example texture that causes these issues and explain how you created that particular file?
sure. https://www.mediafire.com/file/dztaon20da8d1xn/dds_error_files.rar
i did not create the files. it's not relevant tho. the files are default and correctly formatted. verified via hex view.
Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @EAW
Changed status from 'Needs Triage' to: 'Confirmed'
This is the (possibly) relevant output in the system console in a release build.
I had to use D7794 to get a usable stack trace on Windows.
Below is the MSVC stack trace pointing to
p_clonejetpack_c.dds
(via its 256x256 dimensions and 11 mipmap levels) as the file that Blender was trying to flip. Not sure if it is only caused by this file, or if Blender just happened to be processing it at the time and the others dds files selected randomly would cause the same issue.Below is the system console debug ASAN build output.
Here is the rar file directly uploaded to the tracker.
dds_error_files.rar
Tested using:
version: 2.93.0 Alpha, branch: master, commit date: 2021-03-26 21:30, hash:
9b87d3f029
OS: Windows-10-10.0.19041.630-SP0 64 Bits
GPU: GeForce GTX 470/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 391.35
CPU: i7-950 @3.07 GHz SSE2 SSE3 SSE41
RAM: 8.00 GB
doesn't really handle dds files or dxt or s3tc (glslang) compressionto Heap Buffer Overflow when viewing dds thumbnails in the file browser.This issue was referenced by
0b2ea1d69b
This issue was referenced by
d294d19d21
This issue was referenced by
bef2412ca2
Changed status from 'Confirmed' to: 'Resolved'