PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Constant OnFrame / Launch.lua Crashes
Nessuno ha ancora preso questa issue.
- Lingua principale
- Lua
- Stelle
- 5.4k
- Fork
- 2.4k
- Merge medio
- 1g 12h
- PR unite (30g)
- 26
Descrizione
Check version
- I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
- I've checked for duplicate open and closed issues by using the search function of the issue tracker
What platform are you running Path of Building on?
Windows
How is Path of Building expected to behave?
Expecting normal usage / not constant crashes and / or errors.
How does Path of Building behave?
I'm getting constant OnFrame errors with the latest version of PoB. This happens on all screens, including the builds index. A stack trace as an example from the Build index screen.
Error:
In 'OnFrame': Modules/ModParser.lua:6364: calling 'find' on bad self (string expected, got nil)
stack traceback:
[C]: in function 'find'
Modules/ModParser.lua:6364: in function 'scan'
Modules/ModParser.lua:6498: in function 'parseMod'
Modules/ModParser.lua:6744: in function 'parseMod'
Classes/Item.lua:743: in function 'ParseRaw'
Classes/ItemsTab.lua:1036: in function <Classes/ItemsTab.lua:1004>
Modules/Build.lua:630: in function 'CallMode'
Modules/Main.lua:354: in function <Modules/Main.lua:340>
[C]: in function 'PCall'
Launch.lua:111: in function <Launch.lua:108>
v2.63.0 master
Press Enter/Escape to dismiss, or F5 to restart the application.
Press CTRL + C to copy error text.
A stack trace while viewing the calc tab.
Error:
In 'OnFrame': Classes/CalcSectionControl.lua:291: attempt to index field 'calcsTab' (a trace value)
stack traceback:
Classes/CalcSectionControl.lua:291: in function 'Draw'
Classes/ControlHost.lua:91: in function 'DrawControls'
Classes/CalcsTab.lua:342: in function 'Draw'
Modules/Build.lua:1204: in function 'CallMode'
Modules/Main.lua:370: in function <Modules/Main.lua:340>
[C]: in function 'PCall'
Launch.lua:111: in function <Launch.lua:108>
v2.63.0 master
Press Enter/Escape to dismiss, or F5 to restart the application.
Press CTRL + C to copy error text.
This is occurring at a fairly constant rate to the point that it's relatively unusable. (Every few seconds, I imagine as part of the UI loop).
I have attempted an uninstall / reinstall but the behaviour / bug has persisted.
How to reproduce the issue
No set behavior appears to trigger this behavior, in that I can't mouse over a particular field and trigger it constantly. It does appear to occur when interacting with the program, navigating around menus, etc.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando i due stack trace in Modules/ModParser.lua:6364 e Classes/CalcSectionControl.lua:291, quindi segui i relativi chiamanti attraverso Classes/Item.lua, Classes/ItemsTab.lua, Classes/CalcsTab.lua e Launch.lua:111. Riproduci gli errori navigando nei menu, nell’indice delle build e nella scheda calc; il lavoro è completato quando l’interazione normale non produce più crash OnFrame ricorrenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- lua
- Ambito
- desktop
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100