Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2025 02:05:45 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: Illegal instruction (core dumped)
Message-ID:  <772459p8-q5r9-4q35-831o-p3s30ro9o7r3@yvfgf.mnoonqbm.arg>
In-Reply-To: <aGHWmwaWvwsBqxEJ@kib.kiev.ua>
References:  <357r6812-o83q-42rr-ps01-322458p6pp65@yvfgf.mnoonqbm.arg> <aGBpHKsZFLOox30q@kib.kiev.ua> <ns33251r-59o5-s65r-n525-398rs5o40pn3@yvfgf.mnoonqbm.arg> <aGCkp_ihrensFZpw@kib.kiev.ua> <qr4o8706-00pq-5626-304o-n242734372s4@yvfgf.mnoonqbm.arg> <aGHWmwaWvwsBqxEJ@kib.kiev.ua>

index | next in thread | previous in thread | raw e-mail

On Mon, 30 Jun 2025, Konstantin Belousov wrote:

> It might be for sure, did it persist between reboots?

I just destroyed the VM and rebooted the old disk image and more just
works now.

> You might try to read the instruction as data using p or x gdb command.
> I believe disassemble reads the text from the file, but if there is a
> corruption, the in-memory copy would be the indicator.

Well typing in display/i $pc makes it x/i $pc according to the output.

Also gdb works inside the VM:

> (gdb) display/i $pc
> 1: x/i $pc
> => 0x3fabd04ebeed <tgetflag_sp+29>:     cmove  %rbx,%rcx

(gdb) p/x $pc
$1 = 0x3fabd04ebeed


> (gdb) display/i $pc
> 1: x/i $pc
> => 0x828064eed <tgetflag_sp+29>:        cmove  %rbx,%rcx

(gdb) p/x $pc
$1 = 0x828064eed


So bhyve glitch?


-- 
Bjoern A. Zeeb                                                     r15:7


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?772459p8-q5r9-4q35-831o-p3s30ro9o7r3>