Hi! minetest (along with minetest_game) worked fine on FreeBSD 12.1
Now, after upgrading to 12.2, it no longer does. Here's a log of me trying to start it:
$ uname -a
FreeBSD nyann.tanasinn.mochi 12.2-RELEASE FreeBSD 12.2-RELEASE r366954 GENERIC amd64
$ freebsd-version -kru
2020-10-30 19:40:52: [Main]: Automatically selecting world at [/home/dogg/.minetest/worlds/playwarldaa]
Bus error (core dumped)
Let me know if I should send the core dump anywhere. It's 46M in size so doesn't fit as an attachment.
This is almost certainly the same luajit issue as #250707, the fix for this is already in progress. When luajit-2.0.5_5 shows up on the package mirrors, try updating to that and see if the problem goes away.
Alternatively, building luajit from ports on 12.2 should also fix it.
You can confirm this is the issue by getting the backtrace from the core dump and seeing if the top entry is _Unwind_RaiseException above entries that mention luajit.
Bug was fixed by latest luajit pkg update.