Skip to content

Commit 73c7528

Browse files
authored
Rollup merge of #50644 - kennytm:read-appveyor-dump, r=alexcrichton
AppVeyor: Read back trace from crash dump on failure. This is an attempt to debug spurious access violations on Windows (#33434, #50604). Thanks to #50276, there should be minidumps to read when rustc segfault. (The implementation is based on <https://github.com/springmeyer/travis-coredump/blob/master/test.bat>.)
2 parents 50ad367 + c3b23b3 commit 73c7528

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: appveyor.yml

+5
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,11 @@ test_script:
211211
- set NO_CCACHE=1
212212
- sh src/ci/run.sh
213213

214+
on_failure:
215+
# Dump crash log
216+
- set PATH=%PATH%;"C:\Program Files (x86)\Windows Kits\10\Debuggers\X64"
217+
- if exist %LOCALAPPDATA%\CrashDumps for %%f in (%LOCALAPPDATA%\CrashDumps\*) do cdb -c "k;q" -G -z "%%f"
218+
214219
branches:
215220
only:
216221
- auto

0 commit comments

Comments
 (0)