Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open some perfetto trace files in v45 (But works in v44) #818

Closed
benny8453123 opened this issue Jun 11, 2024 · 8 comments
Closed
Assignees

Comments

@benny8453123
Copy link

benny8453123 commented Jun 11, 2024

Hi,

Since last Firday I cannot open some perfetto trace files. The error was shown below:

UI: https://ui.perfetto.dev/v45.0-c0c52a371

RegistryError: Registrant perfetto.ProcessScheduling#228.null.schedule already exists in the registry
 - Registry.register (frontend_bundle.js:4432:20)
 - TrackManager.registerTrack (frontend_bundle.js:346785:36)
 - PluginContextTraceImpl.registerTrack (frontend_bundle.js:355626:58)
 - ProcessSummaryPlugin.addProcessTrackGroups (frontend_bundle.js:457076:22)
 - async ProcessSummaryPlugin.onTraceLoad (frontend_bundle.js:457012:10)
 - async doPluginTraceLoad (frontend_bundle.js:355861:22)
 - async PluginManager.onTraceLoad (frontend_bundle.js:355834:15)
 - async TraceController.loadTrace (frontend_bundle.js:470562:10)

Trace: not available (FILE). Provide repro steps.
UA: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Referrer: 

And I found there is upgrade was published at last Firday (Jun 07 6:02 PM) (according to perfetto/ui/release/channels.json)
How can I fix it or downgrade to v44 version in Windows platform?

@primiano
Copy link
Collaborator

@stevegolton ^

@primiano
Copy link
Collaborator

@benny8453123 Can you please attach a trace? Otherwise it's impossible to act on this

@LalitMaganti
Copy link
Collaborator

This was fixed in https://r.android.com/3063482. Please use canary/autopush for now, we should be doing a stable release soon!

@benny8453123
Copy link
Author

When I use Canary/Autopush, the progress gets stuck at "Reading thread list" and does not proceed any further
stuck

@primiano
Copy link
Collaborator

I think @stevegolton actually just did a stable release soon. Maybe we should cherry-pick the fix on stable then?

@LalitMaganti
Copy link
Collaborator

https://r.android.com/3125096 will fix the issue on autopush. Agree we should cherry-pick these patches on stable.

primiano pushed a commit that referenced this issue Jun 11, 2024
There are platform bugs which cause massive (unreasonble) timestamps in
frame timeline: simply drop them. This is similar to b/185978397 but
it's a different bug

Bug: #818
Change-Id: Ib96479a8bd9a3bf045c232edf834ec338a2d3ba0
@benny8453123
Copy link
Author

I tried the autopush version today, and Perfetto can now work with the previous trace file normally.
Really appreciate it !

jrguzman-ms pushed a commit to msft-mirror-aosp/platform.external.perfetto that referenced this issue Jun 22, 2024
There are platform bugs which cause massive (unreasonble) timestamps in
frame timeline: simply drop them. This is similar to b/185978397 but
it's a different bug

Bug: google/perfetto#818
Change-Id: Ib96479a8bd9a3bf045c232edf834ec338a2d3ba0
jrguzman-ms pushed a commit to msft-mirror-aosp/platform.external.perfetto that referenced this issue Jun 22, 2024
There are platform bugs which cause massive (unreasonble) timestamps in
frame timeline: simply drop them. This is similar to b/185978397 but
it's a different bug

Bug: google/perfetto#818
Change-Id: Ib96479a8bd9a3bf045c232edf834ec338a2d3ba0
@LalitMaganti
Copy link
Collaborator

I've pushed this to stable now so closing this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants