Skip to content
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

cdb converts the symbol server path to lower case and fails to get symbol file #212

Open
cerrv opened this issue Aug 1, 2024 · 2 comments

Comments

@cerrv
Copy link

cerrv commented Aug 1, 2024

cdb is converting the below symbol server path to lowercase while doing a get request and fails to download the symbols files.
symbol server: https://www.objectstorage.com/p/O_QVRdUSbQVUFTsE42rImmo2YEExCtj3zYHacHnPtjJEtbsA8HoV1jXr3UPGD/b/symbolsbucket/o

cdb command:

C:\Program Files (x86)\Windows Kits\10\Debuggers\x64>cdb -y "srv*C:\sym*https://www.objectstorage.com/p/O_QVRdUSbQVUFTsE42rImmo2YEExCtj3zYHacHnPtjJEtbsA8HoV1jXr3UPGD/symbolsbucket"  -z "C:\crash\Crsh_Jul082024_12430845.dmp" -lines -c "!sym noisy; .reload /f about.dll; q" > C:\temp\cdb.txt

sym noisy log shows the url

SYMSRV:  HTTPGET: /p/o_qvrdusbqvuftse42rimmo2yeexctj3zyhachnptjjetbsa8hov1jxr3upgd/symbolsbucket/about.dll/642C308F4c000/about.dll
SYMSRV:  HttpQueryInfo: 80190191 - HTTP_STATUS_DENIED

Confirmed that the url is valid and file gets downloaded:

wget https://www.objectstorage.com/p/O_QVRdUSbQVUFTsE42rImmo2YEExCtj3zYHacHnPtjJEtbsA8HoV1jXr3UPGD/symbolsbucket/about.dll/642C308F4c000/about.dll

but same url below request fails:

wget https://www.objectstorage.com/p/o_qvrdusbqvuftse42rimmo2yeexctj3zyhachnptjjetbsa8hov1jxr3upgd/symbolsbucket/about.dll/642C308F4c000/about.dll

The difference between the 2 urls is the failed instance uses lowercase for folders path.
The symbol server store is a OCI object storage bucket. It expects the folder path to be in the original case. debugger is modifying the original symbol path and hence symbol file download is failing.

Is there any workaround. Please fix asap.

@lzybkr
Copy link
Collaborator

lzybkr commented Aug 9, 2024

Case shouldn't matter in a url and we're concerned that a change here could break something unexpectedly. We're not aware of any workarounds other than updating your symbol server to be case insensitive.

@DavidCF77
Copy link

Case does matter in a URL if the server is an UNIX or Linux box where Upper and Lowercase characters are different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants