Alexander Yashkin
2018-08-30 15:11:16 UTC
I will try my luck in chromium-dev, since ***@chromium.org is silent.
Hi all.
I am trying to become acquainted with chromium memory tracing infrastructure.
I am trying to record and symbolize heap dump as described in https://chromium.googlesource.com/chromium/src/+/lkcr/docs/memory-infra/heap_profiler.md
I have successfully recorded memory trace with heap dump and have problem with symbolizing it.
According to instruction I am performing "./third_party/catapult/tracing/bin/symbolize_trace <path_to_trace>"
I get following output
"c:\Workspace\chrome\src>python "third_party/catapult/tracing/bin/symbolize_trace" C:\Workspace\Bugs\91887\trace_with_heap_dump.json.gz
Reading trace file...
Trace loaded for Windows NT/70.0.3535.3
Traceback (most recent call last):
File "third_party/catapult/tracing/bin/symbolize_trace", line 17, in <module>
sys.exit(symbolize_trace.main(sys.argv[1:]))
File "c:\Workspace\chrome\src\third_party\catapult\tracing\tracing\extras\symbolizer\symbolize_trace.py", line 1678, in main
options.cloud_storage_bucket)
File "c:\Workspace\chrome\src\third_party\catapult\tracing\tracing\extras\symbolizer\symbolize_trace.py", line 1549, in FetchAndExtractSymbolsWin
if not cloud_storage.Exists(cloud_storage_bucket, gcs_folder):
File "c:\Workspace\chrome\src\third_party\catapult\common\py_utils\py_utils\cloud_storage.py", line 203, in Exists
_RunCommand(['ls', 'gs://%s/%s' % (bucket, remote_path)])
File "c:\Workspace\chrome\src\third_party\catapult\common\py_utils\py_utils\cloud_storage.py", line 159, in _RunCommand
raise GetErrorObjectForCloudStorageStderr(stderr)
py_utils.cloud_storage.PermissionError: Attempted to access a file from Cloud Storage but you don't have permission. To configure your credentials:
1. Run "c:\Workspace\chrome\src\third_party\catapult\third_party\gsutil\gsutil config" and follow its instructions.
2. If you have a @google.com account, use that account.
3. For the project-id, just enter 0."
My problem is that after performing all actions in steps 1,2,3, authorizing, entering code for gsutil and project-id=0 I still get the same PermissionError.
I have tried on my win and mac and get the same PermissionError.
Did anyone successfully tried to symbolize heap dumps outside of chromium team?
What I can do to investigate problem?
--
WBR, Alexander Yashkin.
Hi all.
I am trying to become acquainted with chromium memory tracing infrastructure.
I am trying to record and symbolize heap dump as described in https://chromium.googlesource.com/chromium/src/+/lkcr/docs/memory-infra/heap_profiler.md
I have successfully recorded memory trace with heap dump and have problem with symbolizing it.
According to instruction I am performing "./third_party/catapult/tracing/bin/symbolize_trace <path_to_trace>"
I get following output
"c:\Workspace\chrome\src>python "third_party/catapult/tracing/bin/symbolize_trace" C:\Workspace\Bugs\91887\trace_with_heap_dump.json.gz
Reading trace file...
Trace loaded for Windows NT/70.0.3535.3
Traceback (most recent call last):
File "third_party/catapult/tracing/bin/symbolize_trace", line 17, in <module>
sys.exit(symbolize_trace.main(sys.argv[1:]))
File "c:\Workspace\chrome\src\third_party\catapult\tracing\tracing\extras\symbolizer\symbolize_trace.py", line 1678, in main
options.cloud_storage_bucket)
File "c:\Workspace\chrome\src\third_party\catapult\tracing\tracing\extras\symbolizer\symbolize_trace.py", line 1549, in FetchAndExtractSymbolsWin
if not cloud_storage.Exists(cloud_storage_bucket, gcs_folder):
File "c:\Workspace\chrome\src\third_party\catapult\common\py_utils\py_utils\cloud_storage.py", line 203, in Exists
_RunCommand(['ls', 'gs://%s/%s' % (bucket, remote_path)])
File "c:\Workspace\chrome\src\third_party\catapult\common\py_utils\py_utils\cloud_storage.py", line 159, in _RunCommand
raise GetErrorObjectForCloudStorageStderr(stderr)
py_utils.cloud_storage.PermissionError: Attempted to access a file from Cloud Storage but you don't have permission. To configure your credentials:
1. Run "c:\Workspace\chrome\src\third_party\catapult\third_party\gsutil\gsutil config" and follow its instructions.
2. If you have a @google.com account, use that account.
3. For the project-id, just enter 0."
My problem is that after performing all actions in steps 1,2,3, authorizing, entering code for gsutil and project-id=0 I still get the same PermissionError.
I have tried on my win and mac and get the same PermissionError.
Did anyone successfully tried to symbolize heap dumps outside of chromium team?
What I can do to investigate problem?
--
WBR, Alexander Yashkin.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/368691535641876%40sas1-bf4ab558af9f.qloud-c.yandex.net.
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/368691535641876%40sas1-bf4ab558af9f.qloud-c.yandex.net.