Crash on blend file load on Windows #105552
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#105552
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
Operating system: Windows 10 and 11
Graphics card: NVIDIA 2060S
Blender Version
Broken: 3.4.1 on Windows
Worked: 3.4.1 on Linux
Short description of error
Loading a specific blend file crashes Blender instantly on load.
Exact steps for others to reproduce the error
Load the attached Blend file on Windows. Blender crashes immediately, leaving the attached crash log behind.
Crash on blend file load Windowsto Crash on blend file load on WindowsIt dies on me too. My call stack looks like this:
The object that causes this is called "Server Rack" and it contains one mesh called "Cube.014". It dies in
mesh_render_data_polys_sorted_build
. It arrives with a MeshRenderData containing:It makes it to the "Sort per material" section then dies on line 226
BM_ITER_MESH_INDEX (f, &iter, mr->bm, BM_FACES_OF_MESH, i) {
It dies in
T &operator[](int64_t index)
because the value of index is-15672
, but expected to be 0 or greater.Can't see much more. I don't seem to have any other files that get here with
mr->extract_type == MR_EXTRACT_BMESH
so hard to tell what is wrong. And hard to debug inside thisBM_ITER_MESH_INDEX
macro.@Harley Hey, try to bisect this, most likely something from Hans's refactorings on the structure of the mesh
Hi, can confirm the crash.
Mesh.validate
has detected the invalid data: https://docs.blender.org/api/current/bpy.types.Mesh.html#bpy.types.Mesh.validateDid you import this file from other software? or Is this file originally created in old blender versions?
This mesh was created in the current version of Blender. I started it about ~2 weeks ago.
@janosdebugs , can you verify whether uploaded file is not crashing?
@mod_moder , I don't think bisect is needed. Crash even happens in 2.93 :)
@janosdebugs , can you share exact steps to reproduce the file from scratch?
@PratikPB2123 tested, it doesn't crash.
Sadly, I can't. It's been a fairly long process. I removed a bunch of stuff on Linux to isolate the issue to the server rack. I remember starting from a cube, then go the usual way to loop cut, subdivide, and building faces manually. What I also did was join meshes into the same object. Possibly unrelated, but other meshes have lots of materials on them (~30-40).
Unfortunately unless there are clear instructions on how to reproduce it from scratch we cannot debug this any further.
Sorry but I have to close this report as per the triaging policy. Feel free to comment or reopen the report if you have additional and relevant information to share.
Thanks for reporting.