Crash entering Edit Mode related to NULL CD_FACEMAP (fixed in 3.6, only relevant for 3.3. LTS) #68629

Open
opened 2019-08-14 00:52:52 +02:00 by Pavel Duong · 22 comments

System Information
Operating system: Windows 10 1903 (18362.239)
Graphics card: Intel HD Graphics 4000

Blender Version
Broken:
Blender 2.80 (sub 75) / 2019-07-29 09:44 AM Windows / Stable
Blender 2.81 (sub 1), branch: master, commit date: 2019-08-13 11:31, hash: 6f9cbbc8ec
Worked:
Blender 2.79 (copied mesh over through copybuffer.blend)

Short description of error

When entering edit mode of a specific object Blender crashes with EXCEPTION_ACCESS_VIOLATION. Logs and example .blend provided.

The issue shouldn't be in my GPU, since the same issue persists even with Software Rendering.

Exact steps for others to reproduce the error

  1. Open up example file
    window_broken.blend

  2. Select window_panes and enter Edit Mode

  3. Get EXCEPTION_ACCESS_VIOLATION

Logs (2.80 blender_factory_startup)
blender_system_info.txt
blender_debug_output.txt

Logs (2.81 blender_factory_startup)
blender_system_info.txt

blender_debug_output.txt

**System Information** Operating system: Windows 10 1903 (18362.239) Graphics card: Intel HD Graphics 4000 **Blender Version** ***Broken:*** Blender 2.80 (sub 75) / 2019-07-29 09:44 AM Windows / Stable Blender 2.81 (sub 1), branch: master, commit date: 2019-08-13 11:31, hash: 6f9cbbc8ec4f ***Worked:*** Blender 2.79 (copied mesh over through copybuffer.blend) **Short description of error** When entering edit mode of a specific object Blender crashes with EXCEPTION_ACCESS_VIOLATION. Logs and example .blend provided. The issue shouldn't be in my GPU, since the same issue persists even with Software Rendering. **Exact steps for others to reproduce the error** 1. Open up example file [window_broken.blend](https://archive.blender.org/developer/F7663151/window_broken.blend) 2. Select `window_panes` and enter Edit Mode 3. Get EXCEPTION_ACCESS_VIOLATION **Logs (2.80 `blender_factory_startup`)** [blender_system_info.txt](https://archive.blender.org/developer/F7663154/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F7663153/blender_debug_output.txt) **Logs (2.81 `blender_factory_startup`)** [blender_system_info.txt](https://archive.blender.org/developer/F7663176/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F7663175/blender_debug_output.txt)
Author

Added subscriber: @vignette

Added subscriber: @vignette

#69054 was marked as duplicate of this issue

#69054 was marked as duplicate of this issue

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2019-08-14 11:13:44 +02:00

You are using a 4 years old GPU driver. Please go to intel site and update it.

You are using a 4 years old GPU driver. Please go to intel site and update it.
Author

In #68629#752706, @mont29 wrote:
You are using a 4 years old GPU driver. Please go to intel site and update it.

I have a few counterpoints to that. Please read them throughly.

Firstly, as I described in the short description of the error:

The issue shouldn't be in my GPU, since the same issue persists even with Software Rendering.

This was done using the opengl32.dll provided by you guys from here.

For safety sakes, I've appended the logs from the Blender while in Software Rendering mode.
blender_system_info.txt

blender_debug_output.txt

While it is true that didn't have the latest Intel drivers (my mistake), the issue is still present in the latest Intel drivers. Again, logs are below.
blender_system_info.txt

blender_debug_output.txt

And just to make sure that the crash isn't related to my GPU driver or Windows setup I tested it in a Linux environment.
window_broken.crash.txt

Please consider reopening this issue.

> In #68629#752706, @mont29 wrote: > You are using a 4 years old GPU driver. Please go to intel site and update it. I have a few counterpoints to that. Please read them throughly. Firstly, as I described in the short description of the error: > The issue shouldn't be in my GPU, since the same issue persists even with Software Rendering. This was done using the opengl32.dll provided by you guys from [here](https://download.blender.org/opengl/software-emulation/windows64/opengl32.dll). For safety sakes, I've appended the logs from the Blender while in Software Rendering mode. [blender_system_info.txt](https://archive.blender.org/developer/F7664195/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F7664194/blender_debug_output.txt) While it is true that didn't have the latest Intel drivers (my mistake), the issue is *still* present in the latest Intel drivers. Again, logs are below. [blender_system_info.txt](https://archive.blender.org/developer/F7664209/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F7664208/blender_debug_output.txt) And just to make sure that the crash isn't related to my GPU driver or Windows setup I tested it in a Linux environment. [window_broken.crash.txt](https://archive.blender.org/developer/F7664305/window_broken.crash.txt) Please consider reopening this issue.

Added subscriber: @dark999

Added subscriber: @dark999

i can confirm, i have a crash with test .blend file on linux Blender 2.80-Stable AMD FX8350, 16GB DDR3, GTX690 2+2 GB VRam- Nvidia drivers 430.40

