lua-users home
lua-l archive

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


On Fri, Sep 4, 2020 at 10:58 PM Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>
> > > Stack overflow in lsys_load (lua/loadlib.c:134)
> > >
> > > [...]

Valgrind on this matter:

> ==15401== Warning: client switching stacks?  SP change: 0x1ffeffd8a0 --> 0x1ffe801aa0
> ==15401==          to suppress, use: --max-stackframe=8371712 or greater
> ==15401== Stack overflow in thread #1: can't grow stack to 0x1ffe801000
> ==15401==
> ==15401== Process terminating with default action of signal 11 (SIGSEGV)
> ==15401==  Access not within mapped region at address 0x1FFE801A98
> ==15401== Stack overflow in thread #1: can't grow stack to 0x1ffe801000
> ==15401==    at 0x40062B6: open_path (dl-load.c:1963)

So, I wonder if it refers to some kind of "optimisation" putting the
whole darn string onto the stack instead of passing it by the address.