Lua panic error after idling in lobby
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by investigating the reported Linux-only crash after extended lobby idling and the Lua panic message. The issue points to LuaSocket as a possibility and gives version numbers for the client and server; compare those versions while trying to reproduce the reported timing. Done means identifying and resolving the cause so the client no longer panics while idling.
Written by the indexing model from the issue text.
Description
Been reported as reproducable by chaos / Bowser; linux only
After idling for an extended amount of time, the client taps out with the following error:
PANIC: unprotected error in call to Lua API (runtime code generation failed, restricted kernel?)
According to chaos the timing of the crash is reproduceable after 17.5min on his machine.
Might be machine specific as Bowser named higher durations.
My best guess at the moment is that the issue is caused by luasocket in some way because that is the only code I could imagine to call into Lua while idling in lobby.
The love 12 release we ship with uses Luasocket 3.0.0, love 12 with SDL3 uses Luasocket 3.1.0 whereas the server uses Luasocket 3.0-rc1 (same as 11.5) so it may be worthwhile to try and update the server's luasocket to a matching version but otherwise I don't really have an idea.
- Dominant language
- Lua
- Stars
- 30
- Forks
- 20
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 17
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from panel-attack/panel-game
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
panel-attack/panel-game#822 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
panel-attack/panel-game#779 ·
Maintainers usually reply within 1 day
-
bug Client-side priority: 0 - high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
panel-attack/panel-game#776 ·
Maintainers usually reply within 1 day
-
enhancement priority: 1 - middle
Difficulty 4/5 3-5 days Newbie friendliness 48/100
panel-attack/panel-game#821 ·
Maintainers usually reply within 1 day
-
Animation scenes draw every part separately, costing hundreds of draw calls a framePossibly taken @JamesVanBoxtel claimed this 4 days ago. OpenClient-side enhancement graphics
panel-attack/panel-game#814 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in panel-attack/panel-game
Similar issues
-
slice weekend
Difficulty 2/5 1-3 hours Newbie friendliness 71/100
Life-Framework/Life-Framework#3212 ·
Maintainers usually reply within 1 day
-
bug discord guide:01b-riverglades locale:enUS triage v4.1.1
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
petertriho/nvim-scrollbar#127 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100