[Bisected][RadeonSI] Blender crashes on startup
System information
- OS: (
Gentoo Linux
) - GPU: (
Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon PRO WX 9100] [1002:6861]
) - Kernel version: (
5.18.0-gentoo
) - Mesa version: (
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.2.0-devel (git-a2397e6378)
) - Desktop manager and compositor: (
Sway (Wayland)
)
Describe the issue
Blender (only tested version 3.2 and 3.3 and git master) segfaults on startup.
I've bisected it down to commit 3714c89d It seems to crash inside call from the mesa driver to LLVM
Regression
Blender seems to start without issue on commits prior to the bisected one.
Log files as attachment
The back trace might not be useful at all because there are no debug symbols. If that is needed, I can recompile mesa and llvm. But in the mean time here is the symbolless backtrace:
Thread 17 "blender:sh1" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb9500640 (LWP 32301)]
0x00007ffff0b62976 in ?? () from /usr/lib/llvm/14/lib64/libLLVM-14.so
(gdb) bt
#0 0x00007ffff0b62976 in () at /usr/lib/llvm/14/lib64/libLLVM-14.so
#1 0x00007ffff0b6364f in () at /usr/lib/llvm/14/lib64/libLLVM-14.so
#2 0x00007ffff0b65b92 in () at /usr/lib/llvm/14/lib64/libLLVM-14.so
#3 0x00007ffff0b68571 in () at /usr/lib/llvm/14/lib64/libLLVM-14.so
#4 0x00007fffee32db0e in () at /usr/lib/llvm/14/lib64/libLLVM-14.so
#5 0x00007fffee0d12b2 in llvm::FPPassManager::runOnFunction(llvm::Function&) () at /usr/lib/llvm/14/lib64/libLLVM-14.so
#6 0x00007fffef3cf48a in () at /usr/lib/llvm/14/lib64/libLLVM-14.so
#7 0x00007fffee0d1c53 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () at /usr/lib/llvm/14/lib64/libLLVM-14.so
#8 0x00007fffc335af86 in () at /usr/lib64/dri/radeonsi_dri.so
#9 0x00007fffc32a7095 in () at /usr/lib64/dri/radeonsi_dri.so
#10 0x00007fffc32a981f in () at /usr/lib64/dri/radeonsi_dri.so
#11 0x00007fffc32a3be4 in () at /usr/lib64/dri/radeonsi_dri.so
#12 0x00007fffc32ca7ac in () at /usr/lib64/dri/radeonsi_dri.so
#13 0x00007fffc2c68637 in () at /usr/lib64/dri/radeonsi_dri.so
#14 0x00007fffc2cb1577 in () at /usr/lib64/dri/radeonsi_dri.so
#15 0x00007fffe237c3da in start_thread (arg=<optimized out>) at pthread_create.c:442
#16 0x00007fffe23ff12c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Edited by Sebastian Parborg