From: Walter Alejandro Iglesias Subject: Re: Blender crashes when rendering animation to ffmpeg video To: ports@openbsd.org Date: Sat, 8 Nov 2025 11:58:03 +0100 On Sat, Nov 08, 2025 at 11:11:50AM +0100, Kirill A. Korinsky wrote: > On Sat, 08 Nov 2025 10:38:29 +0100, > Walter Alejandro Iglesias wrote: > > > > On Sat, Nov 08, 2025 at 09:54:00AM +0100, Kirill A. Korinsky wrote: > > > On Sat, 08 Nov 2025 09:25:18 +0100, > > > Walter Alejandro Iglesias wrote: > > > > > > > > Hello, > > > > > > > > Blender crashes always I run "render animation" to a ffmpeg video. (It > > > > has no problems when rendering to a image sequence). > > > > > > > > Using latest snapshot. > > > > > > > > > > > > Thread 2 received signal SIGILL, Illegal instruction. > > > > [Switching to thread 232396 of process 54210] > > > > 0x00000956337d3160 in ff_rgbaToY_avx2 () from /usr/local/lib/libswscale.so.9.0 > > > > > > This smeels like your CPU doesn't support AVX2, but ffmpeg tries to use it. > > > > > > Can you share your CPU? > > > > cpu0: 12th Gen Intel(R) Core(TM) i3-12100, 3292.94 MHz, 06-97-05, patch 0000003a > > > > I ignore if what appears in these lines means that it's supported: > > > > $ dmesg | grep AVX > > cpu0: cpuid 1 edx=bfebfbff ecx=77fafbbf > > ^^^ > > cpu0: cpuid 7.0 ebx=239c27eb ecx=98c007ac edx=fc184410 > > ^^^^ > > > > It is IBT machine. Sorry, what does IBT stands for? > May I ask you to try this guess? I got the gdb backtrace using the debug-blender package. I'll download the ports, compile blender and tell you if your diff helps. > > Index: graphics/blender/Makefile > =================================================================== > RCS file: /home/cvs/ports/graphics/blender/Makefile,v > diff -u -p -r1.144 Makefile > --- graphics/blender/Makefile 3 Nov 2025 11:01:27 -0000 1.144 > +++ graphics/blender/Makefile 8 Nov 2025 10:09:57 -0000 > @@ -1,3 +1,6 @@ > +# XXX ffmpeg 8 > +USE_NOBTCFI-amd64 = yes > + > # powerpc - tbb 64-bit atomics > # sparc64 - openexr linking failure > # 32-bit archs - static assert in cuda that a pointer is the same size as ULL > @@ -7,6 +10,7 @@ DPB_PROPERTIES = parallel > COMMENT = 3D creation software > > VERSION = 4.5.3 > +REVISION = 0 > V = ${VERSION:R} > DISTNAME = blender-${VERSION} > > > > -- > wbr, Kirill > -- Walter