Blender crashes at startup. Bu not when running blender_debug_gpu_glitchworkaround #89202

Closed
opened 2021-06-16 17:54:16 +02:00 by Vassili Etienne · 34 comments

System Information
Operating system: Win10 x64
Graphics card: Nvidia 2080 Super - Driver date 5/6/2021 - Driver Version 27.21.14.6259

Blender Version
Broken: 2.93
Worked: n/a

Short description of error
Blender crashes at startup. But not when running the blender_debug_gpu_glitchworkaround.cmd.

Exact steps for others to reproduce the error
Based on the default startup.

Complementary informations
I tried removing the user pref folder, clean install, repair, disabling 2 of my 3 screens, updating to studio driver from nvidia, same result.

blender_debug_output.txt

blender_system_info.txt

blender.crash.txt

userpref.blend

blender.exe         :0x00007FF79B4EB460  BLI_addtail
blender.exe         :0x00007FF796BACB90  WM_keymap_ensure
blender.exe         :0x00007FF79746D8E0  WIDGETGROUP_navigate_setup
blender.exe         :0x00007FF796BCE810  WM_gizmogroup_ensure_init
blender.exe         :0x00007FF796BC5960  WM_gizmomap_draw
blender.exe         :0x00007FF796CA3C70  DRW_draw_gizmo_2d
blender.exe         :0x00007FF796C7C9F0  DRW_draw_callbacks_post_scene
blender.exe         :0x00007FF796C7D630  DRW_draw_render_loop_ex
blender.exe         :0x00007FF796C7E690  DRW_draw_view
blender.exe         :0x00007FF797448D70  view3d_main_region_draw
blender.exe         :0x00007FF797009000  ED_region_do_draw
blender.exe         :0x00007FF796BC2AF0  wm_draw_window_offscreen
blender.exe         :0x00007FF796BC2940  wm_draw_window
blender.exe         :0x00007FF796BC2440  wm_draw_update
blender.exe         :0x00007FF796B9E6A0  WM_main
blender.exe         :0x00007FF796861C90  main
blender.exe         :0x00007FF79B642788  __scrt_common_main_seh
KERNEL32.DLL        :0x00007FFFCC277960  BaseThreadInitThunk
ntdll.dll           :0x00007FFFCD50A2D0  RtlUserThreadStart
**System Information** Operating system: Win10 x64 Graphics card: Nvidia 2080 Super - Driver date 5/6/2021 - Driver Version 27.21.14.6259 **Blender Version** Broken: 2.93 Worked: n/a **Short description of error** Blender crashes at startup. But not when running the blender_debug_gpu_glitchworkaround.cmd. **Exact steps for others to reproduce the error** Based on the default startup. **Complementary informations** I tried removing the user pref folder, clean install, repair, disabling 2 of my 3 screens, updating to studio driver from nvidia, same result. [blender_debug_output.txt](https://archive.blender.org/developer/F10175447/blender_debug_output.txt) [blender_system_info.txt](https://archive.blender.org/developer/F10175448/blender_system_info.txt) [blender.crash.txt](https://archive.blender.org/developer/F10175664/blender.crash.txt) [userpref.blend](https://archive.blender.org/developer/F10178562/userpref.blend) ```lines blender.exe :0x00007FF79B4EB460 BLI_addtail blender.exe :0x00007FF796BACB90 WM_keymap_ensure blender.exe :0x00007FF79746D8E0 WIDGETGROUP_navigate_setup blender.exe :0x00007FF796BCE810 WM_gizmogroup_ensure_init blender.exe :0x00007FF796BC5960 WM_gizmomap_draw blender.exe :0x00007FF796CA3C70 DRW_draw_gizmo_2d blender.exe :0x00007FF796C7C9F0 DRW_draw_callbacks_post_scene blender.exe :0x00007FF796C7D630 DRW_draw_render_loop_ex blender.exe :0x00007FF796C7E690 DRW_draw_view blender.exe :0x00007FF797448D70 view3d_main_region_draw blender.exe :0x00007FF797009000 ED_region_do_draw blender.exe :0x00007FF796BC2AF0 wm_draw_window_offscreen blender.exe :0x00007FF796BC2940 wm_draw_window blender.exe :0x00007FF796BC2440 wm_draw_update blender.exe :0x00007FF796B9E6A0 WM_main blender.exe :0x00007FF796861C90 main blender.exe :0x00007FF79B642788 __scrt_common_main_seh KERNEL32.DLL :0x00007FFFCC277960 BaseThreadInitThunk ntdll.dll :0x00007FFFCD50A2D0 RtlUserThreadStart ```

Added subscriber: @Vassetienne

Added subscriber: @Vassetienne

Added subscriber: @rjg

Added subscriber: @rjg

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Please open Blender's installation directory and double click on the blender_debug_gpu.cmd. This will start Blender in debug mode and create log files. Try to make Blender crash again. Once it crashes the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt (or simply type %TEMP% into the path bar of the Windows Explorer).

2019_12_04_upload_icon_developer_blender_org.png

Please open Blender's installation directory and double click on the `blender_debug_gpu.cmd`. This will start Blender in debug mode and create log files. Try to make Blender crash again. Once it crashes the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in `C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt` (or simply type `%TEMP%` into the path bar of the Windows Explorer). ![2019_12_04_upload_icon_developer_blender_org.png](https://archive.blender.org/developer/F8190038/2019_12_04_upload_icon_developer_blender_org.png)

blender_system_info.txt

blender_debug_output.txt

blender.crash.txt

Here are the updated files.

Blender didn't crash once loaded using blender_debug_gpu.cmd either. I had to close it manually to get the files.

[blender_system_info.txt](https://archive.blender.org/developer/F10175661/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F10175660/blender_debug_output.txt) [blender.crash.txt](https://archive.blender.org/developer/F10175664/blender.crash.txt) Here are the updated files. Blender **didn't crash** once loaded using blender_debug_gpu.cmd either. I had to close it manually to get the files.

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Could you please try if the crash is also avoided when starting Blender with blender_factory_startup.cmd? If the crash log you've attached is the one from the crash you've report, then this appears to be related to the handling of the keymap.

Could you please try if the crash is also avoided when starting Blender with `blender_factory_startup.cmd`? If the crash log you've attached is the one from the crash you've report, then this appears to be related to the handling of the keymap.

blender_system_info.txt

blender_debug_output.txt

I launched using blender_factory_startup.cmd and blender didn't crash either.

[blender_system_info.txt](https://archive.blender.org/developer/F10175885/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F10175884/blender_debug_output.txt) I launched using blender_factory_startup.cmd and blender didn't crash either.

@Vassetienne Could you please upload your userpref.blend from C:\Users\[your username]\AppData\Roaming\Blender Foundation\Blender\2.93\config?

@Vassetienne Could you please upload your `userpref.blend` from `C:\Users\[your username]\AppData\Roaming\Blender Foundation\Blender\2.93\config`?

There it is

userpref.blend

There it is [userpref.blend](https://archive.blender.org/developer/F10178562/userpref.blend)

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Unfortunately I was unable to reproduce the crash. Does it really crash right away or is some UI interaction needed? Have you modified the default startup file at any point?

Unfortunately I was unable to reproduce the crash. Does it really crash right away or is some UI interaction needed? Have you modified the default startup file at any point?

Sometime Blender loads part of the UI. But it never lands to the welcome splash screen.

Sometime Blender loads part of the UI. But it never lands to the welcome splash screen.

@Vassetienne Could you please upload your startup.blend from C:\Users\[your username]\AppData\Roaming\Blender Foundation\Blender\2.93\config as well?

@Vassetienne Could you please upload your `startup.blend` from `C:\Users\[your username]\AppData\Roaming\Blender Foundation\Blender\2.93\config` as well?

image.png

I'm sorry there's no such files at this location.

![image.png](https://archive.blender.org/developer/F10186451/image.png) I'm sorry there's no such files at this location.

Those are the only startup.blend found on my machine:
image.png

Those are the only startup.blend found on my machine: ![image.png](https://archive.blender.org/developer/F10187000/image.png)

@Vassetienne You don't have one for that Blender version then. It's strange that starting with the factory settings prevents the crash, but I'm not able to reproduce it with your user preferences. One of the other devs/triagers will have to see if they can reproduce the issue.

@Vassetienne You don't have one for that Blender version then. It's strange that starting with the factory settings prevents the crash, but I'm not able to reproduce it with your user preferences. One of the other devs/triagers will have to see if they can reproduce the issue.

@Vassetienne Are you getting the same crash with [Blender 2.93.1 ]] or the current daily build of [ https:*builder.blender.org/download/daily/ | Blender 3.0 ?

@Vassetienne Are you getting the same crash with [Blender 2.93.1 ]] or the current daily build of [[ https:*builder.blender.org/download/daily/ | Blender 3.0 ](https:*www.blender.org/download/)?

It does the same with 2.93.1

blender_debug_output.txt

blender_system_info.txt

It does the same with 2.93.1 [blender_debug_output.txt](https://archive.blender.org/developer/F10228123/blender_debug_output.txt) [blender_system_info.txt](https://archive.blender.org/developer/F10228124/blender_system_info.txt)
Same with 3.0.0 [blender_debug_output.txt](https://archive.blender.org/developer/F10228136/blender_debug_output.txt) [blender_system_info.txt](https://archive.blender.org/developer/F10228137/blender_system_info.txt)

@Vassetienne Did it crash right from the beginning in 3.0.0 without importing or changing any preferences? Could you please upload the crash log for them too?

@Vassetienne Did it crash right from the beginning in 3.0.0 without importing or changing any preferences? Could you please upload the crash log for them too?

Complete vanilla installation. Blender 3.0 crashes at startup. I don't even see the splash screen.

blender.crash.txt

Complete vanilla installation. Blender 3.0 crashes at startup. I don't even see the splash screen. [blender.crash.txt](https://archive.blender.org/developer/F10231898/blender.crash.txt)

@Vassetienne Are the crash logs always the same of do you get different stack traces?

@Vassetienne Are the crash logs always the same of do you get different stack traces?
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

Does this work?

  1. start blender with the factory defaults batch file.
  2. Go into the user preferences and click the "save user preferences" button
  3. Quit blender
  4. Start blender normally
Does this work? 1) start blender with the factory defaults batch file. 2) Go into the user preferences and click the "save user preferences" button 3) Quit blender 4) Start blender normally

No this doesn't work.

No this doesn't work.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Since this report was kind of stuck for a while now, I have to ask again: do you still have the issue with fresh drivers and fresh builds from https://builder.blender.org/download/daily/?

This might also be a problem with the GPU itself (or other hardware/PC problems), so unless this cannot be verified on other computers (or by other users), there is little chance to progress here.
I will tag this report Unconfirmed with the following consequences:

The issue reported can't be reproduced so far, and has been moved to the BF Blender: Unconfirmed project.
If 2 other people aren't able to redo the bug after 2 weeks, it will be closed.

We appreciate the effort that goes into making bug reports, but to be able to fix bugs we have to be able to redo them.
If there is anything you can provide to help others to reproduce the problem, be sure to include it.

Since this report was kind of stuck for a while now, I have to ask again: do you still have the issue with fresh drivers and fresh builds from https://builder.blender.org/download/daily/? This might also be a problem with the GPU itself (or other hardware/PC problems), so unless this cannot be verified on other computers (or by other users), there is little chance to progress here. I will tag this report `Unconfirmed` with the following consequences: > The issue reported can't be reproduced so far, and has been moved to the *BF Blender: Unconfirmed* project. > If 2 other people aren't able to redo the bug after 2 weeks, it will be closed. > > We appreciate the effort that goes into making bug reports, but to be able to fix bugs we have to be able to redo them. > If there is anything you can provide to help others to reproduce the problem, be sure to include it.
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Member

If 2 other people aren't able to redo the bug after 2 weeks, it will be closed.

Closing then.

> If 2 other people aren't able to redo the bug after 2 weeks, it will be closed. Closing then.
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
5 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#89202
No description provided.