EXCEPTION_ACCESS_VIOLATION when baking between linked objects #75295

Closed
opened 2020-04-02 00:23:32 +02:00 by Alexander Wingård · 7 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.59

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: 375c7dc4ca
Worked: (optional)

Short description of error
When experimenting with the idea of having linked duplicate objects and bake materials between them I found a reproducible crash.

Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF63BB28F6E
Module  : C:\Program Files\Blender Foundation\Blender 2.82\blender.exe

Exact steps for others to reproduce the error

  • Oppen attached file
  • Try to bake the textures (blender crashes)
    Sometimes it doesn't crash the first time but always atleast on the second or third attempt.

mushroom.blend

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.59 **Blender Version** Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: `375c7dc4ca` Worked: (optional) **Short description of error** When experimenting with the idea of having linked duplicate objects and bake materials between them I found a reproducible crash. ``` Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF63BB28F6E Module : C:\Program Files\Blender Foundation\Blender 2.82\blender.exe ``` **Exact steps for others to reproduce the error** - Oppen attached file - Try to bake the textures (blender crashes) Sometimes it doesn't crash the first time but always atleast on the second or third attempt. [mushroom.blend](https://archive.blender.org/developer/F8442320/mushroom.blend)

Added subscriber: @AlexanderWingard

Added subscriber: @AlexanderWingard

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @mano-wii

Added subscriber: @mano-wii

The problem seems to be related to the same described in #43553

The problem seems to be related to the same described in #43553

In my case, the few times it did not crash it actually baked correctly both diffuse-color, normals and AO.

In my case, the few times it did not crash it actually baked correctly both diffuse-color, normals and AO.

Hey!

I found the solution that makes this work for me, maybe it can provide a hint of where the segfault is. I need to have the same number of materials in the bake target duplicate as the source so if I add the same number of copies of the target material it does not crash:

BAD:
material-bad.PNG

GOOD:
material-good.PNG

Hey! I found the solution that makes this work for me, maybe it can provide a hint of where the segfault is. I need to have the same number of materials in the bake target duplicate as the source so if I add the same number of copies of the target material it does not crash: BAD: ![material-bad.PNG](https://archive.blender.org/developer/F8444757/material-bad.PNG) GOOD: ![material-good.PNG](https://archive.blender.org/developer/F8444760/material-good.PNG)
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:00:46 +01:00
Member

Cannot repo the crash anymore.

At least 2.93 LTS seems to have fixed this for good.
Will close as resolved, but of course feel free to comment again if issue persist in fresh builds from https://builder.blender.org/download/daily/

Cannot repo the crash anymore. At least 2.93 LTS seems to have fixed this for good. Will close as resolved, but of course feel free to comment again if issue persist in fresh builds from https://builder.blender.org/download/daily/
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-03-07 11:57:03 +01:00
Philipp Oeser added
Status
Resolved
and removed
Status
Archived
labels 2024-03-07 11:57:11 +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
3 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#75295
No description provided.