startup error #52301

Closed
opened 2017-08-08 19:29:42 +02:00 by Rusty Wright · 16 comments

System Information
Windows 10
Nvidia GTX 1070
AMD Radeon HD 5570

Blender Version
2.79 rc1

Short description of error
When I start blender, in the console window it says EXCEPTION ACCESS VIOLATION and then blender doesn't bring up its windows. I keep doing it over and over and eventually blender starts. Each video card is connected to a monitor. I have blender configured for 2 monitors and 2 windows, one window on each monitor.

Exact steps for others to reproduce the error
Try starting blender.

**System Information** Windows 10 Nvidia GTX 1070 AMD Radeon HD 5570 **Blender Version** 2.79 rc1 **Short description of error** When I start blender, in the console window it says EXCEPTION ACCESS VIOLATION and then blender doesn't bring up its windows. I keep doing it over and over and eventually blender starts. Each video card is connected to a monitor. I have blender configured for 2 monitors and 2 windows, one window on each monitor. **Exact steps for others to reproduce the error** Try starting blender.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @RustyWright

Added subscriber: @RustyWright

Added subscriber: @mont29

Added subscriber: @mont29

Would suspect some driver issue… Especially mixing two cards from different makers, eeeh… Anyway, please:

  • Give us your exact Blender, OS and GPU (including drivers) versions, as requested in the template!
  • Ensure both your OS and drivers are fully up-to-date (and use official GPU drivers, not those provided by windows or tablet/laptop maker).
  • Try to start Blender in factory settings (--factory-startup commandline option) (this will ensure whether this is a userpref or addon issue or not).
  • Try to tweak your GPU driver settings (e.g. try different values between 'performance' and 'quality' if you have such slider, etc.).
  • Launch Blender from the command line with -d option and attach as text file here any error printed out in the console (do not paste it directly in comment).
  • Try to place this dll next to your blender.exe (software OGL, will be slow, but will show whether this is a driver issue or not).
