Re: Illegal instruction (core dumped)

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Sat, 28 Jun 2025 22:13:48 UTC
On Sat, Jun 28, 2025 at 05:32:17PM +0000, Bjoern A. Zeeb wrote:
> Hi,
> 
> happened in one of my dev VMs:
> 
> # more /etc/wpa_supplicant.conf Illegal instruction (core dumped)
> 
> As I see nothing in UPDATING in the range from HEAD to the commit I
> rebased --onto b93161a7e38d (downgrade of the kernel) that would
> explain this I am wondering.
> 
> 
> Mounted the disk image from the base system and checked the core:
> 
> Program terminated with signal SIGILL, Illegal instruction.
> (gdb) where
> #0  0x00003fabd04ebeed in tgetflag_sp (sp=0x3fa3ad42f3a0 <get_term[termbuf]>, id=0x3fa3ad42f3a0 <get_term[termbuf]> "") at /usr/src/contrib/ncurses/ncurses/tinfo/lib_termcap.c:259
> #1  0x00003fa3ad404e9e in get_term () at /usr/src/contrib/less/screen.c:1256
> #2  0x00003fa3ad4042ef in main (argc=1, argv=0x3fabce1f26b8) at /usr/src/contrib/less/main.c:344
> 

What is the instruction that faulted?
Also show the registers values used by the instruction.