Random hard crashes #87229

Closed
opened 2021-04-06 09:54:13 +02:00 by Abe Wits · 11 comments

System Information
Operating system: Linux-5.11.10-100.fc32.x86_64-x86_64-with-glibc2.29 64 Bits
Graphics card: Mesa Intel(R) HD Graphics 620 (KBL GT2) Intel 4.6 (Core Profile) Mesa 20.2.3

Blender Version
Broken: version: 2.83.12, branch: unknown, commit date: 1970-01-01 00:00, hash: rBunknown. 2.83.9 had the same problems, have not tested earlier 2.83 releases.
Worked: blender-2.82a-1

Short description of error
Blender crashes, and takes my whole system down with it. The problem is so severe that closing blender (pkill -9 blender) or restarting the window manager (i3wm) does not resolve it. The problem can only be resolved by a reboot.

Exact steps for others to reproduce the error
Run blender 2.83.12 on Fedora 32 with i3wm (no compositor). Start an empty project, use blender for a while. A random system-crippling crash will happen after between 1 min to 30 min of usage. The crashes seem unrelated to the things I am doing with blender (rotating the default cube could be enough).

Please note that a crash like this is unique for me. Other complex software (Unity, older versions of blender, gimp, firefox) run smoothly. Apart from Blender 2.83, I have never experienced crashes that required a reboot, for any software, in many years of linux usage. I realize that this is a hard one to debug, just hoping my report can help. I'm not sure where I can find any log files after a crash (and submitting those could be challenging with my whole system going down). Thanks :)

**System Information** Operating system: Linux-5.11.10-100.fc32.x86_64-x86_64-with-glibc2.29 64 Bits Graphics card: Mesa Intel(R) HD Graphics 620 (KBL GT2) Intel 4.6 (Core Profile) Mesa 20.2.3 **Blender Version** Broken: version: 2.83.12, branch: unknown, commit date: 1970-01-01 00:00, hash: `rBunknown`. 2.83.9 had the same problems, have not tested earlier 2.83 releases. Worked: blender-2.82a-1 **Short description of error** Blender crashes, and takes my whole system down with it. The problem is so severe that closing blender (pkill -9 blender) or restarting the window manager (i3wm) does not resolve it. The problem can only be resolved by a reboot. **Exact steps for others to reproduce the error** Run blender 2.83.12 on Fedora 32 with i3wm (no compositor). Start an empty project, use blender for a while. A random system-crippling crash will happen after between 1 min to 30 min of usage. The crashes seem unrelated to the things I am doing with blender (rotating the default cube could be enough). Please note that a crash like this is unique for me. Other complex software (Unity, older versions of blender, gimp, firefox) run smoothly. Apart from Blender 2.83, I have never experienced crashes that required a reboot, for any software, in many years of linux usage. I realize that this is a hard one to debug, just hoping my report can help. I'm not sure where I can find any log files after a crash (and submitting those could be challenging with my whole system going down). Thanks :)
Author

Added subscriber: @melonmousegames

Added subscriber: @melonmousegames
Member

Added subscriber: @HDMaster84

Added subscriber: @HDMaster84
Member

please check if this is a duplicate of #80458.

please check if this is a duplicate of #80458.
Member

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

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

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

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

Testing with gpuhangtest.blend (file from #80458) on 2.82 (sub 7), I do get a hard crash.

Here is the relevant journalctl output. Does that look consistent with #80458?
blender_gpu_crash.log

However, in day to day use, blender 2.82 has been much more stable for me than blender 2.83. Is that consistent with the experiences in #80458? If not, is it possible that there are multiple bugs at play here?

Testing with gpuhangtest.blend (file from #80458) on 2.82 (sub 7), I do get a hard crash. Here is the relevant journalctl output. Does that look consistent with #80458? [blender_gpu_crash.log](https://archive.blender.org/developer/F9921744/blender_gpu_crash.log) However, in day to day use, blender 2.82 has been much more stable for me than blender 2.83. Is that consistent with the experiences in #80458? If not, is it possible that there are multiple bugs at play here?
Member

The log looks like its a gpu hang with the intel drivers much like in #80458. I think the issue was raised around the time of 2.82 or 2.83 release, so I think it roughly matches the experience there about 2.82 being more stable. I also remember using 2.82 on my laptop completely stable. I can't say though if it was the driver that was available then, or the blender version, which made it stable. Also, there are definitly multiple bugs at play here! The random crashes look the same as the crash that people are getting with that file in #80458, but it might be something different, as there is no obvious high gpu load on those random crashes, while the gpu hang with the file from #80458 is likely caused by a too big render call.

The log looks like its a gpu hang with the intel drivers much like in #80458. I think the issue was raised around the time of 2.82 or 2.83 release, so I think it roughly matches the experience there about 2.82 being more stable. I also remember using 2.82 on my laptop completely stable. I can't say though if it was the driver that was available then, or the blender version, which made it stable. Also, there are definitly multiple bugs at play here! The random crashes look the same as the crash that people are getting with that file in #80458, but it might be something different, as there is no obvious high gpu load on those random crashes, while the gpu hang with the file from #80458 is likely caused by a too big render call.
Author

Thanks so much Hendrik!

Since the random crashes with low gpu load are hard to reproduce, we could close this bug until #80458 is fixed. Any idea how to figure out what code causes these random crashes? Some options:

  1. git bisect on blender - this is hard because I guess we'd need to [build + test until a crash happens] automatically
  2. run a debug version of blender + try to get a stack trace - this is hard because the bug seems to show itself as an interaction between the driver and blender
  3. run a debug version of blender + do very verbose logging of anything driver related - the hard part is looking through the logs to find what is going wrong
Thanks so much Hendrik! Since the random crashes with low gpu load are hard to reproduce, we could close this bug until #80458 is fixed. Any idea how to figure out what code causes these random crashes? Some options: 1) git bisect on blender - this is hard because I guess we'd need to [build + test until a crash happens] automatically 2) run a debug version of blender + try to get a stack trace - this is hard because the bug seems to show itself as an interaction between the driver and blender 3) run a debug version of blender + do very verbose logging of anything driver related - the hard part is looking through the logs to find what is going wrong

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Since the problem is very similar to the #80458, I will merge the reports.
If that problem is solved and this one is not, this report can be reopened as a different issue.

Since the problem is very similar to the #80458, I will merge the reports. If that problem is solved and this one is not, this report can be reopened as a different issue.

Closed as duplicate of #80458

Closed as duplicate of #80458
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#87229
No description provided.