Would suspect some driver issue… Especially mixing two cards from different makers, eeeh… Anyway, please: * Give us your exact Blender, OS and GPU (including drivers) versions, as requested in the template! * Ensure both your OS and drivers are fully up-to-date (and use official GPU drivers, not those provided by windows or tablet/laptop maker). * Try to start Blender in factory settings (`--factory-startup` commandline option) (this will ensure whether this is a userpref or addon issue or not). * Try to tweak your GPU driver settings (e.g. try different values between 'performance' and 'quality' if you have such slider, etc.). * Launch Blender from the command line with `-d` option and **attach as text file** here any error printed out in the console (**do not** paste it directly in comment). * Try to place [this dll](http://download.blender.org/ftp/sergey/softwaregl/win64/opengl32.dll) next to your blender.exe (software OGL, will be slow, but will show whether this is a driver issue or not).
Author

I updated my video card drivers; no help from that. Here's the output with -d and your opengl32.dll. It starts with no problem with your opengl32.dll. It also starts with no problem with --factory-startup .

C:\Program Files\Blender Foundation\blender-2.79-rc1-windows64>blender-2.79.exe -d
Switching to fully guarded memory allocator.
Blender 2.79 (sub 0)
Build: Tue 08/01/2017 12:31 PM Windows
argv- [x] = blender-2.79.exe
argv- [x] = -d
read file C:\Users\rusty\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend

Version 279 sub 0 date 2017-08-01 17:31 hash 5e9132b

Read prefs: C:\Users\rusty\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend
read file C:\Users\rusty\AppData\Roaming\Blender Foundation\Blender\2.79\config\startup.blend

Version 279 sub 0 date 2017-08-01 17:31 hash 5e9132b

ordered
OB* path camera
OB* empty camera
OB* camera fixed
OB* camera rotating
found bundled python: C:\Program Files\Blender Foundation\blender-2.79-rc1-windows64\2.79\python
Error: Not freed memory blocks: 2, total unfreed memory 0.000748 MB
IDProperty group len: 128 000002363F1E5BA8
uiAfterFunc len: 264 000002363EEE46E8

Blender quit
Press any key to exit . . .

I updated my video card drivers; no help from that. Here's the output with -d and your opengl32.dll. It starts with no problem with your opengl32.dll. It also starts with no problem with --factory-startup . C:\Program Files\Blender Foundation\blender-2.79-rc1-windows64>blender-2.79.exe -d Switching to fully guarded memory allocator. Blender 2.79 (sub 0) Build: Tue 08/01/2017 12:31 PM Windows argv- [x] = blender-2.79.exe argv- [x] = -d read file C:\Users\rusty\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend ``` Version 279 sub 0 date 2017-08-01 17:31 hash 5e9132b ``` Read prefs: C:\Users\rusty\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend read file C:\Users\rusty\AppData\Roaming\Blender Foundation\Blender\2.79\config\startup.blend ``` Version 279 sub 0 date 2017-08-01 17:31 hash 5e9132b ``` ordered OB* path camera OB* empty camera OB* camera fixed OB* camera rotating found bundled python: C:\Program Files\Blender Foundation\blender-2.79-rc1-windows64\2.79\python Error: Not freed memory blocks: 2, total unfreed memory 0.000748 MB IDProperty group len: 128 000002363F1E5BA8 uiAfterFunc len: 264 000002363EEE46E8 Blender quit Press any key to exit . . .

If it starts OK with the software OpenGL, then it means issue is with your GPU driver(s), most likely.

The other things to try (-d option, --factory-startup, etc.) are to be tried without the opengl32.dll, when this one is present it prevents any attempt to use your real GPU drivers.

If it starts OK with the software OpenGL, then it means issue is with your GPU driver(s), most likely. The other things to try (-d option, --factory-startup, etc.) are to be tried **without** the opengl32.dll, when this one is present it prevents any attempt to use your real GPU drivers.
Author

I tried it with -d and with --factory-startup, without the software OpenGL. With -d it still fails, with --factory-startup it did not fail. I have very few add-ons installed but I did do some tweaking and saved a new startup file.

Thanks for your help and insights.

I tried it with -d and with --factory-startup, without the software OpenGL. With -d it still fails, with --factory-startup it did not fail. I have very few add-ons installed but I did do some tweaking and saved a new startup file. Thanks for your help and insights.

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Campbell Barton self-assigned this 2017-08-11 08:03:13 +02:00

Closing since this isn't a bug in Blender's default setup.

If you track down the exact cause, it's worth reporting to the add-on author.

Closing since this isn't a bug in Blender's default setup. If you track down the exact cause, it's worth reporting to the add-on author.
Author

Just for the record, I turned off all add-ons, including cycles, and it still does it.

Just for the record, I turned off all add-ons, including cycles, and it still does it.
Author

Also, for the record, here is my list of things to change in my user preferences and the various settings before I save the startup file:

window layout:
right window:
top: info window
3d view underneath
left window:
top: info window
top left: properties window
top right: outliner
right, below outliner: text editor with colors1.txt
middle, full width: node editor
bottom, full width: timeline
in 3d view window menu bar click on 3 axis red, green, blue thing to hide the scale, rotate, and grab things.

render:
render:
feature set: experimental
device: gpu compute
dimensions:
resolution: 1920x1920, 50%
end frame: 300
frame rate: 30fps
border, crop
output:
d:\tmp\render
overwrite
placeholders
file extensions
openexr, rgba, float (full), plz (lossless)
z buffer
sampling:
seed clock on
clamp direct: 0
clamp indirect: 3.5
render: 24
preview: 10
light paths:
transparency:
max: 128
min: 8
bounces:
max: 4
min: 4
diffuse, glossy, transmission, Volume: 128
shadows, reflective caustics, refractive caustics
motion blur:
shutter: 0.125

  film:
      transparent

render layers:
layer: use environment, use ao, use surfaces, use hair
passes: check all

  denoising: checked

scene:
presets:
meters
units:
length: metric
world:
environment texture courtyard, through hsv node with saturation at 0.4

add empty object, change name to "* empty camera", location at 0,0,1m

change camera name to "* camera fixed"
fixed camera constraints:
track to
target: * empty camera
to: -z
up: Y
camera:
lens:
focal length: 65
clipping start: 10cm
clipping end: 1km
display:
limits
passpartout

add path circle, size 16m, name "* path camera", z position 1m

add camera, rename to "* camera rotating"
same camera settings as above for focal length, etc.
camera rotating constraints:
track to
target: * empty camera
to: -z
up: Y
follow path
target: * path camera
follow curve
forward: -x
up: z

in outliner turn off visibility and rendering for empty camera, fixed camera, path camera, rotating camera. delete lamp.

user preferences:
editing:
global undo, steps 64, memory limit zero
input:
select with: left
add-ons (only):
3d view: camera switcher
add curve: extra objects
add mesh: extra objects
import-export: uv layout
import-export: wavefront obj format
mesh: looptools
render: auto tile size
render: cycles render engine
file:
file paths:
fonts: c:\windows\fonts
textures: render output:
sounds: //
temp: d:\temp\render
render cache: //
auto run python scripts
save & load:
relative paths
compress file
load ui
filter file extensions
hide dot files/datablocks
show thumbnails
save preview images
auto save temporary files
tabs as spaces
system:
cycles compute device: cuda
opensubdiv compute: glsl transform feedback
window draw method:
automatic
multisample: 8
region overlap (makes properties and toolbar menus transparent in 3d view)
color picker type:
circle (hsv)

Also, for the record, here is my list of things to change in my user preferences and the various settings before I save the startup file: window layout: right window: top: info window 3d view underneath left window: top: info window top left: properties window top right: outliner right, below outliner: text editor with colors1.txt middle, full width: node editor bottom, full width: timeline in 3d view window menu bar click on 3 axis red, green, blue thing to hide the scale, rotate, and grab things. render: render: feature set: experimental device: gpu compute dimensions: resolution: 1920x1920, 50% end frame: 300 frame rate: 30fps border, crop output: d:\tmp\render overwrite placeholders file extensions openexr, rgba, float (full), plz (lossless) z buffer sampling: seed clock on clamp direct: 0 clamp indirect: 3.5 render: 24 preview: 10 light paths: transparency: max: 128 min: 8 bounces: max: 4 min: 4 diffuse, glossy, transmission, Volume: 128 shadows, reflective caustics, refractive caustics motion blur: shutter: 0.125 ``` film: transparent ``` render layers: layer: use environment, use ao, use surfaces, use hair passes: check all ``` denoising: checked ``` scene: presets: meters units: length: metric world: environment texture courtyard, through hsv node with saturation at 0.4 add empty object, change name to "* empty camera", location at 0,0,1m change camera name to "* camera fixed" fixed camera constraints: track to target: * empty camera to: -z up: Y camera: lens: focal length: 65 clipping start: 10cm clipping end: 1km display: limits passpartout add path circle, size 16m, name "* path camera", z position 1m add camera, rename to "* camera rotating" same camera settings as above for focal length, etc. camera rotating constraints: track to target: * empty camera to: -z up: Y follow path target: * path camera follow curve forward: -x up: z in outliner turn off visibility and rendering for empty camera, fixed camera, path camera, rotating camera. delete lamp. user preferences: editing: global undo, steps 64, memory limit zero input: select with: left add-ons (only): 3d view: camera switcher add curve: extra objects add mesh: extra objects import-export: uv layout import-export: wavefront obj format mesh: looptools render: auto tile size render: cycles render engine file: file paths: fonts: c:\windows\fonts textures: *render output:* sounds: // temp: d:\temp\render\ render cache: // auto run python scripts save & load: relative paths compress file load ui filter file extensions hide dot files/datablocks show thumbnails save preview images auto save temporary files tabs as spaces system: cycles compute device: cuda opensubdiv compute: glsl transform feedback window draw method: automatic multisample: 8 region overlap (makes properties and toolbar menus transparent in 3d view) color picker type: circle (hsv)
Author

Another "just for the record" note, in case this comes up for someone else. The problem goes away when I change my startup file to have only 1 blender window (on my left AMD powered monitor). Likewise the problem goes away if I have 2 blender windows but have them both on the left monitor, and save the startup file.

Another "just for the record" note, in case this comes up for someone else. The problem goes away when I change my startup file to have only 1 blender window (on my left AMD powered monitor). Likewise the problem goes away if I have 2 blender windows but have them both on the left monitor, and save the startup file.
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

can you attach your startup file that'll cause it to crash?

can you attach your startup file that'll cause it to crash?
Author

Argh, I can't. I swear I didn't change my startup settings except for the windows but now when I set it up with 2 windows with one on each monitor it no longer crashes. If it starts doing it again hopefully I'll remember to upload it here.

Argh, I can't. I swear I didn't change my startup settings except for the windows but now when I set it up with 2 windows with one on each monitor it no longer crashes. If it starts doing it again hopefully I'll remember to upload it here.
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
4 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#52301
No description provided.