Blender 2.8 crash on startup on Linux #57296

Closed
opened 2018-10-18 20:17:58 +02:00 by Thomas Gropp · 25 comments

System Information
Ubuntu 18.04.1
GeForce GTX 460
Driver: 340.107

Blender Version
Broken: blender-2.80-a2922f98400-linux-glibc224-x86_64 (from Oct 18 2018 00:01:19)
Worked: (optional): the daily version a few days before (and all of the last couple of weeks) worked.

Short description of error
Blender crashes immediately after startup (empty black windows visible for a few ms). Segmentation fault (core dumped)

Exact steps for others to reproduce the error
Start Blender after unpacking by double click or via CLI

Logs
/tmp/blender.crash.txt

# Blender 2.80 (sub 26), Commit date: 2018-10-17 18:46, Hash a2922f98400
Tool 'Cursor' not found.  # Warning
Tool 'Cursor' not found.  # Warning
Tool 'Cursor' not found.  # Warning

# backtrace
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(BLI_system_backtrace+0x1d) [0x1b64e2d]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender() [0x113aab9]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7fb19e166f20]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(GPU_shader_get_uniform_block+0x4) [0x17223f4]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender() [0x173b7b3]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(DRW_shgroup_create+0x1c) [0x173cc4c]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender() [0x174e382]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender() [0x173809f]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(DRW_draw_render_loop_ex+0x17e) [0x173985e]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(view3d_main_region_draw+0x77) [0x121b367]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(ED_region_do_draw+0x811) [0x143bbe1]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(wm_draw_update+0x421) [0x113d1d1]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(WM_main+0x30) [0x113b470]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(main+0x327) [0x10a1857]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fb19e149b97]
/home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(_start+0x2a) [0x113764a]

Output on STDOUT and STDERR attached as carsh.out
crash.out

All the best,
Thomas

