#981808 luajit: Minetest crash with luajit from the Debian buster arm64 repo

#981808#5
Date:
2021-02-04 03:45:45 UTC
From:
To:
Dear Maintainer,

As mentioned in this github issue
(https://github.com/minetest/minetest/issues/10895#event-4283568733), I
built Minetest from source and run it with luajit from the Debian repo.
The game crashed (segfault) when doing some luajit function call.

I have tried to uninstall luajit from the Debian repo and built luajit from
source (https://github.com/LuaJIT/LuaJIT, branch v2.1). Minetest doesn't
crash in this case. In the github issue, sfan5 also reported that the
game works fine on Arch Linux ARM. Therefore, I think there are problems
in the Debian luajit build for arm64. Maybe the version is too old that
something has been fixed in the luajit v2.1 branch, or some Debian
specific patches break luajit for arm64.

Best,
Adrian

#981808#10
Date:
2021-02-05 22:22:59 UTC
From:
To:
* AdrianLai <dlshcbmuipmam@hotmail.com> [210205 22:22]:

[..]

Well, which version of luajit did you use from Debian?

In testing/bullseye, we have some arm64 patches, maybe they help.

Chris

#981808#15
Date:
2022-06-07 03:18:51 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
luajit, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 981808@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mo Zhou <lumin@debian.org> (supplier of updated luajit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 02 Jun 2022 09:02:16 -0700
Source: luajit
Architecture: source
Version: 2.1.0~beta3+git20220320+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Lua Team <pkg-lua-devel@lists.alioth.debian.org>
Changed-By: Mo Zhou <lumin@debian.org>
Closes: 981808 1008858 1011297
Changes:
 luajit (2.1.0~beta3+git20220320+dfsg-2) unstable; urgency=medium
 .
   * Change dependency template into 'libluajit-5.1-2 | libluajit2-5.1-2'.
   * Symbols: annotate correct version in dependency template.
   * Conflicts+Replaces binary packages from src:luajit2.
   * Please use src:luajit2 instead of this src:luajit for IBM architectures.
     (Closes: #1011297, #1008858)
   * Upload to unstable. (Closes: #981808)
Checksums-Sha1:
 8336131bd6f904bff5b02058ab080eae1d36896c 2909 luajit_2.1.0~beta3+git20220320+dfsg-2.dsc
 58cec8c7bddbf1fd9e7aedb730039cc15938ffa6 10812 luajit_2.1.0~beta3+git20220320+dfsg-2.debian.tar.xz
 4aa561509e0a98afc939ccef5827a437f82706a0 6709 luajit_2.1.0~beta3+git20220320+dfsg-2_source.buildinfo
Checksums-Sha256:
 53a381af67a5ba9a60f6789174ebc491738c3554b5e9e2b28164ce9beeea5276 2909 luajit_2.1.0~beta3+git20220320+dfsg-2.dsc
 a413ced7677f980d77a0e0d6c714afae1281df0e236adee03a4d2ca363f824e8 10812 luajit_2.1.0~beta3+git20220320+dfsg-2.debian.tar.xz
 9c9368601088eff68a27855b3939f5d1f6efdd08aca4be0957dc023bbc269a0a 6709 luajit_2.1.0~beta3+git20220320+dfsg-2_source.buildinfo
Files:
 3e2e54233dfabe75d37b7e30bc91b602 2909 interpreters optional luajit_2.1.0~beta3+git20220320+dfsg-2.dsc
 8a44d7264bc3279bb40b51cfa5b898c4 10812 interpreters optional luajit_2.1.0~beta3+git20220320+dfsg-2.debian.tar.xz
 72ee97735c29a7f63815720885b1b1c9 6709 interpreters optional luajit_2.1.0~beta3+git20220320+dfsg-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmKevzQRHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaorhyA//fb53LeycAUFVrJFrABxk/XHhJ7wy7CPD
guBqPNh0RFgAAcOtLZCq0jza6elIOIMxaPflTzCJHa5+9ARhHiwOPSGgWGyxz8XD
2L5jykAGYogFfO3kIRKqBFHJpdY4F1BKvZP2peBeMTRqBcxbQzmw/ovsLjVRBA8x
98vfL265LYJVRpPmr+XMerTLinf46L0EpYMNcrKERJoN20KNXArflmuNTA9xMafK
BhHh09n0lWnSCsLnVssHMHlOzKdIHbuRJy/3FRDMW1Q8R5sIQ9KMejxqyPbCtcyE
x+bl+iXVD0mIlXRDO3e5rM7TIi7tXvbTRFGdyQNRasEBWI3ljo4CY6fOoOqfO0kX
0MAL0+w6HJ/y2WFqpEcpV2kk99NXxAJtWYSC/bQUCH8FDt7038VCthTAk00REGei
pJ/XCo7mRqdTgSalJ8BKD7Z6rvGsDeazu1LebzSu1MAdapN5s0Zu7DiPJSKgqAJT
f26XLCuknxdlOLhX8HZukjIS8Bi0oYnsWzdIGJJOG7kr7cca8rTo5tGbRuGam9Hv
bFS0pReO01+WB5M24DsECIvJxrNgzmDoP4ctgI+uk6gZjhCMR7wHMCrWBZhqJ/fw
wePvreY/7Rkcf4i/+CZmVW/cwqzuqcwwOhK4GOK/0xuLq50dZpje/qEB3Xl/oeUB
MEypgNFcnyU=
=opzQ
-----END PGP SIGNATURE-----