Closing User Preferences window crashes Blender; triggers "Error: EXCEPTION_ACCESS_VIOLATION" #45422

Closed
opened 8 years ago by Zeliss · 11 comments
Zeliss commented 8 years ago

System Information
Windows 8.1 Pro
i7-4790 CPU @ 3.6GHz
16 GB RAM
GTX 770 2GB
I built this computer myself.
There are two monitors:
Primary: 2550 by 1440, arranged on the right. Connected through DVI to my Graphics Card.
Secondary: 1920 by 1080, arranged on the left. Connected through HDMI to my Graphics Card.

Blender Version
Broken: 2.75a
Worked: N/A
I tried 2.57b to see if the error was present back then. It didn't crash blender when I closed the User Preferences window, but when I later quit Blender, it would crash instead of exiting normally. This crash did not happen without first opening the User Preferences window.

Short description of error
Opening User Preferences from the file menu and then closing it crashes Blender. When I opened it from the command line, I saw "Error: EXCEPTION_ACCESS_VIOLATION" appear at the moment that the close button was clicked. This also occurs if I open a duplicate window with Window->Duplicate Window; closing the new window triggers the same crash and error message.

I open Blender with --factory-startup, and the results are the same. I have also tried both the .zip download, and the installer version, as well as deleting the Blender Foundation folder in Program Files and installing fresh. I also found a [bug report with the same apparent error ]], where someone posted a software OpenGL DLL. It did not fix the issue (but the UI was slow, so I know I used it right). [ https:*developer.blender.org/T42464 | This bug report also appears to document the same issue, though on OSX.

The issue does not occur in a Debian VirtualBox instance, on the same computer. I could also not reproduce the error on a different computer, my MacBook.

Here is my system-info.txt: system-info.txt

Also, this may not be relevant, but when I open Blender from the command line, I get the message "AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead".

Exact steps for others to reproduce the error
Open User Preferences window, close User Preferences window. Error occurs.

**System Information** Windows 8.1 Pro i7-4790 CPU @ 3.6GHz 16 GB RAM GTX 770 2GB I built this computer myself. There are two monitors: Primary: 2550 by 1440, arranged on the right. Connected through DVI to my Graphics Card. Secondary: 1920 by 1080, arranged on the left. Connected through HDMI to my Graphics Card. **Blender Version** Broken: 2.75a Worked: N/A I tried 2.57b to see if the error was present back then. It didn't crash blender when I closed the User Preferences window, but when I later quit Blender, it would crash instead of exiting normally. This crash did not happen without first opening the User Preferences window. **Short description of error** Opening User Preferences from the file menu and then closing it crashes Blender. When I opened it from the command line, I saw "Error: EXCEPTION_ACCESS_VIOLATION" appear at the moment that the close button was clicked. This also occurs if I open a duplicate window with Window->Duplicate Window; closing the new window triggers the same crash and error message. I open Blender with --factory-startup, and the results are the same. I have also tried both the .zip download, and the installer version, as well as deleting the Blender Foundation folder in Program Files and installing fresh. I also found a [bug report with the same apparent error ]], where someone posted a software OpenGL DLL. It did not fix the issue (but the UI was slow, so I know I used it right). [[ https:*developer.blender.org/T42464 | This bug report ](https:*developer.blender.org/T44626) also appears to document the same issue, though on OSX. The issue does not occur in a Debian VirtualBox instance, on the same computer. I could also not reproduce the error on a different computer, my MacBook. Here is my system-info.txt: [system-info.txt](https://archive.blender.org/developer/F206768/system-info.txt) Also, this may not be relevant, but when I open Blender from the command line, I get the message "AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead". **Exact steps for others to reproduce the error** Open User Preferences window, close User Preferences window. Error occurs.
Zeliss commented 8 years ago
Poster

Changed status to: 'Open'

Changed status to: 'Open'
Zeliss commented 8 years ago
Poster

Added subscriber: @Zeliss

Added subscriber: @Zeliss
Zeliss commented 8 years ago
Poster

Oh, and I also tried changing the 3D Viewport to User Preferences (not opening a new window) and changing it back. This did not induce the crash.

Oh, and I also tried changing the 3D Viewport to User Preferences (not opening a new window) and changing it back. This did not induce the crash.

Added subscriber: @JacobMerrill-1

Added subscriber: @JacobMerrill-1

I read about this in the game engine section,

delete your imported preferences

I read about this in the game engine section, delete your imported preferences
mont29 commented 8 years ago
Owner

Added subscriber: @mont29

Added subscriber: @mont29
mont29 commented 8 years ago
Owner

Most likely a GPU/driver issue, can you please:

  • Try to disable any running antivirus.
  • Try the latest build from our buildbot.
  • Try to tweak OGL settings in UserPreferences, System tab.
  • Try to tweak your GPU driver settings (e.g. try different values between 'performance' and 'quality' if you have such slider, etc.).

PS: The 'AL lib' line is just info/warning about audio stuff, nothing to worry about really.

Most likely a GPU/driver issue, can you please: * Try to disable any running antivirus. * Try the latest build from [our buildbot](https://builder.blender.org/download). * Try to tweak OGL settings in UserPreferences, System tab. * Try to tweak your GPU driver settings (e.g. try different values between 'performance' and 'quality' if you have such slider, etc.). PS: The 'AL lib' line is just info/warning about audio stuff, nothing to worry about really.
mont29 commented 8 years ago
Owner

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
mont29 closed this issue 8 years ago
mont29 self-assigned this 8 years ago
mont29 commented 8 years ago
Owner

No news since one week…

No news since one week…
Zeliss commented 8 years ago
Poster

I have no running antivirus.
No luck with the latest build.
No luck with tweaking OpenGL settings in user prefs.
No luck from changing my GPU driver settings.

:/

I have no running antivirus. No luck with the latest build. No luck with tweaking OpenGL settings in user prefs. No luck from changing my GPU driver settings. :/
Zeliss commented 6 years ago
Poster

For posterity: I built a debug release of Blender, attached a debugger, and triggered the crash.

It appears that GHOST_WindowWin32::bringTabletContextToFront uses GetProcAddress to retrieve the ""WTOverlap" function and call it. Somewhere along the line (I don't have symbols for it) this triggers an access violation. When I removed wintab32.dll from my C:\Windows\System32 folder and rebooted, the problem went away, since Blender would no longer load that library and trigger the bad call. Perhaps the call should be wrapped in a try/catch?

I don't fully remember, but I would not be surprised if this problem started immediately after I installed tablet drivers.

For posterity: I built a debug release of Blender, attached a debugger, and triggered the crash. It appears that GHOST_WindowWin32::bringTabletContextToFront uses GetProcAddress to retrieve the ""WTOverlap" function and call it. Somewhere along the line (I don't have symbols for it) this triggers an access violation. When I removed wintab32.dll from my C:\Windows\System32 folder and rebooted, the problem went away, since Blender would no longer load that library and trigger the bad call. Perhaps the call should be wrapped in a try/catch? I don't fully remember, but I would not be surprised if this problem started immediately after I installed tablet drivers.
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Sculpt, Paint & Texture
legacy module/User Interface
legacy module/VFX & Video
legacy project/BF Blender: 2.8
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/OpenGL Error
legacy project/Retrospective
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#45422
Loading…
There is no content yet.