Closed
Bug 1236343
Opened 9 years ago
Closed 9 years ago
Allow Windows dump_syms to work with unregistered msdiaNNN.dll
Categories
(Toolkit :: Crash Reporting, defect)
Toolkit
Crash Reporting
Tracking
()
RESOLVED
FIXED
mozilla47
People
(Reporter: poiru, Assigned: poiru)
References
Details
Attachments
(1 file)
For VS2015, we will *not* install VS2015 onto the builders. Instead, we will use tooltool to download a packaged VS install like we do with clang. dump_syms does not like this because its `CoCreateInstance(CLSID_DiaSource)` relies on msdia140.dll being registered on the system.
The DIA SDK includes a helpful NoRegCoCreate function that allows one to load and use msdia140.dll as long as its in the path. We should use it.
Assignee | ||
Comment 1•9 years ago
|
||
Because tools/windows/symupload/symupload.cc uses `nullptr` (which
requires VS2010), the CLSID comparison is only performed for msdia100.dll
and later. When compiling with an older (or future) CLSID_DiaSource, we
retain the existing behaviour (i.e. fail if CoCreateInstance fails).
---
ted, this is a patch for Breakpad master. Can you review and land it for me? I can adjust and land the patch for mozilla-central after that.
Attachment #8703427 -
Flags: review?(ted)
Comment 2•9 years ago
|
||
I think we require VC2013 or newer to build Breakpad now, but I'm not 100% sure. Can you upload this patch to
http://codereview.chromium.org/ ? The Google folks don't like it when I review patches in Bugzilla. :-/
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #2)
> I think we require VC2013 or newer to build Breakpad now, but I'm not 100%
> sure. Can you upload this patch to
> http://codereview.chromium.org/ ? The Google folks don't like it when I
> review patches in Bugzilla. :-/
Done: https://codereview.chromium.org/1601513002
Comment 4•9 years ago
|
||
Landed upstream:
https://chromium.googlesource.com/breakpad/breakpad/+/1e24e66fbbc8855b93932988769c5267c265fc8d
Feel free to cherry-pick this into mozilla-central.
Assignee | ||
Updated•9 years ago
|
Attachment #8703427 -
Flags: review?(ted)
Assignee | ||
Comment 5•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/16f3d1ce559a0c9efe5068ae8fc7a84e959b52e5
Bug 1236343 - Cherry-pick upstream Breakpad commit "Try loading msdiaNNN.dll if CoCreateInstance(CLSID_DiaSource) fails". r=ted
Comment 6•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•