Hi,
I am experiencing consistent segmentation faults when using chafa to render images with the Sixel output format (-f sixel) on my system.
Environment:
OS: Arch Linux
Repo: CachyOS (running linux-cachyos and using CachyOS repositories)
CPU: AMD Ryzen AI 9 365 (Zen 5)
Chafa version: 1.18.2
The Crash:
The crash occurs immediately upon running chafa -f sixel
. I have attempted to build from source but the issue persists.
Backtrace:
Using coredumpctl debug chafa and GDB, the crash is consistently reported at the following location:
#0 0x00007f90897b8da3 in repack_row_1234_64_PREMUL8_COMPRESSED_to_4231_32_PREMUL8_COMPRESSED () at internal/smolscale/smolscale-avx2.c:1011
#0 0x00007f61589b8b85 in repack_row_1234_64_PREMUL8_COMPRESSED_to_4132_32_PREMUL8_COMPRESSED () at internal/smolscale/smolscale-avx2.c:1010
It appears that the AVX2 instructions used in smolscale-avx2.c are causing a memory alignment conflict on this CPU architecture.
Hi,
I am experiencing consistent segmentation faults when using chafa to render images with the Sixel output format (-f sixel) on my system.
Environment:
The Crash:
. I have attempted to build from source but the issue persists.
The crash occurs immediately upon running chafa -f sixel
Backtrace:
Using coredumpctl debug chafa and GDB, the crash is consistently reported at the following location:
It appears that the AVX2 instructions used in smolscale-avx2.c are causing a memory alignment conflict on this CPU architecture.