[Bug 292146] shells/mksh: Segmentation fault on RELESE-15.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Jan 2026 10:29:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292146

--- Comment #3 from hackee <h4ckee@proton.me> ---
Dmesg has been attached.
Here I run mksh after "make install":

...
Installing the shell:
# install -c -s -o root -g bin -m 555 mksh /bin/mksh
# grep -x /bin/mksh /etc/shells >/dev/null || echo /bin/mksh >>/etc/shells
# install -c -o root -g bin -m 444 dot.mkshrc /usr/share/doc/mksh/examples/

Installing the manual:
# install -c -o root -g bin -m 444 lksh.1 mksh.1 /usr/share/man/man1/

Run the regression test suite: ./test.sh
Please also read the sample file dot.mkshrc and the fine manual.
Run FAQ2HTML.sh and place FAQ.htm into a suitable location as well.
===>  Staging for mksh-59c_2
===>   Generating temporary packing list
install  -s -m 555 /usr/ports/shells/mksh/work/mksh/mksh
/usr/ports/shells/mksh/work/stage/usr/local/bin
/bin/mv /usr/ports/shells/mksh/work/mksh/mksh.1
/usr/ports/shells/mksh/work/mksh/mksh.1.orig
/bin/cat /usr/ports/shells/mksh/work/mksh/mksh.1.orig | mandoc -T man
>/usr/ports/shells/mksh/work/mksh/mksh.1
install  -m 444 /usr/ports/shells/mksh/work/mksh/mksh.1
/usr/ports/shells/mksh/work/stage/usr/local/share/man/man1
/bin/mkdir -p /usr/ports/shells/mksh/work/stage/usr/local/share/examples/mksh
install  -m 0644 /usr/ports/shells/mksh/work/mksh/dot.mkshrc
/usr/ports/shells/mksh/work/stage/usr/local/share/examples/mksh
====> Compressing man pages (compress-man)
===>  Installing for mksh-59c_2
===>  Checking if mksh is already installed
===>   Registering installation for mksh-59c_2
Installing mksh-59c_2...
root@freebsd15:/usr/ports/shells/mksh # mksh
Segmentation fault (core dumped)

-- 
You are receiving this mail because:
You are the assignee for the bug.