lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> > Stack overflow in lsys_load (lua/loadlib.c:134)
> > 
> > [...]

Python 3 has the same issue (which reinforces the blame on dlopen):

$ python3
Python 3.6.9 (default, Jul 17 2020, 12:50:27) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ctypes import *
>>> x = 'a' * 10000000
>>> cdll.LoadLibrary(x)
Segmentation fault (core dumped)

-- Roberto