Blender + Linux Ati crashes(segmentation fault) upon clicking on the viewport. #39502

Closed
opened 2014-03-29 11:49:24 +01:00 by Wolthera van Hövell · 8 comments

System Information
OS: Ubuntu 13.10
Graphics card: AMD ATI Radeon mobility HD 5450, on opensource drivers.

Blender Version
IRIE Shinsuke's PPA, based on git master #dfa5ced

Exact steps for others to reproduce the error
Crashes occur whenever you click on the viewport with the left or right mouse-butoon. (Middle mouse-button however works fine)
Clicking on the UI doesn't give a crash.
Disabling or enabling VBOs does not make a difference.

Extra info
I have a hybrid graphics device, and recently figured out how to use the switching mechanic in Ubuntu.
The integrated card, an Intel device also on open source drivers, works perfectly fine with Blender.
I've attached three crash dumps. I hope these will be helpful.

flower_rose.crash.txt

blender.crash.txt

head.crash.txt

**System Information** OS: Ubuntu 13.10 Graphics card: AMD ATI Radeon mobility HD 5450, on opensource drivers. **Blender Version** IRIE Shinsuke's PPA, based on git master #dfa5ced **Exact steps for others to reproduce the error** Crashes occur whenever you click on the viewport with the left or right mouse-butoon. (Middle mouse-button however works fine) Clicking on the UI doesn't give a crash. Disabling or enabling VBOs does not make a difference. **Extra info** I have a hybrid graphics device, and recently figured out how to use the switching mechanic in Ubuntu. The integrated card, an Intel device also on open source drivers, works perfectly fine with Blender. I've attached three crash dumps. I hope these will be helpful. [flower_rose.crash.txt](https://archive.blender.org/developer/F83353/flower_rose.crash.txt) [blender.crash.txt](https://archive.blender.org/developer/F83354/blender.crash.txt) [head.crash.txt](https://archive.blender.org/developer/F83355/head.crash.txt)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @wolthera

Added subscriber: @wolthera

Added subscriber: @mont29

Added subscriber: @mont29

I just experienced similar issue with bevel_object_problem.blend (ATI HD5730M, Debian64 testing, free drivers too).

Running a debug build with asan but out of gdb does crash too, but asan just reports a segfault, obviously outside of Blender scope. I could manage reproduce the crash with a gdb session (difficult!), but unfortunately, the backtrace is pure trash, which might indicate corrupted mem perhaps?

P29: gdb linux ATI free drivers crash

Program received signal SIGSEGV, Segmentation fault.
0x00007fffcbbae666 in ?? ()
(gdb) bt
#0  0x00007fffcbbae666 in ?? ()
#1  0x4301000043010000 in ?? ()
#2  0x4301000043010000 in ?? ()
#3  0x4038aa3b4038aa3b in ?? ()
#4  0x4038aa3b4038aa3b in ?? ()
#5  0x3ed03d593ed03d59 in ?? ()
#6  0x3ed03d593ed03d59 in ?? ()
#7  0x3f13d3213f13d321 in ?? ()
#8  0x3f13d3213f13d321 in ?? ()
#9  0x3ece83163ece8316 in ?? ()
#10 0x3ece83163ece8316 in ?? ()
#11 0x3f7637f93f7637f9 in ?? ()
#12 0x3f7637f93f7637f9 in ?? ()
#13 0xffffff81ffffff81 in ?? ()
#14 0xffffff81ffffff81 in ?? ()
#15 0xbf800000bf800000 in ?? ()
#16 0xbf800000bf800000 in ?? ()
#17 0x7f8000007f800000 in ?? ()
#18 0x7f8000007f800000 in ?? ()
#19 0x007fffff007fffff in ?? ()
#20 0x007fffff007fffff in ?? ()
#21 0xffff4000ffff4000 in ?? ()
#22 0xffff4000ffff4000 in ?? ()
#23 0x0000002000000020 in ?? ()
#24 0x0000002000000020 in ?? ()
#25 0x7fffffff7fffffff in ?? ()
#26 0x7fffffff7fffffff in ?? ()
#27 0x0000001000000010 in ?? ()
#28 0x0000001000000010 in ?? ()
#29 0x0000000800000008 in ?? ()
#30 0x0000000800000008 in ?? ()
#31 0x0000000400000004 in ?? ()
#32 0x0000000400000004 in ?? ()
#33 0x0000000200000002 in ?? ()
#34 0x0000000200000002 in ?? ()
#35 0x0000000100000001 in ?? ()
#36 0x0000000100000001 in ?? ()
#37 0x0000300300000274 in ?? ()
#38 0x0000300100003002 in ?? ()
#39 0x00000000c3930000 in ?? ()
#40 0x0000000000000000 in ?? ()
(gdb) 

