Blender just crashes when running on my linux system #37288

Closed
opened 2013-11-01 17:00:26 +01:00 by Michal G. · 14 comments

%%%--- Operating System, Graphics card ---
Kubuntu 13.10 (64-bit), Radeon HD-7850

- Blender version with error, and version that worked ---

2.69+svn60966

- Short description of error ---

For the 1st time Blender just crashes when running on my linux system (Kubutu 13.10, 64-bit). :(
I have got message like:
"connect failed: No such file or directory
Writing: /tmp/blender.crash.txt
Segfault (core dumped)."

I have installed Blender via terminal and PPA and in the past it worked without such problems (on Mint14 i 15 KDE 64-bit).

- Steps for others to reproduce the error (preferably based on attached .blend file) ---

Just trying to run and every time it hangs immediately.

%%%

%%%--- Operating System, Graphics card --- Kubuntu 13.10 (64-bit), Radeon HD-7850 - Blender version with error, and version that worked --- 2.69+svn60966 - Short description of error --- For the 1st time Blender just crashes when running on my linux system (Kubutu 13.10, 64-bit). :( I have got message like: "connect failed: No such file or directory Writing: /tmp/blender.crash.txt Segfault (core dumped)." I have installed Blender via terminal and PPA and in the past it worked without such problems (on Mint14 i 15 KDE 64-bit). - Steps for others to reproduce the error (preferably based on attached .blend file) --- Just trying to run and every time it hangs immediately. %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%This seems graphics driver related issue.

The Gallium3D driver uses LLVM, but LLVM used by the driver sometimes causes problems like this. So, I guess you can avoid the crash by using AMD's proprietary driver.

Anyway, could you try the official builds?

2.69 release: http://www.blender.org/download/get-blender/
daily build: http://builder.blender.org/download/
%%%

%%%This seems graphics driver related issue. The Gallium3D driver uses LLVM, but LLVM used by the driver sometimes causes problems like this. So, I guess you can avoid the crash by using AMD's proprietary driver. Anyway, could you try the official builds? 2.69 release: http://www.blender.org/download/get-blender/ daily build: http://builder.blender.org/download/ %%%

%%%Heavily looks like a driver issue (or perhaps an LLVM one)…

First of all, please test with official builds (http://download.blender.org/release/Blender2.69/) before reporting such kind of bug, these are the only reference ones.

Also, what do you mean, “installed via terminal”??? Did you meant that you compiled Blender? In this case, did you use install_deps.sh script before?%%%

%%%Heavily looks like a driver issue (or perhaps an LLVM one)… First of all, please test with official builds (http://download.blender.org/release/Blender2.69/) before reporting such kind of bug, these are the only reference ones. Also, what do you mean, “installed via terminal”??? Did you meant that you compiled Blender? In this case, did you use install_deps.sh script before?%%%
Author

%%%I use offical tested driver from Xwindow Xorg (recommended by developers of (K)Ubuntu.

Well, I type in terminal something like:
sudo add-apt-repository ppa:irie/blender
sudo apt-get update
sudo apt-get install blender

  • that's what I meant "installed via terminal" (=console)

So, should I remove Blender I got, and install official version 2.69 ?
I surprised of the situation because in some older version of *ubunt (Mint) installing through PPA went always fine.

%%%

%%%I use offical tested driver from Xwindow Xorg (recommended by developers of (K)Ubuntu. Well, I type in terminal something like: sudo add-apt-repository ppa:irie/blender sudo apt-get update sudo apt-get install blender - that's what I meant "installed via terminal" (=console) So, should I remove Blender I got, and install official version 2.69 ? I surprised of the situation because in some older version of *ubunt (Mint) installing through PPA went always fine. %%%

%%%No, you do not need to uninstall your "distro" blenders to test official builds, they are self-contained and do not need any installation, just download the archive, unpack it, and in the created dir, execute blender binary.

PS: sudo apt-get install blender will simply install the “official distro” package of Blender, which is not the same as the one we distribute (distro packages nearly never use static linking, for obvious size reasons, while our builds are (nearly) fully statically linked, meaning they have virtually no dependencies).%%%

%%%No, you do not need to uninstall your "distro" blenders to test official builds, they are self-contained and do not need any installation, just download the archive, unpack it, and in the created dir, execute blender binary. PS: sudo apt-get install blender will simply install the “official distro” package of Blender, which is not the same as the one we distribute (distro packages nearly never use static linking, for obvious size reasons, while our builds are (nearly) fully statically linked, meaning they have virtually no dependencies).%%%
Author

%%%I just have tested another build (from what you suggested) and it worked (started) properly - v2.69.1. r61038 ! :)
%%%

%%%I just have tested another build (from what you suggested) and it worked (started) properly - v2.69.1. r61038 ! :) %%%
Member

%%%@Bastien, the PPA build Michal uses is my own build, not distro's official one. I'll investigate it.%%%

%%%@Bastien, the PPA build Michal uses is my own build, not distro's official one. I'll investigate it.%%%

%%%Ok, anyway, not related to Blender itself, then… Closing. :)%%%

%%%Ok, anyway, not related to Blender itself, then… Closing. :)%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

%%%In my own build, OSL uses LLVM 3.2, while the graphic driver uses LLVM 3.3. Both of them are dynamically linked.

Perhaps the different versions of LLVM library cause symbol conflicts when linking them. If so, Blender needs to fix because the dynamic linking is officially supported (indeed there is "LLVM_STATIC" CMake option) and the problem affects most distros.
%%%

%%%In my own build, OSL uses LLVM 3.2, while the graphic driver uses LLVM 3.3. Both of them are dynamically linked. Perhaps the different versions of LLVM library cause symbol conflicts when linking them. If so, Blender needs to fix because the dynamic linking is officially supported (indeed there is "LLVM_STATIC" CMake option) and the problem affects most distros. %%%
Author

@IRIEShinsuke - Thanks a lot for your attention and (successful) investigation!!! Now on my Kubuntu system Bledner from your repository updates and runs without any problems!!!!!!
Hope it will be forever like this! :)

@IRIEShinsuke - Thanks a lot for your attention and (successful) investigation!!! Now on my Kubuntu system Bledner from your repository updates and runs without any problems!!!!!! Hope it will be forever like this! :)
Member

Oh, that's good news. Thanks for the report. :)

Oh, that's good news. Thanks for the report. :)
Author

@IRIEShinsuke

Sorry to bother you, but the problem has appeared again...
Nowadays I switched to Mint16 KDE 64-bit and cannot use Blender - it crashes at start.
My hardware is the same as before (mentioned in this thread)
Here is "crash.txt" log:

**

**# Blender 2.69 (sub 7), Commit date: 2014-01-01 04:27, Hash d8f4cb9


backtrace

/usr/lib/blender/blender() [0xbb36a8]
/lib/x86_64-linux-gnu/libc.so.6(+0x36ff0) [0x7fde777bbff0]
/usr/lib/x86_64-linux-gnu/libLLVM-3.3.so.1(_ZN4llvm14FoldingSetImpl19FindNodeOrInsertPosERKNS_16FoldingSetNodeIDERPv+0x4d) [0x7fde650b53bd]
/usr/lib/x86_64-linux-gnu/libLLVM-3.3.so.1(_ZN4llvm9Attribute3getERNS_11LLVMContextENS_9StringRefES3_+0x78) [0x7fde64a72148]
/usr/lib/x86_64-linux-gnu/libLLVM-3.3.so.1(_ZN4llvm12AttributeSet3getERNS_11LLVMContextEjRNS_11AttrBuilderE+0x13d) [0x7fde64a74abd]
/usr/lib/x86_64-linux-gnu/libLLVM-3.3.so.1(LLVMAddTargetDependentFunctionAttr+0x97) [0x7fde64a98147]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(radeon_llvm_shader_type+0x39) [0x7fde66935219]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(si_pipe_shader_create+0x401) [0x7fde6692b181]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(si_shader_select+0x28e) [0x7fde6693141e]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0x1a6ba) [0x7fde669316ba]
/usr/lib/x86_64-linux-gnu/libgallium.so.0(ureg_create_shader+0x4f) [0x7fde65dad2ff]
/usr/lib/x86_64-linux-gnu/libgallium.so.0(util_make_empty_fragment_shader+0x6d) [0x7fde65dd978d]
/usr/lib/x86_64-linux-gnu/libgallium.so.0(util_blitter_create+0x42d) [0x7fde65dbb01d]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0x1083f) [0x7fde6692783f]
/usr/lib/x86_64-linux-gnu/libgallium.so.0(+0x164772) [0x7fde65e95772]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(dri_create_context+0x197) [0x7fde669381e7]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0xa600) [0x7fde66921600]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0xa7a5) [0x7fde669217a5]
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1(+0x3f827) [0x7fde7e99f827]
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1(+0x1a213) [0x7fde7e97a213]
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1(glXCreateContext+0x65) [0x7fde7e97a4f5]
/usr/lib/blender/blender(_ZN15GHOST_WindowX1121installDrawingContextE25GHOST_TDrawingContextType+0x62) [0x131ba22]
/usr/lib/blender/blender(_ZN15GHOST_WindowX11C1EP15GHOST_SystemX11P9_XDisplayRK10STR_Stringiijj18GHOST_TWindowStatei25GHOST_TDrawingContextTypebbt+0x60f) [0x131cdef]
/usr/lib/blender/blender(_ZN15GHOST_SystemX1112createWindowERK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextTypebbti+0xcd) [0x131739d]
/usr/lib/blender/blender(GHOST_CreateWindow+0x96) [0x13160a6]
/usr/lib/blender/blender(wm_window_add_ghostwindows+0x197) [0xbd0147]
/usr/lib/blender/blender(WM_check+0x41) [0xbb5401]
/usr/lib/blender/blender(wm_homefile_read+0x11f) [0xbbefaf]
/usr/lib/blender/blender(WM_init+0xb6) [0xbc0a76]
/usr/lib/blender/blender(main+0xba7) [0xb7c9c7]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fde777a6de5]
/usr/lib/blender/blender() [0xbb303f]**

