Blend file crashes Blender. #103870

Closed
opened 2023-01-14 00:23:04 +01:00 by Joseph Masaki · 12 comments

System Information
Operating system: Linux-6.0.12-76060006-generic-x86_64-with-glibc2.35 64 Bits
Graphics card: Mesa Intel(R) UHD Graphics (TGL GT1) Intel 4.6 (Core Profile) Mesa 22.2.0

Blender Version
Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash: 55485cb379
Worked: Can't find a build of blender where it doesn't crash going back to 2.7

Short description of error
Blender crashes when opening file.

Exact steps for others to reproduce the error
Open the attach file and blender crashes.

I have had several friends try to open the file on their PCs, and it crashed for them too. Appending the mesh into a file also makes Blender crash.crash.blend

**System Information** Operating system: Linux-6.0.12-76060006-generic-x86_64-with-glibc2.35 64 Bits Graphics card: Mesa Intel(R) UHD Graphics (TGL GT1) Intel 4.6 (Core Profile) Mesa 22.2.0 **Blender Version** Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash: `55485cb379` Worked: Can't find a build of blender where it doesn't crash going back to 2.7 **Short description of error** Blender crashes when opening file. **Exact steps for others to reproduce the error** Open the attach file and blender crashes. I have had several friends try to open the file on their PCs, and it crashed for them too. Appending the mesh into a file also makes Blender crash.[crash.blend](https://archive.blender.org/developer/F14148889/crash.blend)
Author

Added subscriber: @JosephMasaki

Added subscriber: @JosephMasaki
Member

Added subscribers: @HooglyBoogly, @Harley

Added subscribers: @HooglyBoogly, @Harley
Member

@HooglyBoogly

When this file is loaded it dies in BKE_mesh_legacy_convert_flags_to_selection_layers. It looks like it has some number of mesh->mvert but probably not mesh->totvert.

It hits return vert.flag_legacy & SELECT and vert is nullptr, so access violation getting to vert.flag_legacy.

@HooglyBoogly When this file is loaded it dies in `BKE_mesh_legacy_convert_flags_to_selection_layers`. It looks like it has some number of mesh->mvert but probably not mesh->totvert. It hits `return vert.flag_legacy & SELECT` and `vert` is nullptr, so access violation getting to vert.flag_legacy.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

I can confirm.

It looks like it has some number of mesh->mvert but probably not mesh->totvert.

Maybe mesh is corrupted?

I can confirm. > It looks like it has some number of mesh->mvert but probably not mesh->totvert. Maybe mesh is corrupted?

Added subscriber: @mano-wii

Added subscriber: @mano-wii

From what I can see the Mesh has totvert but the pointer to the mverts has not been assigned.
I guess it was caused by 1af62cb3bf.
May be a result of the same bug mentioned in #103878 (Regression: Crash when try recover last session).

From what I can see the Mesh has `totvert` but the pointer to the `mverts` has not been assigned. I guess it was caused by 1af62cb3bf. May be a result of the same bug mentioned in #103878 (Regression: Crash when try recover last session).

Added subscriber: @3DMish

Added subscriber: @3DMish

Hi, I opened this file in hex, and how I see this file was saved by Blender 3.5 version.
ScreenShot 2023-01-19 23-52-43.png

So, I downloaded Blender 3.5.0-Alpha, and file opens without a problems.

Hi, I opened this file in hex, and how I see this file was saved by Blender 3.5 version. ![ScreenShot 2023-01-19 23-52-43.png](https://archive.blender.org/developer/F14178543/ScreenShot_2023-01-19_23-52-43.png) So, I downloaded Blender 3.5.0-Alpha, and file opens without a problems.
Member

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Hans Goudey self-assigned this 2023-01-20 14:52:18 +01:00
Member

Thanks, I'll close this report then.

Thanks, I'll close this report then.
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
6 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#103870
No description provided.