PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Constant OnFrame / Launch.lua Crashes
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Lua
- Sterne
- 5.4k
- Forks
- 2.4k
- Ø Merge
- 1 T. 12 Std.
- Gemergte PRs (30 T.)
- 26
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die beiden Stacktraces in Modules/ModParser.lua:6364 und Classes/CalcSectionControl.lua:291 zu prüfen, und verfolge anschließend ihre Aufrufer durch Classes/Item.lua, Classes/ItemsTab.lua, Classes/CalcsTab.lua und Launch.lua:111. Reproduziere die Fehler beim Navigieren durch Menüs, den Build-Index und den Calc-Tab; abgeschlossen ist die Aufgabe, wenn normale Interaktion keine wiederkehrenden OnFrame-Abstürze mehr verursacht.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- lua
- Bereich
- desktop
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100