File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,8 +111,34 @@ jobs:
111111 ASAN_OPTIONS : " detect_leaks=0:abort_on_error=1:strict_string_checks=1:check_initialization_order=1"
112112 UBSAN_OPTIONS : " print_stacktrace=1:halt_on_error=1"
113113 run : |
114- ctest --test-dir build-arm64 --output-on-failure || \
114+ set +e
115+ ctest --test-dir build-arm64 --output-on-failure
116+ rc=$?
117+ if [ $rc -ne 0 ]; then
115118 ctest --test-dir build-arm64 --rerun-failed --output-on-failure
119+ rc=$?
120+ fi
121+ exit $rc
122+
123+ - name : Debug arm64 segfaults
124+ if : failure()
125+ shell : bash
126+ env :
127+ ME_DSL_JIT : ${{ matrix.me_dsl_jit }}
128+ run : |
129+ set +e
130+ for t in test_dsl_jit_runtime_cache test_dsl_syntax; do
131+ exe="build-arm64/tests/${t}"
132+ if [ ! -x "$exe" ]; then
133+ continue
134+ fi
135+ echo "=== gdb backtrace for ${t} (ME_DSL_JIT=${ME_DSL_JIT}, sanitize=${{ matrix.sanitize }}) ==="
136+ gdb -q -batch \
137+ -ex "set pagination off" \
138+ -ex "run" \
139+ -ex "thread apply all bt full" \
140+ --args "$exe" || true
141+ done
116142
117143 miniexpr-wasm32 :
118144 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments