2.79 crashing after a few minutes, or when opening user preferences #55307

Closed
opened 2018-06-03 17:42:09 +02:00 by Benjamin Lincourt · 9 comments

System Information
Windows 10 64bit, gtx1060 6gb, 8gb ram, intel i7-7700
nvidia driver version 397.93

Blender Version
Broken: 2.79

Short description of error
Blender closes abruptly when opening the user preferences, or if I've been working for a few minutes, blender closes unexpectedly. I've tried updating my graphics drivers and reinstalling blender, but that doesn't seem to work. So far I haven't had issues like this with any other software.

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps
crashing.blend

  1. open blender
  2. press ctrl,alt,u or choose "user preferences" from the drop down menu, or change an existing window to user preferences from the window tool bar.
  3. blender closes

alternately

  1. open blender
  2. wait or work for about 5-10 minutes
  3. blender closes
**System Information** Windows 10 64bit, gtx1060 6gb, 8gb ram, intel i7-7700 nvidia driver version 397.93 **Blender Version** Broken: 2.79 **Short description of error** Blender closes abruptly when opening the user preferences, or if I've been working for a few minutes, blender closes unexpectedly. I've tried updating my graphics drivers and reinstalling blender, but that doesn't seem to work. So far I haven't had issues like this with any other software. **Exact steps for others to reproduce the error** Based on a (as simple as possible) attached .blend file with minimum amount of steps [crashing.blend](https://archive.blender.org/developer/F3573972/crashing.blend) 1) open blender 2) press ctrl,alt,u or choose "user preferences" from the drop down menu, or change an existing window to user preferences from the window tool bar. 3) blender closes alternately 1) open blender 2) wait or work for about 5-10 minutes 3) blender closes

Added subscriber: @BenjaminLincourt

Added subscriber: @BenjaminLincourt
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

reg. User Preferences: We have had quite a lot of reports about this, as far as we can tell this is a bug in some graphic card drivers relating to using the same OpenGL context for multiple windows (something which seems not to be well supported especially for low-end cards).

Just a shot in the dark:

  • does this happen with the zipped version of blender as well? https://www.blender.org/download/Blender2.79/blender-2.79b-windows64.zip/
  • Could you try this dll and copying it so its located in the same directory as 'blender.exe' and run Blender normally (to verify it is an OpenGL error)
  • you could also run blender from the commandline with the -d option and post the output here as a .txt file here [maybe there's a hint in there]

Marking as incomplete until we have this out of the way...

reg. User Preferences: We have had quite a lot of reports about this, as far as we can tell this is a bug in some graphic card drivers relating to using the same OpenGL context for multiple windows (something which seems not to be well supported especially for low-end cards). Just a shot in the dark: - does this happen with the zipped version of blender as well? https://www.blender.org/download/Blender2.79/blender-2.79b-windows64.zip/ - Could you try [this dll ](http://download.blender.org/ftp/sergey/softwaregl/win64/opengl32.dll) and copying it so its located in the same directory as 'blender.exe' and run Blender normally (to verify it is an OpenGL error) - you could also run blender from the commandline with the `-d` option and post the output here as a .txt file here [maybe there's a hint in there] Marking as incomplete until we have this out of the way...

As per your suggestions, I tried with the zipped version of blender, and saw no changes. when running blender from the command line with -d, here were the results

C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64>blender.exe -d
Switching to fully guarded memory allocator.
Blender 2.79 (sub 0)
Build: Thu 03/22/2018 09:59 AM Windows
argv[0] = blender.exe
argv[1] = -d
read file C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend
  Version 279 sub 0 date 2017-09-11 10:43 hash 5bd8ac9
Read prefs: C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend
read file C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79\config\startup.blend
  Version 278 sub 0 date 2017-02-08 13:50 hash 3c04373

ordered
found bundled python: C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64\2.79\python
archipack: ready
archimesh: Imported multifiles
read file
  Version 262 sub 3 date unknown hash
read file
  Version 268 sub 5 date unknown hash

Finally, I moved the .dll file into the same directory as blender and noticed no change when attempting to open the user preferences, but I did notice a significant slow down of responsiveness with blender as a whole. I took the liberty of running blender like this from the command line with -d and noticed two new warnings, so here is the output from that.

C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64>blender.exe -d
Switching to fully guarded memory allocator.
Blender 2.79 (sub 0)
Build: Thu 03/22/2018 09:59 AM Windows
argv[0] = blender.exe
argv[1] = -d
read file C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend
  Version 279 sub 0 date 2017-09-11 10:43 hash 5bd8ac9
Read prefs: C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend
read file C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79\config\startup.blend
  Version 278 sub 0 date 2017-02-08 13:50 hash 3c04373

ordered
Warning! Legacy WGL is unable to select between OpenGL versions.found bundled python: C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64\2.79\python
archipack: ready
archimesh: Imported multifiles
read file
  Version 262 sub 3 date unknown hash
read file
  Version 268 sub 5 date unknown hash
Warning! Legacy WGL is unable to select between OpenGL versions.
C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64>

I hope this helps narrow down the issue

As per your suggestions, I tried with the zipped version of blender, and saw no changes. when running blender from the command line with -d, here were the results ``` C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64>blender.exe -d Switching to fully guarded memory allocator. Blender 2.79 (sub 0) Build: Thu 03/22/2018 09:59 AM Windows argv[0] = blender.exe argv[1] = -d read file C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend Version 279 sub 0 date 2017-09-11 10:43 hash 5bd8ac9 Read prefs: C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend read file C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79\config\startup.blend Version 278 sub 0 date 2017-02-08 13:50 hash 3c04373 ordered found bundled python: C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64\2.79\python archipack: ready archimesh: Imported multifiles read file Version 262 sub 3 date unknown hash read file Version 268 sub 5 date unknown hash ``` Finally, I moved the .dll file into the same directory as blender and noticed no change when attempting to open the user preferences, but I did notice a significant slow down of responsiveness with blender as a whole. I took the liberty of running blender like this from the command line with -d and noticed two new warnings, so here is the output from that. ``` C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64>blender.exe -d Switching to fully guarded memory allocator. Blender 2.79 (sub 0) Build: Thu 03/22/2018 09:59 AM Windows argv[0] = blender.exe argv[1] = -d read file C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend Version 279 sub 0 date 2017-09-11 10:43 hash 5bd8ac9 Read prefs: C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend read file C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79\config\startup.blend Version 278 sub 0 date 2017-02-08 13:50 hash 3c04373 ordered Warning! Legacy WGL is unable to select between OpenGL versions.found bundled python: C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64\2.79\python archipack: ready archimesh: Imported multifiles read file Version 262 sub 3 date unknown hash read file Version 268 sub 5 date unknown hash Warning! Legacy WGL is unable to select between OpenGL versions. C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64> ``` I hope this helps narrow down the issue
Member

Thx, for checking (you can remove the dll again to regain normal performance)

What happens if you

  • Try to disable any running antivirus.
  • Ensure you have no python executable available in your %path% envvar.
  • Try to start Blender in factory settings (--factory-startup commandline option) (this will ensure whether this is a userpref or addon issue or not).
  • or rename C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79 temporarily to something like 2.79_bak
Thx, for checking (you can remove the dll again to regain normal performance) What happens if you - Try to disable any running antivirus. - Ensure you have no python executable available in your %path% envvar. - Try to start Blender in factory settings (--factory-startup commandline option) (this will ensure whether this is a userpref or addon issue or not). - or rename `C:\Users\linco\AppData\Roaming\Blender Foundation\Blender\2.79` temporarily to something like `2.79_bak`

I have no running anti-virus in the first place, I made sure there was no python executable available in my %path% envvar, I tried to start blender in factory settings from the command line, but blender closed immediatly and only the following information was printed to the command line:

C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64>blender.exe --factory-startup -d
Switching to fully guarded memory allocator.
Blender 2.79 (sub 0)
Build: Thu 03/22/2018 09:59 AM Windows
argv[0] = blender.exe
argv[1] = --factory-startup
argv[2] = -d
read file
  Version 272 sub 2 date unknown hash unknown

ordered
 OBCube
 OBLamp
 OBCamera
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
found bundled python: C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64\2.79\python

C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64>

finally I renamed the 2.79 file to 2.79_bak, which stopped blender from opening at all and returned the exact same information the the command line as attempting to run in factory settings:

C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64>blender.exe -d
Switching to fully guarded memory allocator.
Blender 2.79 (sub 0)
Build: Thu 03/22/2018 09:59 AM Windows
argv[0] = blender.exe
argv[1] = -d
read file
  Version 272 sub 2 date unknown hash unknown

ordered
 OBCube
 OBLamp
 OBCamera
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
found bundled python: C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64\2.79\python

C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64>

After renaming the file to 2.79 and confirming I could still run blender and duplicate my issues, I went ahead and ran an experimental version of blender 2.8 (blender-2.80-2349b97-win64) and found that (despite other bugs and crashes expected with any experimental software) I could open the user preferences in blender 2.8, but not in 2.79. Perhaps this information might help you narrow down the problem, since it was evidently fixed between these two versions.

I have no running anti-virus in the first place, I made sure there was no python executable available in my %path% envvar, I tried to start blender in factory settings from the command line, but blender closed immediatly and only the following information was printed to the command line: ``` C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64>blender.exe --factory-startup -d Switching to fully guarded memory allocator. Blender 2.79 (sub 0) Build: Thu 03/22/2018 09:59 AM Windows argv[0] = blender.exe argv[1] = --factory-startup argv[2] = -d read file Version 272 sub 2 date unknown hash unknown ordered OBCube OBLamp OBCamera AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead found bundled python: C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64\2.79\python C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64> ``` finally I renamed the 2.79 file to 2.79_bak, which stopped blender from opening at all and returned the exact same information the the command line as attempting to run in factory settings: ``` C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64>blender.exe -d Switching to fully guarded memory allocator. Blender 2.79 (sub 0) Build: Thu 03/22/2018 09:59 AM Windows argv[0] = blender.exe argv[1] = -d read file Version 272 sub 2 date unknown hash unknown ordered OBCube OBLamp OBCamera AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead found bundled python: C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64\2.79\python C:\Users\linco\Desktop\Animation\blender-2.79b-windows64\blender-2.79b-windows64> ``` After renaming the file to 2.79 and confirming I could still run blender and duplicate my issues, I went ahead and ran an experimental version of blender 2.8 (blender-2.80-2349b97-win64) and found that (despite other bugs and crashes expected with any experimental software) I could open the user preferences in blender 2.8, but not in 2.79. Perhaps this information might help you narrow down the problem, since it was evidently fixed between these two versions.

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2018-07-12 16:12:27 +02:00

Thanks for the report, but I’m archiving it, because this is a specific hardware/driver related issue, no point investigating that now that all workforce is focused on 2.8. :)

Thanks for the report, but I’m archiving it, because this is a specific hardware/driver related issue, no point investigating that now that all workforce is focused on 2.8. :)
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#55307
No description provided.