secondlife / secondlife/viewer
Lua: require\\inspect.lua stack overflow ((null))
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
Environment
Lua Viewer: Second Life Release 7.1.9.10286089860
Description
Calling UI.listviews() causes a stackoverflow error.
183: stack overflow ((null))[string "C:\Program Files\SecondLifeLua\scripts/lua/require\inspect.lua"]:183: stack overflow ((null))
Reproduction steps
Run the following script:
local UI = require 'UI'; local inspect = require 'inspect'; uiList = UI.listviews(); LL.print_info(inspect(uiList))
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with scripts/lua/require/inspect.lua around line 183 and reproduce the issue with the UI.listviews() and inspect(uiList) script from the report. Trace why inspecting the returned list overflows the stack; done means the reproduction completes without a stack overflow and prints the UI list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100