Rogue Frames Randomly Output from PresentData in P00 ETL

Offen
#556 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
cpp

Rechercherichtung

Start by reading PresentData’s handling of the completed queue and how frames are marked ready; the issue does not name files or tests. Compare the end-of-capture base case with the failure case, where the extra frames are both added to completed and marked ready. Done means identifying the circumstances that distinguish the cases and explain the 24 extra frames.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Randomly get 24 extra frames from P00Heaven. All frames have time in present = 0. Shows in legacy Streamer, new broadcaster, and Main pre-rework. Frames appear to have plausible timestamps for being legitimate.

race condition exists in PresentData. I was expecting something in how service is consuming from the completed queue. But in the normal case presentdata is not marking those frames as complete, and in the failure case it is. so the service is just processing what it gets (as it should), and it is probably presentdata misbehaving somehow by randomly choosing to spit these frames out.

we can see that in either case, the weird frames are added to completed
the difference comes in the failure case, they're also marked ready, but not marked in the base case

Seems limited to this ETL and only affects end of capture. Analyze later to determine discriminating circumstances for the base case and the 24 extra frame case.

Vorherrschende Sprache
C++
Sterne
2.6k
Forks
201
Ø Merge
2 T. 21 Std.
Gemergte PRs (30 T.)
16

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus GameTechDev/PresentMon

Alle Issues in GameTechDev/PresentMon

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.