**System Information** Ubuntu 18.04.1 GeForce GTX 460 Driver: 340.107 **Blender Version** Broken: blender-2.80-a2922f98400-linux-glibc224-x86_64 (from Oct 18 2018 00:01:19) Worked: (optional): the daily version a few days before (and all of the last couple of weeks) worked. **Short description of error** Blender crashes immediately after startup (empty black windows visible for a few ms). Segmentation fault (core dumped) **Exact steps for others to reproduce the error** Start Blender after unpacking by double click or via CLI **Logs** */tmp/blender.crash.txt* ``` # Blender 2.80 (sub 26), Commit date: 2018-10-17 18:46, Hash a2922f98400 Tool 'Cursor' not found. # Warning Tool 'Cursor' not found. # Warning Tool 'Cursor' not found. # Warning # backtrace /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(BLI_system_backtrace+0x1d) [0x1b64e2d] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender() [0x113aab9] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7fb19e166f20] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(GPU_shader_get_uniform_block+0x4) [0x17223f4] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender() [0x173b7b3] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(DRW_shgroup_create+0x1c) [0x173cc4c] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender() [0x174e382] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender() [0x173809f] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(DRW_draw_render_loop_ex+0x17e) [0x173985e] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(view3d_main_region_draw+0x77) [0x121b367] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(ED_region_do_draw+0x811) [0x143bbe1] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(wm_draw_update+0x421) [0x113d1d1] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(WM_main+0x30) [0x113b470] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(main+0x327) [0x10a1857] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fb19e149b97] /home/togro/Desktop/blender-2.80-a2922f98400-linux-glibc224-x86_64/blender(_start+0x2a) [0x113764a] ``` Output on STDOUT and STDERR attached as carsh.out [crash.out](https://archive.blender.org/developer/F5128120/crash.out) All the best, Thomas
Author

Added subscriber: @thomas.gropp

Added subscriber: @thomas.gropp

#57348 was marked as duplicate of this issue

#57348 was marked as duplicate of this issue

#57334 was marked as duplicate of this issue

#57334 was marked as duplicate of this issue

#57307 was marked as duplicate of this issue

#57307 was marked as duplicate of this issue

Added subscriber: @Sharan

Added subscriber: @Sharan
Sharan Ranjit self-assigned this 2018-10-18 22:28:04 +02:00

Hey Thomas ,
I would like to debug this .
I am very new to contributing to blender and would love to learn.

Hey Thomas , I would like to debug this . I am very new to contributing to blender and would love to learn.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

@thomas.gropp : have you tried upgrading your nvidia driver?

@thomas.gropp : have you tried upgrading your nvidia driver?

Added subscribers: @fclem, @brecht

Added subscribers: @fclem, @brecht
Sharan Ranjit was unassigned by Brecht Van Lommel 2018-10-19 11:48:19 +02:00
Clément Foucault was assigned by Brecht Van Lommel 2018-10-19 11:48:19 +02:00

340 is indeed a quite old driver version. But if it worked a few days before we should probably fix the issue regardless since some older NVIDIA cards are struck with older drivers.

This is likely caused by fe4840e or one of the other recent changes in this code done by @fclem. I supposed to initialization of barycentric in overlay_face_wireframe_vert.glsl may need to be changed a bit to work around a compiler bug, dynamically indexing arrays has been a problem before.

@Sharan, normally if something is broken by a developer's commit the same developer fixes it. If you have ideas for how to fix this or other bugs feel free to contribute though.

340 is indeed a quite old driver version. But if it worked a few days before we should probably fix the issue regardless since some older NVIDIA cards are struck with older drivers. This is likely caused by fe4840e or one of the other recent changes in this code done by @fclem. I supposed to initialization of `barycentric` in `overlay_face_wireframe_vert.glsl` may need to be changed a bit to work around a compiler bug, dynamically indexing arrays has been a problem before. @Sharan, normally if something is broken by a developer's commit the same developer fixes it. If you have ideas for how to fix this or other bugs feel free to contribute though.

Added subscriber: @hhal9000

Added subscriber: @hhal9000
Author

I know the driver is quite old, but I always had problems with the 390 version.

To help debugging I attached the output STDOUT and STDERR with the option --debug-gpu turned on.
debug-gpu.out

I know the driver is quite old, but I always had problems with the 390 version. To help debugging I attached the output STDOUT and STDERR with the option --debug-gpu turned on. [debug-gpu.out](https://archive.blender.org/developer/F5142177/debug-gpu.out)

Added subscriber: @ChrisJones

Added subscriber: @ChrisJones

Added subscriber: @B_Engstler

Added subscriber: @B_Engstler

Added subscriber: @envval

Added subscriber: @envval

I tried to fix it by renaming local variables 905921d2b5

Does that fix the problem for anyone?

I tried to fix it by renaming local variables 905921d2b5 Does that fix the problem for anyone?

This issue was referenced by a20c590966

This issue was referenced by a20c590966b53511a29b9eb42a87d8e568ea092a

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Thanks Clement,
I'm now able to open Blender 2.8

Thanks Clement, I'm now able to open Blender 2.8

Awesome, also fixed it for me on Win10!

Awesome, also fixed it for me on Win10!

Yeah, it's fixed for me too. Thanks a lot.

Yeah, it's fixed for me too. Thanks a lot.

Added subscriber: @Tony-e

Added subscriber: @Tony-e
Author

Was on holiday, so could not reply ...
The problem is fixed for me, too. Thanks a lot for you outstanding(!) work on blender!

Was on holiday, so could not reply ... The problem is fixed for me, too. Thanks a lot for you outstanding(!) work on blender!

Added subscriber: @Barney-Joseph

Added subscriber: @Barney-Joseph

In #57296#544976, @hhal9000 wrote:
Thanks Clement,
I'm now able to open Blender 2.8

How did you apply the fix?

Thanks and Regards,
Barney

> In #57296#544976, @hhal9000 wrote: > Thanks Clement, > I'm now able to open Blender 2.8 How did you apply the fix? Thanks and Regards, Barney
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
11 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#57296
No description provided.