-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
v1.8-beta3 breaks StatProfilerHTML.jl #45361
Comments
I have a guess: before e6fa3ec, |
It's not valid to do an ip lookup for the metadata fields, so you have to handle them. #45403 isn't the right way to fix this. The downstream package needs to change the way it uses Profile internals. Either strip them out entirely or handle iterating over them and don't expect them to be in the ip dict. Check out ProfileView for an example of how that's handled. |
This should be the minimal patch tkluck/StatProfilerHTML.jl#29 and I added a TODO as handling and using the metadata would be more helpful to the user |
Many thanks to @IanButterworth for taking care of this issue. I'll close it now. |
Version
v1.8.0-beta3
breaks the current release of StatProfilerHTML.jl with the following error message:(Full console input/output and
versioninfo()
pasted below.)It was a bit tricky to bisect because there's a few other commits at which profiling and/or flamegraphs are broken for various reasons, but I'm now quite confident (by bisecting on grepping the error message) that this is caused by e6fa3ec, i.e. by #43816.
I'll continue to debug and see if I can work around it in my package, but ideally we find out how we can prevent a regression in the stdlib itself.
Full console input/output to reproduce:
The text was updated successfully, but these errors were encountered: