-
Notifications
You must be signed in to change notification settings - Fork 607
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
Hang with a particular profile file #78
Comments
Ok, got a backtrace :
So it seems that for some reason, it tries to symbolize a device file (/dev/dri/renderD128), and get stuck here. Edit: Is there a way I can tell pprof not to symbolize this? Also, I guess that a kind of timeout would avoid that. Without symbolization :
|
Trying to symbolize files like /dev/dri/renderD128 makes pprof hang as it tries to read from this device file. So do not attempt the symbolization. Skip [heap] file, too - the profile from issue google#78 has a couple samples in the heap (perhaps some generated code) and trying to locate a file with that name can't succeed.
Trying to symbolize files like /dev/dri/renderD128 makes pprof hang as it tries to read from this device file. So do not attempt the symbolization. Skip [heap] file, too - the profile from issue google#78 has a couple samples in the heap (perhaps some generated code) and trying to locate a file with that name can't succeed. Fixes google#78.
I seem to have a similar issue, pprof hangs and it's an OpenGL application. But I don't see this device in my output. Any workarounds?
|
@nlw0 please file a separate issue with steps and necessary data to reproduce. |
Depending on the behavior of my profiled binary, libprofiler outputs a profiling file (see attached) that makes pprof hangs. I wasn't able to easily strace where it's stuck.
Tested on linux. Profiled executable built with clang 3.7+
profile.txt (.txt for the sake of github upload)
The text was updated successfully, but these errors were encountered: