Bug 250746 - games/minetest immediately cores on FreeBSD 12.2
Summary: games/minetest immediately cores on FreeBSD 12.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-30 23:45 UTC by Andras Farkas
Modified: 2020-11-01 15:54 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (amdmi3)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 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