Similar to bug #880671 Blender crashes on start. This is the version installed with the USE flags set: Installed versions: 4.1.1-r2(4.1)^t(10:42:01 AM 07/22/2024)(X bullet color-management cycles cycles-bin-kernels embree ffmpeg fftw fluid gmp jpeg2k nanovdb nls oidn openexr openmp opensubdiv openvdb otf pdf potrace pugixml pulseaudio sdl sndfile tbb tiff vulkan wayland webp -alembic -collada -cuda -debug -doc -experimental -gnome -hip -jack -jemalloc -man -ndof -oneapi -openal -openpgl -optix -osl -renderdoc -test -valgrind LLVM_SLOT="17 -15 -16 -18" PYTHON_SINGLE_TARGET="python3_12 -python3_11") I'm running current stable plasma, the window manager being kde-plasma/kwin-5.27.11-r1. I'm mentioning the window manager, since the backtrace points to an issue related to that: Core was generated by `blender-4.1'. Program terminated with signal SIGSEGV, Segmentation fault. #0 wm_window_set_drawable (activate=false, win=0x0, wm=0x56521a8a4288) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_window.cc:1249 warning: 1249 /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_window.cc: No such file or directory [Current thread is 1 (Thread 0x7f269f407000 (LWP 10761))] (gdb) bt #0 wm_window_set_drawable (activate=false, win=0x0, wm=0x56521a8a4288) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_window.cc:1249 #1 wm_window_ghostwindow_add (title=0x5652159ba3f4 "Blender", is_dialog=<optimized out>, win=0x56521a8a4858, wm=0x56521a8a4288) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_window.cc:799 #2 wm_window_ghostwindow_ensure (wm=0x56521a8a4288, win=0x56521a8a4858, is_dialog=<optimized out>) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_window.cc:831 #3 0x0000565213087e95 in wm_window_ghostwindows_ensure (wm=wm@entry=0x56521a8a4288) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_window.cc:888 #4 0x000056521304c098 in WM_check (C=C@entry=0x565219ffeba8) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm.cc:501 #5 0x00005652130647e8 in wm_homefile_read_ex (C=C@entry=0x565219ffeba8, params_homefile=params_homefile@entry=0x7ffcf1522960, reports=reports@entry=0x0, r_params_file_read_post=r_params_file_read_post@entry=0x7ffcf1522958) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_files.cc:1481 #6 0x0000565213069204 in WM_init (C=C@entry=0x565219ffeba8, argc=argc@entry=1, argv=argv@entry=0x7ffcf1522b38) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_init_exit.cc:287 #7 0x0000565212844be0 in main (argc=1, argv=0x7ffcf1522b38) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/creator/creator.cc:525
Created attachment 898099 [details] emerge --info
Created attachment 898100 [details] backtrace
My system was upgraded to LLVM/Clang 18, and due to the LLVM_SLOT change blender was rebuilt. The behaviour persists, and the backtrace looks the same: Program terminated with signal SIGSEGV, Segmentation fault. #0 wm_window_set_drawable (activate=false, win=0x0, wm=0x55689b27bff8) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_window.cc:1249 warning: 1249 /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_window.cc: No such file or directory [Current thread is 1 (Thread 0x7f44c0166000 (LWP 19249))] (gdb) bt #0 wm_window_set_drawable (activate=false, win=0x0, wm=0x55689b27bff8) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_window.cc:1249 #1 wm_window_ghostwindow_add (title=0x55689702b3f4 "Blender", is_dialog=<optimized out>, win=0x55689b27c5c8, wm=0x55689b27bff8) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_window.cc:799 #2 wm_window_ghostwindow_ensure (wm=0x55689b27bff8, win=0x55689b27c5c8, is_dialog=<optimized out>) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_window.cc:831 #3 0x00005568946f8e95 in wm_window_ghostwindows_ensure (wm=wm@entry=0x55689b27bff8) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_window.cc:888 #4 0x00005568946bd098 in WM_check (C=C@entry=0x55689a9d6ba8) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm.cc:501 #5 0x00005568946d57e8 in wm_homefile_read_ex (C=C@entry=0x55689a9d6ba8, params_homefile=params_homefile@entry=0x7ffcbcce61f0, reports=reports@entry=0x0, r_params_file_read_post=r_params_file_read_post@entry=0x7ffcbcce61e8) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_files.cc:1481 #6 0x00005568946da204 in WM_init (C=C@entry=0x55689a9d6ba8, argc=argc@entry=1, argv=argv@entry=0x7ffcbcce63c8) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/blender/windowmanager/intern/wm_init_exit.cc:287 #7 0x0000556893eb5be0 in main (argc=1, argv=0x7ffcbcce63c8) at /home/portage/media-gfx/blender-4.1.1-r2/work/blender-4.1.1/source/creator/creator.cc:525
As I said, I really don't think this to do with LLVM at all. The crash looks completely different to the usual ones for that class of problem. It coming up in Void as https://github.com/void-linux/void-packages/issues/49763 supports that theory too.
According to https://projects.blender.org/blender/blender/issues/126136 really seems to be caused by unsupported (non-dedicated) GPU?