Corrupt file crashes Blender, sometimes making blender not start again until the system is restarted #83452

Closed
opened 2020-12-06 00:45:36 +01:00 by bouam sidi abderrahmane · 9 comments

System Information
(Reproduced on 2 different machines with completely different hardware and OS)
Machine 1:
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71

Machine 2:
Operating system: Linux-5.4.0-48-generic-x86_64-with-glibc2.29 64 Bits
Graphics card: Mesa Intel(R) HD Graphics 5500 (BDW GT2) Intel 4.6 (Core Profile) Mesa 20.0.8

Blender Version
Broken:
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-12-04 20:46, hash: ea37e4ea5a
Worked: Previous versions didn't cause the crash following the steps below, but issue#2 (see below) happened. The last build that didn't cause the crash immediately was version: 2.92.0 Alpha, branch: master, commit date: 2020-12-02 23:16, hash: dc4feed59d

Short description of error

1 : Blender crashes when I open the file below and delete the cube or open any new window and close it. No error is shown on Windows, even from the terminal, but Ubuntu reports a segfault and the following crash report corrupt.crash.txt

2 : in some hard to reproduce cases (ie: after a few hours of usage), blender randomly crashes and will not start again until I restart my computer. This happens even if I delete the user preferences manually or launch other versions that worked just before that (tested it from 2.92 Alpha until 2.70). My system becomes unresponsive and/or crashes a few minutes later. Everything else works fine, I use other 3D packages and play demanding games and nothing happened. I even moved my operating system to a new SSD just to test it and did extensive RAM, PSU, CPU, GPU tests and updated the BIOS and all drivers.

I thought it was a hardware or operating system issue until Until yesterday's build ( 2020-12-04 20:46, hash: ea37e4ea5a ) because it doesn't make sense for such an error to propagate to other Blender versions, but I am not sure anymore, so I would appreciate some input.

Exact steps for others to reproduce the error
1- Open the Blend file corrupt.blend (please note this was my startup file and it was used in older versions as well)
2- Delete the cube. Alternatively : create a new window (user preferences, file browser...etc) and close it. Blender will crash immediately

Sometimes Blender will crash and will refuse to start again until I restart the computer

**System Information** (Reproduced on 2 different machines with completely different hardware and OS) Machine 1: Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71 Machine 2: Operating system: Linux-5.4.0-48-generic-x86_64-with-glibc2.29 64 Bits Graphics card: Mesa Intel(R) HD Graphics 5500 (BDW GT2) Intel 4.6 (Core Profile) Mesa 20.0.8 **Blender Version** Broken: Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-12-04 20:46, hash: `ea37e4ea5a` Worked: Previous versions didn't cause the crash following the steps below, but issue#2 (see below) happened. The last build that didn't cause the crash *immediately* was version: 2.92.0 Alpha, branch: master, commit date: 2020-12-02 23:16, hash: `dc4feed59d` **Short description of error** # 1 : Blender crashes when I open the file below and delete the cube or open any new window and close it. No error is shown on Windows, even from the terminal, but Ubuntu reports a segfault and the following crash report [corrupt.crash.txt](https://archive.blender.org/developer/F9479721/corrupt.crash.txt) # 2 : in some hard to reproduce cases (ie: after a few hours of usage), blender randomly crashes and will not start again until I restart my computer. This happens even if I delete the user preferences manually or launch other versions that worked just before that (tested it from 2.92 Alpha until 2.70). My system becomes unresponsive and/or crashes a few minutes later. Everything else works fine, I use other 3D packages and play demanding games and nothing happened. I even moved my operating system to a new SSD just to test it and did extensive RAM, PSU, CPU, GPU tests and updated the BIOS and all drivers. I thought it was a hardware or operating system issue until Until yesterday's build ( 2020-12-04 20:46, hash: `ea37e4ea5a` ) because it doesn't make sense for such an error to propagate to other Blender versions, but I am not sure anymore, so I would appreciate some input. **Exact steps for others to reproduce the error** 1- Open the Blend file [corrupt.blend](https://archive.blender.org/developer/F9479715/corrupt.blend) (please note this was my startup file and it was used in older versions as well) 2- Delete the cube. Alternatively : create a new window (user preferences, file browser...etc) and close it. Blender will crash immediately Sometimes Blender will crash and will refuse to start again until I restart the computer

