Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This closes #1081.
Context
One of the biggest challenge while investigating the following issue has been that it is reliably reproducible only on certain users' environments.
One idea to accelerate the debugging is to ship debug symbol file for Mozc TIP DLL (e.g.
mozc_tip64.dll
) to users. Then we can ask the reporter to use tools like Process Explorer and Process Hacker to dump the call stack of the thread that got stuck.Description
With this commit we actually start deploying
mozc_tip64.dll.pdb
to users.The storage impact looks to be acceptable overall as long as we strip private symbols. Here are actual values taken in my local environment.
Mozc64.msi
: + 584 kBmozc_tip64.dll.pdb
: + 6,116 kBCaveats
This commit does not fully take care of Bazel build. While the symbol file is actually deployed, there remain the following known
issues only in Bazel build.
mozc_tip64.dll
ismozc_tip.pdb
rather thanmozc_tip64.dll.pdb
.Issue IDs
Steps to test new behaviors (if any)
A clear and concise description about how to verify new behaviors (if any).
%ProgramFiles(x86)%\Mozc\mozc_tip64.dll
withpeview.exe
included in Process Hacker.Here is the expected behavior.
![Image](https://private-user-images.githubusercontent.com/5861397/376416258-87272288-15e2-4c6e-94f6-606aed8046e3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5OTI1MTUsIm5iZiI6MTczODk5MjIxNSwicGF0aCI6Ii81ODYxMzk3LzM3NjQxNjI1OC04NzI3MjI4OC0xNWUyLTRjNmUtOTRmNi02MDZhZWQ4MDQ2ZTMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMDUyMzM1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI3MmM1M2U2NWZhMzY0ZWQ2NzEzZmUyYWJlZGEzYWYyYjAyYjAzZWQ3NmY3NjdkMzhmY2MxYjRjMGI4YTEzMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.kGmd8W6XPLZlYzN_vbMCOLPGrAA09lhN46-V2R9dIks)