Welcome to mirror list, hosted at ThFree Co, Russian Federation.

after_failure.sh « build - github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cf4b195a33b35fef69dd37bd6f35a8d98daf0f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

shopt -s nullglob
export LC_ALL=C
for i in /tmp/core_*.*; do
    if [ -f "$i" -a "$(file "$i" | grep -o 'core file')" ]; then
        gdb -q /home/travis/.phpenv/versions/`php-config --version`/bin/php "$i" <<EOF
set pagination 0
backtrace full
info registers
x/16i \$pc
thread apply all backtrace
quit
EOF
    fi
done