T68629_window_broken.crash.txt

i can confirm, i have a crash with test .blend file on linux Blender 2.80-Stable AMD FX8350, 16GB DDR3, GTX690 2+2 GB VRam- Nvidia drivers 430.40 [T68629_window_broken.crash.txt](https://archive.blender.org/developer/F7664457/T68629_window_broken.crash.txt)

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

Indeed you are right, sorry... Will investigate further.

Indeed you are right, sorry... Will investigate further.
Bastien Montagne removed their assignment 2019-08-14 15:53:53 +02:00
Campbell Barton was assigned by Bastien Montagne 2019-08-14 15:53:53 +02:00

Added subscriber: @ideasman42

Added subscriber: @ideasman42

@ideasman42 I believe that one would be for you?

Crash happens in CustomData_to_bmesh_block() while trying to copy a CD_FACEMAP layer which source's CustomDataLayer has a NULL data pointer... I'd say NULL pointer here should never happen? Code is not expecting such thing in any case.

@ideasman42 I believe that one would be for you? Crash happens in `CustomData_to_bmesh_block()` while trying to copy a `CD_FACEMAP` layer which source's `CustomDataLayer` has a NULL `data` pointer... I'd say NULL pointer here should never happen? Code is not expecting such thing in any case.

Added subscriber: @jfmatheu

Added subscriber: @jfmatheu

I confirm this is happening. Crashes with just clicking at edit mode

Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: Radeon RX 580 Series ATI Technologies Inc. 4.5.13570 Core Profile Context 19.8.1 26.20.13001.29010

I confirm this is happening. Crashes with just clicking at edit mode Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: `f6cb5f5449` Operating system: Windows-10-10.0.18362 64 Bits Graphics card: Radeon RX 580 Series ATI Technologies Inc. 4.5.13570 Core Profile Context 19.8.1 26.20.13001.29010

Added subscribers: @ardicilliq, @dfelinto, @AbidMaqbool

Added subscribers: @ardicilliq, @dfelinto, @AbidMaqbool
Campbell Barton was unassigned by Dalai Felinto 2019-12-23 16:33:18 +01:00

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

Still happens on Blender 2.82 alpha @ 756b9acaf5:

/home/sybren/workspace/blender-git/blender/source/blender/blenkernel/intern/customdata.c:3932:9: runtime error: null pointer passed as argument 2, which is declared to never be null

which is indeed in CustomData_to_bmesh_block().

Still happens on Blender 2.82 alpha @ 756b9acaf5: ``` /home/sybren/workspace/blender-git/blender/source/blender/blenkernel/intern/customdata.c:3932:9: runtime error: null pointer passed as argument 2, which is declared to never be null ``` which is indeed in `CustomData_to_bmesh_block()`.

Added subscriber: @dmcoder

Added subscriber: @dmcoder
Deep Majumder self-assigned this 2020-03-01 17:35:58 +01:00

I would like to work on fixing this bug.

I would like to work on fixing this bug.

@vignette Can you provide the exact steps you took to make the .blend file you provided?

@vignette Can you provide the exact steps you took to make the .blend file you provided?
Author

In #68629#885106, @dmcoder wrote:
@vignette Can you provide the exact steps you took to make the .blend file you provided?

It's been a long time since I've visited that project, however I do remember that the model was initially created in Blender 2.79 and then opened in 2.80 where it started crashing.

> In #68629#885106, @dmcoder wrote: > @vignette Can you provide the exact steps you took to make the .blend file you provided? It's been a long time since I've visited that project, however I do remember that the model was initially created in Blender 2.79 and then opened in 2.80 where it started crashing.
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:29:41 +01:00
Member

Can still repro a crash going into editmode in 3.3.16 LTS.
3.4 and 3.5 crash on opening the file.
3.6 on the other hand can open the file again (and can also go into editmode).

Will mark as a 3.3. LTS issue only (in csae we still want to backport fix for it if it can be found).

Can still repro a crash going into editmode in 3.3.16 LTS. 3.4 and 3.5 crash on opening the file. 3.6 on the other hand can open the file again (and can also go into editmode). Will mark as a 3.3. LTS issue only (in csae we still want to backport fix for it if it can be found).
Philipp Oeser added this to the 3.3 LTS milestone 2024-03-07 17:05:42 +01:00
Philipp Oeser changed title from EXCEPTION_ACCESS_VIOLATION when entering Edit Mode to EXCEPTION_ACCESS_VIOLATION when entering Edit Mode (fixed in 3.6, only relevant for 3.3. LTS) 2024-03-07 17:06:21 +01:00
Philipp Oeser changed title from EXCEPTION_ACCESS_VIOLATION when entering Edit Mode (fixed in 3.6, only relevant for 3.3. LTS) to Crash entering Edit Mode related to NULL CD_FACEMAP (fixed in 3.6, only relevant for 3.3. LTS) 2024-03-07 17:07:43 +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
9 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#68629
No description provided.