Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Issue 2559633002: [DXVAVDA] Add a vectored exception handler so a dump is reported on driver error. (Closed)

Created:
4 years ago by jbauman
Modified:
4 years ago
CC:
chromium-reviews, posciak+watch_chromium.org, piman+watch_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DXVAVDA] Add a vectored exception handler so a dump is reported on driver error. The MS VP9 MFT swallows driver exceptions and later hangs because it gets into a weird state. Instead the vectored exception handler can upload a crash dump so we can get more actionable feedback. BUG=636158 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/3a43b1fab59f70110154fd062ba908605638188a Cr-Commit-Position: refs/heads/master@{#437667}

Patch Set 1 #

Patch Set 2 : make sure crashpad runs #

Patch Set 3 : fix build #

Total comments: 4

Patch Set 4 : don't crash, use tls #

Total comments: 1

Patch Set 5 : change to 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -5 lines) Patch
M media/gpu/dxva_video_decode_accelerator_win.cc View 1 2 3 4 6 chunks +57 lines, -5 lines 0 comments Download

Messages

Total messages: 44 (29 generated)
jbauman
4 years ago (2016-12-08 03:12:57 UTC) #13
scottmg
https://codereview.chromium.org/2559633002/diff/40001/media/gpu/dxva_video_decode_accelerator_win.cc File media/gpu/dxva_video_decode_accelerator_win.cc (right): https://codereview.chromium.org/2559633002/diff/40001/media/gpu/dxva_video_decode_accelerator_win.cc#newcode27 media/gpu/dxva_video_decode_accelerator_win.cc:27: #include "base/debug/dump_without_crashing.h" Instead of this, #include "third_party/crashpad/crashpad/client/crashpad_client.h" https://codereview.chromium.org/2559633002/diff/40001/media/gpu/dxva_video_decode_accelerator_win.cc#newcode188 media/gpu/dxva_video_decode_accelerator_win.cc:188: ...
4 years ago (2016-12-08 17:18:32 UTC) #16
scottmg
I was wondering about adding a global VEH in addition to the UEF that we ...
4 years ago (2016-12-08 17:21:46 UTC) #17
brucedawson
On 2016/12/08 17:21:46, scottmg wrote: > I was wondering about adding a global VEH in ...
4 years ago (2016-12-08 21:27:10 UTC) #18
scottmg
On 2016/12/08 21:27:10, brucedawson wrote: > On 2016/12/08 17:21:46, scottmg wrote: > > I was ...
4 years ago (2016-12-08 21:39:00 UTC) #19
brucedawson
> Anyway, sort of off-topic here. The way John added a localized VEH here seems ...
4 years ago (2016-12-08 21:52:09 UTC) #20
scottmg
On 2016/12/08 21:52:09, brucedawson wrote: > > Anyway, sort of off-topic here. The way John ...
4 years ago (2016-12-08 22:14:48 UTC) #21
jbauman
PTAL. I've made it only dump instead of crash, so we can get more information ...
4 years ago (2016-12-08 23:51:58 UTC) #27
scottmg
lgtm https://codereview.chromium.org/2559633002/diff/60001/media/gpu/dxva_video_decode_accelerator_win.cc File media/gpu/dxva_video_decode_accelerator_win.cc (right): https://codereview.chromium.org/2559633002/diff/60001/media/gpu/dxva_video_decode_accelerator_win.cc#newcode213 media/gpu/dxva_video_decode_accelerator_win.cc:213: handler_ = AddVectoredExceptionHandler(TRUE, &VectoredCrashHandler); 1 instead of TRUE ...
4 years ago (2016-12-09 00:05:03 UTC) #28
jbauman
Also sandersd@ as media/ OWNERS.
4 years ago (2016-12-09 00:38:42 UTC) #32
sandersd (OOO until July 31)
lgtm
4 years ago (2016-12-09 01:44:57 UTC) #33
sandersd (OOO until July 31)
lgtm
4 years ago (2016-12-09 01:44:58 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2559633002/80001
4 years ago (2016-12-09 21:51:58 UTC) #39
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-09 22:07:39 UTC) #42
commit-bot: I haz the power
4 years ago (2016-12-12 14:56:52 UTC) #44
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3a43b1fab59f70110154fd062ba908605638188a
Cr-Commit-Position: refs/heads/master@{#437667}

Powered by Google App Engine
This is Rietveld 408576698