Crash on readying up with a duplicated input config
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with client/src/Player.lua:243 in restrictInputs, then trace how input claims are cleared around match end and how readying up reaches that function through client/src/BattleRoom.lua:396 and client/src/MatchParticipant.lua:120. Done means readying up with multiple input configs for the same controller no longer crashes with the duplicate-claim error.
索引モデルが issue の本文から書いたものです。
説明
Not entirely sure how but exciting either way.
10/03/24 08:46:18.562 DEBUG:Popping scene Game2pVs, new active scene is CharacterSelect2p
10/03/24 08:46:18.838 INFO:Stack Trace:
[C]: in function 'error'
client/src/Player.lua:243: in function 'restrictInputs'
client/src/BattleRoom.lua:396: in function 'callback'
common/lib/signal.lua:36: in function 'emitSignal'
client/src/MatchParticipant.lua:120: in function 'setWantsReady'
client/src/scenes/CharacterSelect.lua:171: in function 'onSelect'
client/src/ui/Grid.lua:64: in function 'onSelect'
client/src/ui/GridCursor.lua:156: in function 'receiveInputs'
client/src/scenes/CharacterSelect.lua:899: in function 'update'
client/src/NavigationStack.lua:186: in function 'update'
client/src/Game.lua:281: in function 'update'
main.lua:63: in function 'update'
client/src/CustomRun.lua:118: in function 'runInternal'
DefaultLoveRunFunctions.lua:55: in function <DefaultLoveRunFunctions.lua:53>
[C]: in function 'xpcall'
Username: bramp
Theme: Panel Attack Modern
Error Message: client/src/Player.lua:243: Player 2 is trying to claim a second input configuration
Engine Version: 047
Build Version: canary 1727918953
Operating System: OS: OS X
Love Version: 12.0.0
Renderer Info: Metal;2.1;;Intel(R) Iris(TM) Plus Graphics 640
UTC Time: 2024-10-03 12:46:18
Scene: CharacterSelect2p
BattleRoom Info:
Online: true
Spectating: false
All assets loaded: true
State: 1
Players:
P1:
Player Number: 2
Panels: pdx_panels_crisp_basic
Selected Character: pa_characters_bumpty
Character: pa_characters_bumpty
Selected Stage: PAQR_Flare
Stage: PAQR_Flare
isLocal: true
wantsReady: true
P2:
Player Number: 1
Panels: pdx_panels_crisp_basic
Selected Character: __RandomCharacter
Character: pa_characters_wiggler
Selected Stage: __RandomStage
Stage: PAQR_Lip
isLocal: false
wantsReady: true
By happenstance I know that Bramp has multiple input configs for the same controller:
keysV3(1).json
But swap1 is the same on all of them.
Based on the timings in the crash log, the game clearly should've easily managed to clear the input claim from the previous game as that happens on match end, not on popping the scene and there were a good 2s between sending the game over to the server and the crash.
- 主要言語
- Lua
- スター
- 30
- フォーク
- 20
- 平均マージ
- 3日 15時間
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
panel-attack/panel-game のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
panel-attack/panel-game#822 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
panel-attack/panel-game#779 ·
メンテナーはふだん 1 日以内に返信
-
bug Client-side priority: 0 - high
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
panel-attack/panel-game#776 ·
メンテナーはふだん 1 日以内に返信
-
enhancement priority: 1 - middle
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
panel-attack/panel-game#821 ·
メンテナーはふだん 1 日以内に返信
-
Animation scenes draw every part separately, costing hundreds of draw calls a frame対応中かも @JamesVanBoxtel が 4 日前に担当しました。 オープンClient-side enhancement graphics
panel-attack/panel-game#814 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
panel-attack/panel-game の issue をすべて見る
似ている issue
-
slice weekend
難易度 2/5 1〜3時間 初心者へのやさしさ 71/100
Life-Framework/Life-Framework#3212 ·
メンテナーはふだん 1 日以内に返信
-
bug discord guide:01b-riverglades locale:enUS triage v4.1.1
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
petertriho/nvim-scrollbar#127 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100