#959501 luabind: std::terminate called on luabind:error

Package:
src:luabind
Source:
luabind
Submitter:
Andreas Grob
Date:
2026-07-14 16:09:04 UTC
Severity:
important
Tags:
#959501#5
Date:
2020-05-03 03:28:55 UTC
From:
To:
Dear Maintainer,

the upstream snapshot (76d4061) fixes some instances of std::terminate being called when luabind::error is thrown
in a destructor by utilizing a macro that evaluates to noexcept(false). Unfortunately, it seems one of those
instances has not been fixed.

In luabind/detail/call_member.hpp:233 LUABIND_MAY_THROW needs to be
attached to ~proxy_member_void_caller() to fix this bug.

I have also reported this issue to the upstream source:
https://github.com/ValyriaTear/luabind/pull/2

For your convenience I will attach a patch.


Kind regards,
Andreas Grob

#959501#10
Date:
2020-05-24 19:51:48 UTC
From:
To:
Dear Maintainer,

this is now fixed in upstream https://github.com/ValyriaTear/luabind at commit a9287d342c70a37b68beca694ee75f2d5c747db4.
I have also included a regression test there.
Link to commit in upstream: https://github.com/ValyriaTear/luabind/commit/7555d9c7f20d7cb37628870e9b7e3eb9c0bb32fb

The mentioned snapshot (a9287d34) also includes a patch I provided previously, as well as a regression test for that patch.
Link to patch: https://sources.debian.org/patches/luabind/0.9.1+git20150823+dfsg-3/02_fix_potential_null_ptr_dereference_in_adopt_policy.patch/
Link to commit in upstream: https://github.com/ValyriaTear/luabind/commit/2fb1f5e35b3aec06539fe4df7e357d3010ddf3f2

Kind regards,
Andreas Grob

#959501#17
Date:
2026-07-14 16:08:19 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
luabind, 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 959501@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Iliya Abolghasemi <gfaerny@gmail.com> (supplier of updated luabind 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: Wed, 10 Jun 2026 01:30:33 +0330
Source: luabind
Architecture: source
Version: 1.1.1-1
Distribution: unstable
Urgency: medium
Maintainer: Iliya Abolghasemi <gfaerny@gmail.com>
Changed-By: Iliya Abolghasemi <gfaerny@gmail.com>
Closes: 959501 1050539 1137667
Changes:
 luabind (1.1.1-1) unstable; urgency=medium
 .
   * New upstream version 1.1.1 (Closes: #959501, #1050539)
   * Update Standards-Version
   * Adopt package (Closes: #1137667)
   * Drop 02_fix_potential_null_ptr_dereference_in_adopt_policy.patch
     (applied upstream)
Checksums-Sha1:
 8c44d68f16a727e1c8a891c88cd25afa7da122d0 2091 luabind_1.1.1-1.dsc
 5c8d7679e14493134be7acb0f9133220f8a643cf 189841 luabind_1.1.1.orig.tar.gz
 9931abe2f81dd8f1ed0dcdf5b0967a20dd1dba86 11480 luabind_1.1.1-1.debian.tar.xz
 c92d8da6e15827e66f1fa8d98967104a9cededfa 8979 luabind_1.1.1-1_source.buildinfo
Checksums-Sha256:
 e0febb536628efb242395d01ca43ac94c6f6a7e6c700b18846fde8d23b308c32 2091 luabind_1.1.1-1.dsc
 f14071fcd601486e1175fdc16366b42c781589975f385989b8a97b3b83f5775a 189841 luabind_1.1.1.orig.tar.gz
 c6a2a1bab181a68980a814bab5f46be8d289872a6bfa2cb2a0c33a1273663643 11480 luabind_1.1.1-1.debian.tar.xz
 a3348070cad1ff5b1bff88d0727238e9cdabe5334dbec237dc9bdff5f603adb1 8979 luabind_1.1.1-1_source.buildinfo
Files:
 a794feb8a84dd8e008f58e0250ff3239 2091 libs optional luabind_1.1.1-1.dsc
 65c51920fb7f3b2526ef3c0a8a3b5dcc 189841 libs optional luabind_1.1.1.orig.tar.gz
 7462ec5a962d543fa388fe88ec504a80 11480 libs optional luabind_1.1.1-1.debian.tar.xz
 2629ba48bdf3e6de8c63e60b4aa7d1e7 8979 libs optional luabind_1.1.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmpWVQcACgkQ4n8s+EWM
L6Sl7w//Wscv0SRzPpyrtO7IVv+hFTsH2KBlJvafwUyk0WS4I8bOH+BVSFD7rQfs
UJsIbYhfMe8yr0AZK0klW68O19Er1mqpu5MZsboQMo/A9JeES+Bqw5kXAaU6gd84
sEOVW9kVIWYdkwzESpFux1DfJ4yHJ2hQt6/mo7pwK44X5VhqH8G1EOWKUY9zA9LL
9Evf8bZVmt5E+wn/PvL5qytbmZoc6Byd8xCVL6aon+X6H91rebpb9PBLJpZcop8R
HGZ9FnHiX+niNidZ1rBMFgFBE6okGCpPJtOVfuL7t2eoKstGla32eiwKYOjPR8Rv
bAVM/yr8EkwmXvQrkX+npmGVraH1rm1+GCdzqY+TYtVyMM+2jnyfIGrZzyfVgRAF
aCpklSC6I2Kp5EnbzqUr9m/xKVrucsDdW17ypXpLCknMfFXM1/DYoWXCGmPTlgMv
xAhRsyAy3EgVtykv9K995YOfv/g6UVnnLleKSKBND5unKkuglQPt96YLbrzLfMzq
c2nL6lMlsyUoQDD281XGWbZocb/9L2D50bMLPPsdsbYsgq3paKF7jGPfWnQv7Pzc
YarYJKy/RF93sBpVsxnp5xnWrVhMASbQ59+EhaPDMuW8y+4/jtWdB2ou97nEpyfm
7TFzvq1NrKxN5QjfQc5GbTHY0L2vjBj3tU6sbkK1kxrlSTQT7zc=
=SjOr
-----END PGP SIGNATURE-----