Skip to content

Instantly share code, notes, and snippets.

View jerinphilip's full-sized avatar
🏡

Jerin Philip jerinphilip

🏡
View GitHub Profile
@kudaba
kudaba / gh_actions_crash.md
Created November 12, 2019 05:11
Github actions: How to capture a crash dump

If an application is crashing during a github actions run then you can use this guide to capture the core as an artifact for debugging.

This guide was developed to debug Mac crashes specifically. It should mostly apply to Linux as well but getting dumps from Windows is unknown for now.

Mac / Linux

By default these systems will not be in a state where they are recording core dumps, and even when enabled you need to run with elevated permissions for a core to even be written. To capture dumps you need to do the following:

package com.example.zeus.neatometer;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.util.AttributeSet;
import android.view.MotionEvent;
;(function() {
var SCROLL_HEIGHT = 1e20;
function final_greeting() {
alert("Share this to make Felicity Awesome!");
}
function scrollToBottom(el, cb) {
// Scroll to the bottom of target el
var x = setInterval(function() {