After accessing "Service" via the Adonis _G API and trying to overwrite a value, it threw me a C stack overflow error on line 1422 within the Core module, caused by a infinite loop on the __newindex function. This can be fixed by changing it from tabl[inde] = valu to rawset(tabl, inde, valu).
Steps to reproduce
Access the Service API via _G.Adonis.Access() and try overwriting any variable.
Device
Windows
Relevant log output
required_asset_7510592873.MainModule.Server.Core.Core:1422: C stack overflow - Server
16:47:48.774 Stack Begin - Studio
16:47:48.774 ▶ Script 'required_asset_7510592873.MainModule.Server.Core.Core', Line 1422 - function __newindex (x198)
Version channel
Stable (Default)
Loader version
260
What part of Adonis is this related to?
Other
What happened?
After accessing "Service" via the Adonis _G API and trying to overwrite a value, it threw me a C stack overflow error on line 1422 within the Core module, caused by a infinite loop on the __newindex function. This can be fixed by changing it from
tabl[inde] = valu
torawset(tabl, inde, valu)
.Steps to reproduce
Access the Service API via
_G.Adonis.Access()
and try overwriting any variable.Device
Windows
Relevant log output