FS#79506 - [blender] segmentation fault on start-up
Attached to Project:
Arch Linux
Opened by IMBJR (IMBJR) - Tuesday, 29 August 2023, 15:50 GMT
Last edited by Torsten Keßler (tpkessler) - Wednesday, 13 September 2023, 06:59 GMT
Opened by IMBJR (IMBJR) - Tuesday, 29 August 2023, 15:50 GMT
Last edited by Torsten Keßler (tpkessler) - Wednesday, 13 September 2023, 06:59 GMT
|
Details
Description:
Blender seg-faults upon start-up. Additional info: * package version(s): 17:3.6.2-2 Steps to reproduce: imbjr@pc ~]$ blender --factory-startup --debug-all Switching to fully guarded memory allocator. graph_id_tag_update: id=SCScene flags=BASE_FLAGS source=USER_EDIT DEG_relations_tag_update: Tagging relations for update. graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRScene Collection flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=SCScene flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=SCScene flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT DEG_relations_tag_update: Tagging relations for update. DEG_relations_tag_update: Tagging relations for update. graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT DEG_relations_tag_update: Tagging relations for update. Writing: /tmp/blender.crash.txt Segmentation fault (core dumped) Included is the blender.crash.txt file produced, but there's little in there. |
This task depends upon
Closed by Torsten Keßler (tpkessler)
Wednesday, 13 September 2023, 06:59 GMT
Reason for closing: Fixed
Wednesday, 13 September 2023, 06:59 GMT
Reason for closing: Fixed
[1] https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/commit/35d5e798aab694ce611ad39654c916e72c528d6c
[2] https://wiki.archlinux.org/title/Arch_Linux_Archive
not compatible with LLVM 16.
Which GPU?
> Blender seg-faults upon start-up
Cannot repro...so clearly not for everyone.
Even though possible cause is mentioned above, please do still get a backtrace that includes debug symbols [1]. It's usually as simple as:
$ coredumpctl gdb (then answer y when it asks "Enable debuginfod for this session?")
(gdb) set logging enabled
(gdb) bt (or bt full)
Then post gdb.txt
[1] https://wiki.archlinux.org/title/Debugging/Getting_traces
I tried manually downgrading to both 3.6.2-1 and 3.6.0-4, and both seem to crash the same way. It may be a dependency issue? Mesa issue?
(mesa info
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon R9 Fury Series (fiji, LLVM 16.0.6, DRM 3.52, 6.4.12-arch1-1) (0x7300)
Version: 23.1.6
Accelerated: yes
)
It seems to work just fine on my intel iGPU laptop, however.
>Even though possible cause is mentioned above, please do still get a backtrace that includes debug symbols [1].
Here's my bt. This is my first arch bug report related post, so It may not be what you're looking for.
(from glxinfo)
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon RX 7900 XTX (gfx1100, LLVM 16.0.6, DRM 3.52, 6.4.12-arch1-1) (0x744c)
Version: 23.1.6
Accelerated: yes
(from glmark2)
OpenGL Information
GL_VENDOR: AMD
GL_VERSION: 4.6 (Compatibility Profile) Mesa 23.1.6-arch1.4
(from pacman -S hip-runtime-amd)
hip-runtime-amd-5.6.0-2
(from blender --version)
Blender 3.6.2
build date: 2023-08-24
build time: 19:42:47
build commit date: 2023-08-14
build commit time: 14:05
build hash: ffe93138751e
build platform: Linux
build type: Release
Common factor seems to be radeonsi driver and aforementioned LLVM conflict.
$ LIBGL_DRIVERS_PATH="$HOME/Downloads/mesa_23.1.6-1/usr/lib/dri/" LD_LIBRARY_PATH="$HOME/Downloads/mesa_23.1.6-1/usr/lib/" blender
Running with AMDGPU Pro driver works as well:
$ progl blender
[imbjr@pc ~]$ pacman -Qi blender
Name : blender
Version : 17:3.6.2-4
[imbjr@pc ~]$ blender
Read prefs: "/home/imbjr/.config/blender/3.6/config/userpref.blend"
Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)
Mind that in my case I had to manually install extra-testing/yaml-cpp (libyaml 0.8), which was not taken along by the installation.