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

trying to open pest.rs hangs, consuming 200% CPU in Chromium #4

Closed
whitequark opened this issue Jan 16, 2019 · 5 comments
Closed

trying to open pest.rs hangs, consuming 200% CPU in Chromium #4

whitequark opened this issue Jan 16, 2019 · 5 comments

Comments

@whitequark
Copy link

I'm trying to open https://pest.rs in Chromium (Version 72.0.3626.7 (Developer Build) built on Debian buster/sid, running on Debian buster/sid (64-bit)). This never succeeds. The tab hangs and consumes 200% CPU according to the Chromium task manager. I cannot acquire a backtrace because it appears that the Chromium debugger cannot interrupt the loop it is stuck in, for some reason.

@dragostis dragostis transferred this issue from pest-parser/pest Jan 16, 2019
@dragostis
Copy link
Contributor

This runs fine on Chrome version 71 on macOS, 0% CPU on the pest.rs tab. I would imagine that this might have something to do with that specific nightly build.

@whitequark
Copy link
Author

To add to this, I realized it could be one of my extensions, but chromium --temp-profile https://pest.rs fails in the same way.

@dragostis
Copy link
Contributor

The website has some super-light JS for background generation, CodeMirror as an editor, and pest compiled in WASM. If you want to debug this, you could try to disable each and see which causes the error. (remove the <script>) You can also run this locally with cargo web.

@whitequark
Copy link
Author

Actually, it has nothing to do with JS. It still hangs with JS turned off. I've narrowed it down to https://pest.rs/style.css...

@whitequark
Copy link
Author

Oh well. I can't narrow it down any further. Seems to be layout stuck in an infinite loop. I think there's nothing you can do.

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

2 participants