**


Can one do with that anything ??? :o

@IRIEShinsuke Sorry to bother you, but the problem has appeared again... Nowadays I switched to Mint16 KDE 64-bit and cannot use Blender - it crashes at start. My hardware is the same as before (mentioned in this thread) Here is "crash.txt" log: ** **# Blender 2.69 (sub 7), Commit date: 2014-01-01 04:27, Hash d8f4cb9 ``` ``` # backtrace ``` /usr/lib/blender/blender() [0xbb36a8] ``` ``` /lib/x86_64-linux-gnu/libc.so.6(+0x36ff0) [0x7fde777bbff0] ``` ``` /usr/lib/x86_64-linux-gnu/libLLVM-3.3.so.1(_ZN4llvm14FoldingSetImpl19FindNodeOrInsertPosERKNS_16FoldingSetNodeIDERPv+0x4d) [0x7fde650b53bd] ``` ``` /usr/lib/x86_64-linux-gnu/libLLVM-3.3.so.1(_ZN4llvm9Attribute3getERNS_11LLVMContextENS_9StringRefES3_+0x78) [0x7fde64a72148] ``` ``` /usr/lib/x86_64-linux-gnu/libLLVM-3.3.so.1(_ZN4llvm12AttributeSet3getERNS_11LLVMContextEjRNS_11AttrBuilderE+0x13d) [0x7fde64a74abd] ``` ``` /usr/lib/x86_64-linux-gnu/libLLVM-3.3.so.1(LLVMAddTargetDependentFunctionAttr+0x97) [0x7fde64a98147] ``` ``` /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(radeon_llvm_shader_type+0x39) [0x7fde66935219] ``` ``` /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(si_pipe_shader_create+0x401) [0x7fde6692b181] ``` ``` /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(si_shader_select+0x28e) [0x7fde6693141e] ``` ``` /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0x1a6ba) [0x7fde669316ba] ``` ``` /usr/lib/x86_64-linux-gnu/libgallium.so.0(ureg_create_shader+0x4f) [0x7fde65dad2ff] ``` ``` /usr/lib/x86_64-linux-gnu/libgallium.so.0(util_make_empty_fragment_shader+0x6d) [0x7fde65dd978d] ``` ``` /usr/lib/x86_64-linux-gnu/libgallium.so.0(util_blitter_create+0x42d) [0x7fde65dbb01d] ``` ``` /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0x1083f) [0x7fde6692783f] ``` ``` /usr/lib/x86_64-linux-gnu/libgallium.so.0(+0x164772) [0x7fde65e95772] ``` ``` /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(dri_create_context+0x197) [0x7fde669381e7] ``` ``` /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0xa600) [0x7fde66921600] ``` ``` /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0xa7a5) [0x7fde669217a5] ``` ``` /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1(+0x3f827) [0x7fde7e99f827] ``` ``` /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1(+0x1a213) [0x7fde7e97a213] ``` ``` /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1(glXCreateContext+0x65) [0x7fde7e97a4f5] ``` ``` /usr/lib/blender/blender(_ZN15GHOST_WindowX1121installDrawingContextE25GHOST_TDrawingContextType+0x62) [0x131ba22] ``` ``` /usr/lib/blender/blender(_ZN15GHOST_WindowX11C1EP15GHOST_SystemX11P9_XDisplayRK10STR_Stringiijj18GHOST_TWindowStatei25GHOST_TDrawingContextTypebbt+0x60f) [0x131cdef] ``` ``` /usr/lib/blender/blender(_ZN15GHOST_SystemX1112createWindowERK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextTypebbti+0xcd) [0x131739d] ``` ``` /usr/lib/blender/blender(GHOST_CreateWindow+0x96) [0x13160a6] ``` ``` /usr/lib/blender/blender(wm_window_add_ghostwindows+0x197) [0xbd0147] ``` ``` /usr/lib/blender/blender(WM_check+0x41) [0xbb5401] ``` ``` /usr/lib/blender/blender(wm_homefile_read+0x11f) [0xbbefaf] ``` ``` /usr/lib/blender/blender(WM_init+0xb6) [0xbc0a76] ``` ``` /usr/lib/blender/blender(main+0xba7) [0xb7c9c7] ``` ``` /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fde777a6de5] /usr/lib/blender/blender() [0xbb303f]** ``` ** **** Can one do with that anything ??? :o
Author

@IRIEShinsuke

You did it again! Pure MAGIC! :)
Yesterday, after auto-updating Blender from your repository (on Linux Mint16 KDE 64-bit),
it ran successfully at last!
I really, really hope you keep it permanently!!!

@IRIEShinsuke You did it again! Pure **MAGIC**! :) Yesterday, after auto-updating Blender from your repository (on Linux Mint16 KDE 64-bit), it ran successfully at last! **I really, really hope you keep it permanently!!!**
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#37288
No description provided.