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
error trying to view prof file: user error (endOfInput) #6
Comments
Thanks for reporting the issue. It looks like a bug in the GHC profiler where the module names and the cost center IDs can be concatenated. See the line 424 of your profiling report for example. I'll see what we can do to work around this issue. |
It could be fixed by this one: https://ghc.haskell.org/trac/ghc/ticket/8811 . Coincidentally, the ghc version is just upgraded in purescript too, so I'll retry with those updates & see if it's resolved now. |
That looks like the same issue! I guess I can implement some workaround for GHC < 8.0 in this weekend. |
I tried with ghc 8.0.2 but this gives a "ghc: panic". This bug is fixed in ghc HEAD though: https://ghc.haskell.org/trac/ghc/ticket/13503 |
Just uploaded v1.4.0.1 which has a workaround for this issue. |
BTW just wondering how you're using this library. Are you using profiteur or viewprof, or using it directly in your app? |
Great, thank you! I am using both profiteur and viewprof. |
I got the following error when trying to view the attached prof file:
purs.prof.txt
Relevant
stack.yaml
: https://github.com/purescript/purescript/blob/master/stack.yamlThe text was updated successfully, but these errors were encountered: