That is a missing BTI instruction.  Next package snapshot fixes it.

Mikhail <mp39...@gmail.com> wrote:

> core:~$ sysctl kern.version
> kern.version=OpenBSD 7.5-beta (GENERIC.MP) #22: Fri Feb 23 19:29:07 MST 2024
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> Latest packages.
> 
> core:~/Downloads$ feh openbsd\ \(1\).jpg
> zsh: illegal hardware instruction (core dumped)  feh openbsd\ \(1\).jpg
> 
> core:~/Downloads$ egdb feh feh.core
> GNU gdb (GDB) 9.2
> Copyright (C) 2020 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-unknown-openbsd7.5".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
>     <http://www.gnu.org/software/gdb/documentation/>.
> 
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from feh...
> (No debugging symbols found in feh)
> [New process 123074]
> Core was generated by `feh'.
> Program terminated with signal SIGILL, Illegal instruction.
> #0  0x0000009c63a03e20 in jsimd_h2v2_merged_upsample_avx2 () from 
> /usr/local/lib/libjpeg.so.70.2
> (gdb) bt
> #0  0x0000009c63a03e20 in jsimd_h2v2_merged_upsample_avx2 () from 
> /usr/local/lib/libjpeg.so.70.2
> #1  0x0000009c63a4b9e2 in merged_2v_upsample () from 
> /usr/local/lib/libjpeg.so.70.2
> #2  0x0000009c63a45124 in process_data_simple_main () from 
> /usr/local/lib/libjpeg.so.70.2
> #3  0x0000009c63a3e469 in jpeg_read_scanlines () from 
> /usr/local/lib/libjpeg.so.70.2
> #4  0x0000009c068f6596 in _load () from /usr/local/lib/imlib2/loaders/jpeg.so
> #5  0x0000009b9eb9f0d3 in __imlib_LoadImage () from 
> /usr/local/lib/libImlib2.so.9.0
> #6  0x0000009b9eb86631 in imlib_load_image_with_error_return () from 
> /usr/local/lib/libImlib2.so.9.0
> #7  0x0000009985fc88d4 in feh_load_image ()
> #8  0x0000009985fe20f1 in winwidget_create_from_file ()
> #9  0x0000009985fda4c1 in init_slideshow_mode ()
> #10 0x0000009985fd08f6 in main ()

Reply via email to