EXCEPTION_ACCESS_VIOLATION closing render result window after alt-tab #92146

Closed
opened 2021-10-12 15:46:13 +02:00 by db · 13 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-10-11 23:14, hash: 4b31a21bcd
Worked: Not sure

Short description of error
Blender will close with EXCEPTION_ACCESS_VIOLATION when closing the render result window after alt tabbing out and opening some other files. Always results in same error message in debug output log:

Error : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF7BC16BA64

The most consistent way I've found to cause it is to open an image file in Windows Photos app and then tab back in.

Exact steps for others to reproduce the error

  1. Run blender_debug_log.cmd (added --factory-startup).
  2. With the default startup file, hit F12 to create a render and leave the render result window open.
  3. Alt-tab out of Blender to Explorer. Open an image with Photos app.
  4. Go back to Blender and close the render result window. Crash.

blender_debug_output.txt

Video:

blender ctd exception_access_violation alt-tab 01.mkv

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-10-11 23:14, hash: `4b31a21bcd` Worked: Not sure **Short description of error** Blender will close with EXCEPTION_ACCESS_VIOLATION when closing the render result window after alt tabbing out and opening some other files. Always results in same error message in debug output log: > Error : EXCEPTION_ACCESS_VIOLATION > Address : 0x00007FF7BC16BA64 The most consistent way I've found to cause it is to open an image file in Windows Photos app and then tab back in. **Exact steps for others to reproduce the error** 1. Run blender_debug_log.cmd (added --factory-startup). 2. With the default startup file, hit F12 to create a render and leave the render result window open. 3. Alt-tab out of Blender to Explorer. Open an image with Photos app. 4. Go back to Blender and close the render result window. Crash. [blender_debug_output.txt](https://archive.blender.org/developer/F11008464/blender_debug_output.txt) Video: [blender ctd exception_access_violation alt-tab 01.mkv](https://archive.blender.org/developer/F11008506/blender_ctd_exception_access_violation_alt-tab_01.mkv)
Author

Added subscriber: @browneggz

Added subscriber: @browneggz

#92219 was marked as duplicate of this issue

#92219 was marked as duplicate of this issue

#92182 was marked as duplicate of this issue

#92182 was marked as duplicate of this issue

Added subscriber: @iss

Added subscriber: @iss

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

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

I think I can reproduce

>	blender.exe!WM_event_get_keymap_from_toolsystem_fallback(wmWindowManager * wm, wmEventHandler_Keymap * handler, wmEventHandler_KeymapResult * km_result) Line 4031	C

 	blender.exe!WM_event_get_keymaps_from_handler(wmWindowManager * wm, wmEventHandler_Keymap * handler, wmEventHandler_KeymapResult * km_result) Line 5264	C
 	blender.exe!wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Line 3024	C
 	blender.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 3164	C
 	blender.exe!wm_event_do_handlers(bContext * C) Line 3731	C
 	blender.exe!WM_main(bContext * C) Line 650	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 562	C
 	[External Code]	

Will bisect

I think I can reproduce ``` > blender.exe!WM_event_get_keymap_from_toolsystem_fallback(wmWindowManager * wm, wmEventHandler_Keymap * handler, wmEventHandler_KeymapResult * km_result) Line 4031 C blender.exe!WM_event_get_keymaps_from_handler(wmWindowManager * wm, wmEventHandler_Keymap * handler, wmEventHandler_KeymapResult * km_result) Line 5264 C blender.exe!wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Line 3024 C blender.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 3164 C blender.exe!wm_event_do_handlers(bContext * C) Line 3731 C blender.exe!WM_main(bContext * C) Line 650 C blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 562 C [External Code] ``` Will bisect

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Caused by cda20a7af8

CC @ideasman42

Caused by cda20a7af89c7da76a5016667f24f06eaa8afdb1 CC @ideasman42

Added subscriber: @Gadas

Added subscriber: @Gadas

Added subscriber: @Normich

Added subscriber: @Normich
Author

Not sure if https://developer.blender.org/rB1c18f05f0be0e31c135462d3dea763e97dd26698 (or something else?) indirectly solved my issue as well, but the crash isn't occurring anymore in this afternoon's 4a00faca1a5e build. Thanks guys.

Not sure if https://developer.blender.org/rB1c18f05f0be0e31c135462d3dea763e97dd26698 (or something else?) indirectly solved my issue as well, but the crash isn't occurring anymore in this afternoon's `4a00faca1a5e` build. Thanks guys.

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Richard Antalik self-assigned this 2021-10-26 03:37:04 +02:00

Can confirm that issue should be resolved now.

Can confirm that issue should be resolved now.
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#92146
No description provided.