dump_syms w/ Visual Studio Express 2017

771 views
Skip to first unread message

wst...@gmail.com

unread,
Dec 18, 2017, 4:02:27 PM12/18/17
to Crashpad-dev
Hello, I am migrating our build system from Visual Studio Express 2013 to 2017. In the past, since Visual Studio Express does not include ATL support, I use prebuilts version of dump_syms.exe from:

http://hg.mozilla.org/mozilla-central/file/tip/toolkit/crashreporter/tools/win32

Sadly it appears Mozilla still only provides a VS2013 version and no 2015 or 2017 version. As a result, when I try running the 1800 version I get the following error message:

CoCreateInstance CLSID_DiaSource {3BFCEA48-620F-4B6B-81F7-B9AF75454C7D} failed (msdia*.dll unregistered?)
Open failed

In the past when I asked it sounded like the plan was to replace both dump_syms and the mini stack dump walker on with new code but I don't think that has been completed or even bugun that this point. To add confusion this page indicates Visual Studio 2015 and 2017 are supported:

https://chromium.googlesource.com/crashpad/crashpad/+/HEAD/doc/developing.md

Indeed I have compiled and linked with crashpad with Visual Studio 2017. So my question is, does anyone have a version of dump_syms.exe for VS2017 available for download? Thanks.

Mark Mentovai

unread,
Dec 18, 2017, 4:32:41 PM12/18/17
to Will Stokes, Crashpad-dev

Hello, I am migrating our build system from Visual Studio Express 2013 to 2017. In the past, since Visual Studio Express does not include ATL support, I use prebuilts version of dump_syms.exe from:

http://hg.mozilla.org/mozilla-central/file/tip/toolkit/crashreporter/tools/win32

Sadly it appears Mozilla still only provides a VS2013 version and no 2015 or 2017 version. As a result, when I try running the 1800 version I get the following error message:

CoCreateInstance CLSID_DiaSource {3BFCEA48-620F-4B6B-81F7-B9AF75454C7D} failed (msdia*.dll unregistered?)
Open failed

That’s the UUID for msdia120.dll (and “1800” would agree with this). If you have that file anywhere, try putting it in the same directory as dump_syms, or run regsvr32 on it, and then try again.

In the past when I asked it sounded like the plan was to replace both dump_syms and the mini stack dump walker on with new code but I don't think that has been completed or even bugun that this point.

This project is in progress, although there’s scant evidence of it in this repository at the moment.
 
To add confusion this page indicates Visual Studio 2015 and 2017 are supported:

https://chromium.googlesource.com/crashpad/crashpad/+/HEAD/doc/developing.md

Indeed I have compiled and linked with crashpad with Visual Studio 2017. So my question is,  does anyone have a version of dump_syms.exe for VS2017 available for download? Thanks.

https://chromium.googlesource.com/breakpad/breakpad/+/master/src/tools/windows/binaries/ were recently rebuilt with MSVS 2015. It should want msdia140.dll.

wst...@gmail.com

unread,
Dec 18, 2017, 5:16:01 PM12/18/17
to Crashpad-dev, wst...@gmail.com
Thanks! msdia140.dll is installed and I was able to update the PATH so that it could be find. the new Chromium version you linked to works great. Awesome.
Reply all
Reply to author
Forward
0 new messages