Bug 250746

Summary: games/minetest immediately cores on FreeBSD 12.2
Product: Ports & Packages Reporter: Andras Farkas <deepbluemistake>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me CC: andrew
Priority: --- Flags: bugzilla: maintainer-feedback? (amdmi3)
Version: Latest   
Hardware: amd64   
OS: Any   

Description Andras Farkas 2020-10-30 23:45:31 UTC
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
12.2-RELEASE
12.2-RELEASE
12.2-RELEASE
$ minetest
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.
Comment 1 Andrew "RhodiumToad" Gierth 2020-10-30 23:55:29 UTC
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.
Comment 2 Andras Farkas 2020-11-01 15:54:54 UTC
Bug was fixed by latest luajit pkg update.
:D