Skip to content

Commit f2036c7

Browse files
committed
Auto merge of #40769 - alexcrichton:osx-crash-logs, r=nikomatsakis
travis: See if OSX generates crash dumps I know for a fact we've had sccache segfault on various platforms and we've also historically had a lot of problems with the linker on OSX. Let's just poke around in the crash log directory to see if anything exists. If in the future we see a build we think segfaulted *and* there's contents here then we can add some bits that actually print out the logs.
2 parents 366386c + 37fd132 commit f2036c7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,21 @@ after_failure:
153153
echo "#### Build failed; Disk usage after running script:";
154154
df -h;
155155
du . | sort -nr | head -n100
156+
157+
# One of these is the linux sccache log, one is the OSX sccache log. Instead
158+
# of worrying about what system we are just cat both. One of these commands
159+
# will fail but that's ok, they'll both get executed.
156160
- cat obj/tmp/sccache.log
157161
- cat /tmp/sccache.log
158162

163+
# Random attempt at debugging currently. Just poking around in here to see if
164+
# anything shows up.
165+
- ls $HOME/Library/Logs/DiagnosticReports/
166+
167+
# attempt to debug anything killed by the oom killer on linux, just to see if
168+
# it happened
169+
- dmesg | grep -i kill
170+
159171
# Save tagged docker images we created and load them if they're available
160172
before_cache:
161173
- docker history -q rust-ci |

0 commit comments

Comments
 (0)