I just experienced similar issue with [bevel_object_problem.blend](https://archive.blender.org/developer/F83235/bevel_object_problem.blend) (ATI HD5730M, Debian64 testing, free drivers too). Running a debug build with asan but out of gdb does crash too, but asan just reports a segfault, obviously outside of Blender scope. I could manage reproduce the crash with a gdb session (difficult!), but unfortunately, the backtrace is pure trash, which might indicate corrupted mem perhaps? [P29: gdb linux ATI free drivers crash](https://archive.blender.org/developer/P29.txt) ``` Program received signal SIGSEGV, Segmentation fault. 0x00007fffcbbae666 in ?? () (gdb) bt #0 0x00007fffcbbae666 in ?? () #1 0x4301000043010000 in ?? () #2 0x4301000043010000 in ?? () #3 0x4038aa3b4038aa3b in ?? () #4 0x4038aa3b4038aa3b in ?? () #5 0x3ed03d593ed03d59 in ?? () #6 0x3ed03d593ed03d59 in ?? () #7 0x3f13d3213f13d321 in ?? () #8 0x3f13d3213f13d321 in ?? () #9 0x3ece83163ece8316 in ?? () #10 0x3ece83163ece8316 in ?? () #11 0x3f7637f93f7637f9 in ?? () #12 0x3f7637f93f7637f9 in ?? () #13 0xffffff81ffffff81 in ?? () #14 0xffffff81ffffff81 in ?? () #15 0xbf800000bf800000 in ?? () #16 0xbf800000bf800000 in ?? () #17 0x7f8000007f800000 in ?? () #18 0x7f8000007f800000 in ?? () #19 0x007fffff007fffff in ?? () #20 0x007fffff007fffff in ?? () #21 0xffff4000ffff4000 in ?? () #22 0xffff4000ffff4000 in ?? () #23 0x0000002000000020 in ?? () #24 0x0000002000000020 in ?? () #25 0x7fffffff7fffffff in ?? () #26 0x7fffffff7fffffff in ?? () #27 0x0000001000000010 in ?? () #28 0x0000001000000010 in ?? () #29 0x0000000800000008 in ?? () #30 0x0000000800000008 in ?? () #31 0x0000000400000004 in ?? () #32 0x0000000400000004 in ?? () #33 0x0000000200000002 in ?? () #34 0x0000000200000002 in ?? () #35 0x0000000100000001 in ?? () #36 0x0000000100000001 in ?? () #37 0x0000300300000274 in ?? () #38 0x0000300100003002 in ?? () #39 0x00000000c3930000 in ?? () #40 0x0000000000000000 in ?? () (gdb) ```
Member

Added subscriber: @IRIEShinsuke

Added subscriber: @IRIEShinsuke
Member

Probably this already has been fixed by updating the OSL library package in Mar 26. Now it uses the LLVM static library to avoid symbol conflicts with the graphics driver.

The problem shouldn't be in Blender because Blender actually doesn't use the LLVM shared library even if LLVM_STATIC=OFF.

@mont29 I guess your backtrace indicates the crash occurred in JIT-compiled code...

Probably this already has been fixed by updating the OSL library package in Mar 26. Now it uses the LLVM static library to avoid symbol conflicts with the graphics driver. The problem shouldn't be in Blender because Blender actually doesn't use the LLVM shared library even if LLVM_STATIC=OFF. @mont29 I guess your backtrace indicates the crash occurred in JIT-compiled code...

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2014-04-10 17:46:26 +02:00

Well, we can't actually guarantee all builds made in all sorts of environment will 100% work, we can only ensure our own builds re fine.

@IRIEShinsuke, i'm not sure why it doesn't work for you (and how you check this even). It might also be up to how OSL is compiled or so.. If you'll find out culptrit in the blender configuration which causes troubles to you we're all up to fixing it in the upstream! :)

Well, we can't actually guarantee all builds made in all sorts of environment will 100% work, we can only ensure our own builds re fine. @IRIEShinsuke, i'm not sure why it doesn't work for you (and how you check this even). It might also be up to how OSL is compiled or so.. If you'll find out culptrit in the blender configuration which causes troubles to you we're all up to fixing it in the upstream! :)
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
4 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#39502
No description provided.