Added subscriber: @AbdouBouam

Added subscriber: @AbdouBouam

I found the cause (blender not starting again after a few crashes, no crash logs), and I'm sharing more info in case it helps anyone.

tl;dr : It happens when the Huion Driver is installed.

I completely reinstalled my operating system and updated it, and it worked fine for a while, but as I installed more and more software, updates and drivers it happened again.
I used the corrupt file to test ( bug related to https://developer.blender.org/T83454 ) : if a log is generated and "EXCEPTION_ACCESS_VIOLATION" is written in the console then blender can be launched again without an issue afterwards. Here is a screenshot, without the Huion Driver installed image.png
If that message is not displayed and no log file is generated, there is a chance Blender won't start again until the system is restarted. Here is a screenshot, which happens with the same file and conditions, except the Huion Driver is now installed image.png

This happens even with drivers that used to work in the past, so maybe it also has something to do with Windows Updates.

The Huion driver version is : v14.8.166.1482 , Windows 10 Update 20H2 (December 2020)

Edit : I got the tablet working with an alternative software https://github.com/hawku/TabletDriver/

I found the cause (blender not starting again after a few crashes, no crash logs), and I'm sharing more info in case it helps anyone. tl;dr : It happens when the Huion Driver is installed. I completely reinstalled my operating system and updated it, and it worked fine for a while, but as I installed more and more software, updates and drivers it happened again. I used the corrupt file to test ( bug related to https://developer.blender.org/T83454 ) : if a log is generated and "EXCEPTION_ACCESS_VIOLATION" is written in the console then blender can be launched again without an issue afterwards. Here is a screenshot, without the Huion Driver installed ![image.png](https://archive.blender.org/developer/F9552145/image.png) If that message is not displayed and no log file is generated, there is a chance Blender won't start again until the system is restarted. Here is a screenshot, which happens with the same file and conditions, except the Huion Driver is now installed ![image.png](https://archive.blender.org/developer/F9552148/image.png) This happens even with drivers that used to work in the past, so maybe it also has something to do with Windows Updates. The Huion driver version is : v14.8.166.1482 , Windows 10 Update 20H2 (December 2020) Edit : I got the tablet working with an alternative software https://github.com/hawku/TabletDriver/
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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

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

Just to clarify:

  1. Blender crashes when you open the attached file and do anything like delete the Cube.
  2. This only happens for this particular file.
  3. Blender might refuse to open if the official Huion driver is installed. But this is already fixed with an alternative driver installation.
  4. This have nothing to do with a particular add-on.

Is that right? Since you have been testing with an alpha version, can you retest with a recent stable version of Blender? https://builder.blender.org/

Just to clarify: 1. Blender crashes when you open the attached file and do anything like delete the Cube. 2. This only happens for this particular file. 3. Blender might refuse to open if the official Huion driver is installed. But this is already fixed with an alternative driver installation. 4. This have nothing to do with a particular add-on. Is that right? Since you have been testing with an alpha version, can you retest with a recent stable version of Blender? https://builder.blender.org/

Just to clarify : This is probably not Blender's fault, and it could be a very rare issue, and it's probably fixed (check my answers #2 and #3 below). I am just writing this to give you more information

In #83452#1320990, @OmarEmaraDev wrote:
Just to clarify:

  1. Blender crashes when you open the attached file and do anything like delete the Cube.

Yes, however that crash was fixed in newer versions of Blender. The "not starting again" part is a separate issue triggered seemingly randomly after crashes, and it's caused by the Huion Driver, not Blender itself, or the file used. More crashes = more likely to have blender not start again, regardless of what caused the crash.

  1. This only happens for this particular file.

No, but this file and the blender version made it easier to crash blender "on demand", that's what helped me find the driver that was causing the issue. one thing that hinted that things are wrong is the lack of a crash dump when blender crashes. I tried with a newer version, released November 2021, and Blender does write a crash log, so maybe the issue is fixed now.
First crash in the screenshot is without the driver, second is with the driver 15.4.1.354 installed. (Using the Blender 2.92.0 Alpha, before the issue that caused the crash was fixed)
image.png
Check this recording https://youtu.be/i3O3AIU1__4 , I first tried without drivers, then the latest driver (which apparently works), and finally with the last driver I have tried before I got another tablet from Wacom many months ago.

I couldn't reproduce the "Blender not starting until I restart the system" part after trying for over 10 minutes. So many things have changed (various Driver + Windows updates, upgraded hardware...etc), but I can't say if the issue is resolved using the old drivers or not, as it's too unpredictable.

  1. Blender might refuse to open if the official Huion driver is installed. But this is already fixed with an alternative driver installation.

Yes, I used an open source driver (which doesn't support pressure sensitivity unfortunately). It seems to work fine with the newer version of the official Huion Driver (assumedly, seeing it correctly write a crash log, as explained in #2 above), but I'm not sure, I use a Wacom now.

  1. This have nothing to do with a particular add-on.
    Yes, that happened to me even with factory settings.

Is that right? Since you have been testing with an alpha version, can you retest with a recent stable version of Blender? https://builder.blender.org/

I tried, but I couldn't find a reliable way to make Blender intentionally crash, since the issue happens randomly with enough Blender crashes.

This has to be the weirdest and most convoluted issue I have ever encountered.

Just to clarify : This is probably not Blender's fault, and it could be a very rare issue, and it's probably fixed (check my answers #2 and #3 below). I am just writing this to give you more information > In #83452#1320990, @OmarEmaraDev wrote: > Just to clarify: > 1. Blender crashes when you open the attached file and do anything like delete the Cube. Yes, however that crash was fixed in newer versions of Blender. The "not starting again" part is a separate issue triggered seemingly randomly after crashes, and it's caused by the Huion Driver, not Blender itself, or the file used. More crashes = more likely to have blender not start again, regardless of what caused the crash. > 2. This only happens for this particular file. No, but this file and the blender version made it easier to crash blender "on demand", that's what helped me find the driver that was causing the issue. one thing that hinted that things are wrong is the lack of a crash dump when blender crashes. I tried with a newer version, released November 2021, and Blender does write a crash log, so maybe the issue is fixed now. First crash in the screenshot is without the driver, second is with the driver 15.4.1.354 installed. (Using the Blender 2.92.0 Alpha, before the issue that caused the crash was fixed) ![image.png](https://archive.blender.org/developer/F12925476/image.png) Check this recording https://youtu.be/i3O3AIU1__4 , I first tried without drivers, then the latest driver (which apparently works), and finally with the last driver I have tried before I got another tablet from Wacom many months ago. I couldn't reproduce the "Blender not starting until I restart the system" part after trying for over 10 minutes. So many things have changed (various Driver + Windows updates, upgraded hardware...etc), but I can't say if the issue is resolved using the old drivers or not, as it's too unpredictable. > 3. Blender might refuse to open if the official Huion driver is installed. But this is already fixed with an alternative driver installation. Yes, I used an open source driver (which doesn't support pressure sensitivity unfortunately). It seems to work fine with the newer version of the official Huion Driver (assumedly, seeing it correctly write a crash log, as explained in #2 above), but I'm not sure, I use a Wacom now. > 4. This have nothing to do with a particular add-on. > Yes, that happened to me even with factory settings. > Is that right? Since you have been testing with an alpha version, can you retest with a recent stable version of Blender? https://builder.blender.org/ I tried, but I couldn't find a reliable way to make Blender intentionally crash, since the issue happens randomly with enough Blender crashes. This has to be the weirdest and most convoluted issue I have ever encountered.
Member

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

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

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

Changed status from 'Needs Triage' to: 'Archived'
Member

Okay. Since this only happened in the configuration you mentioned and can't be replicate with newer versions, we can archive this for now. Feel free to reopen if this issue surfaces again.

Okay. Since this only happened in the configuration you mentioned and can't be replicate with newer versions, we can archive this for now. Feel free to reopen if this issue surfaces again.
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
2 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#83452
No description provided.