Where to find chrome.dll.pdb for official builds?

3,155 views
Skip to first unread message

Guillaume Renard

unread,
Sep 28, 2021, 5:12:05 PM9/28/21
to Chromium-dev
Hi,

I'm trying to debug a crash dump in Visual Studio (got it from CrashPad folder, following a STATUS_BREAKPOINT error on a page).

Visual Studio manages to pick up the symbols for chrome.exe, but not chrome.dll.


Visual Studio gives me this message when digging in the callstack:

no.symbols.loaded.png

Where can I find this pdb file?

Bruce Dawson

unread,
Sep 28, 2021, 10:30:14 PM9/28/21
to Chromium-dev, guillaum...@assima.net
I can't see anything wrong in your setup. Did you copy/paste the symbol server path? It's easy to get hard-to-spot typos.

I tested with UIforETW's retrievesymbols command, like this:

c:\src\github\UIforETW\bin>retrievesymbols 82e78c0614a6d29f4c4c44205044422e 1 chrome.dll.pdb
Looking for PDB file 82e78c0614a6d29f4c4c44205044422e 1 chrome.dll.pdb.
Found file - placed it in C:\symbols\chrome.dll.pdb\82E78C0614A6D29F4C4C44205044422E1\chrome.dll.pdb.

As you can see it found the PDB, so it has been published. Maybe there was a network problem on your end? You could try with windbg, or you could try using procmon to see if it can figure out why the PDB was not downloaded.

I always set a symbol server cache directory and it looks like you haven't. Maybe that would help? Sorry, just guessing.

Bruce Dawson

unread,
Sep 29, 2021, 11:56:46 AM9/29/21
to Guillaume Renard, Chromium-dev
Thanks for the update. I'm glad that it works but you are correct that these manual steps should not be needed. At this point it is clear that you are hitting some sort of Visual Studio bug or configuration issue.

FWIW, on my computer I find that Visual Studio, windbg, Windows Performance Analyzer, and procmon are all able to automatically download Chrome's symbols.

On Wed, Sep 29, 2021 at 1:29 AM Guillaume Renard <guillaum...@assima.net> wrote:
OK thanks for guiding me in the right direction.

For future reference, here is how I managed to download the PDBs for chrome.dll at the end (sorry maybe it's obvious to most people here, but it wasn't for me 😵).
  1. Downloaded UIforETW from https://github.com/google/UIforETW/releases 
  2. Added _NT_SYMBOL_PATH=SRV*C:\symbols*https://msdl.microsoft.com/download/symbols;SRV*C:\symbols*https://chromium-browser-symsrv.commondatastorage.googleapis.com
  3. Ran this in a terminal inside Visual Studio:
     > dumpbin /headers "C:\Program Files (x86)\Google\Chrome\Application\94.0.4606.61\chrome.dll" | findstr "RSDS date image"
             A836000 size of image
        614BDBF4 cv            27 09E33610  9E31C10    Format: RSDS, {93B17FC5-46DE-07D1-4C4C-44205044422E}, 1, chrome.dll.pdb
  4. Then ran this in the bin folder of the downloaded UIforETW release:
    > .\RetrieveSymbols.exe 93B17FC5-46DE-07D1-4C4C-44205044422E 1 chrome.dll.pdb
  1. Looking for PDB file 93B17FC546DE07D14C4C44205044422E 1 chrome.dll.pdb.
    Found file - placed it in C:\symbols\chrome.dll.pdb\93B17FC546DE07D14C4C44205044422E1\chrome.dll.pdb.
But I think it should work in Visual Studio too without having to manually download the PDBs, provided that the _NT_SYMBOL_PATH environment variable is set correctly.

Thanks again


--
Bruce Dawson, he/him

Guillaume Renard

unread,
Sep 29, 2021, 1:29:47 PM9/29/21
to Chromium-dev, Bruce Dawson, Guillaume Renard
OK thanks for guiding me in the right direction.

For future reference, here is how I managed to download the PDBs for chrome.dll at the end (sorry maybe it's obvious to most people here, but it wasn't for me 😵).
  1. Downloaded UIforETW from https://github.com/google/UIforETW/releases 
  2. Added _NT_SYMBOL_PATH=SRV*C:\symbols*https://msdl.microsoft.com/download/symbols;SRV*C:\symbols*https://chromium-browser-symsrv.commondatastorage.googleapis.com
  3. Ran this in a terminal inside Visual Studio:
     > dumpbin /headers "C:\Program Files (x86)\Google\Chrome\Application\94.0.4606.61\chrome.dll" | findstr "RSDS date image"
             A836000 size of image
        614BDBF4 cv            27 09E33610  9E31C10    Format: RSDS, {93B17FC5-46DE-07D1-4C4C-44205044422E}, 1, chrome.dll.pdb
  1. Then ran this in the bin folder of the downloaded UIforETW release:
  1. > .\RetrieveSymbols.exe 93B17FC5-46DE-07D1-4C4C-44205044422E 1 chrome.dll.pdb
  1. Looking for PDB file 93B17FC546DE07D14C4C44205044422E 1 chrome.dll.pdb.
    Found file - placed it in C:\symbols\chrome.dll.pdb\93B17FC546DE07D14C4C44205044422E1\chrome.dll.pdb.
But I think it should work in Visual Studio too without having to manually download the PDBs, provided that the _NT_SYMBOL_PATH environment variable is set correctly.

Thanks again
On Wednesday, September 29, 2021 at 4:30:14 AM UTC+2 Bruce Dawson wrote:
Reply all
Reply to author
Forward
0 new messages