Skip to content

Commit

Permalink
continue debugging
Browse files Browse the repository at this point in the history
Signed-off-by: WANG Xuerui <[email protected]>
  • Loading branch information
xen0n committed Sep 21, 2024
1 parent 8d7845a commit d76d0bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion _functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ build_vmr_stage1() {
pushd "$vmr_root" > /dev/null

if [[ -n $CI ]]; then
strace -f --syscall-limit=100000 -e t='!sched_yield' ./.dotnet/dotnet build-server shutdown || true
strace -f --syscall-limit=5000 -e t='!sched_yield,mprotect,futex,mmap' -e t='%file,%process' ./.dotnet/dotnet build-server shutdown &
sleep 60
ls -alFR /tmp/.dotnet
lsof
wait
fi

local args=(
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ main() {
if [[ -n $CI ]]; then
group "debug dotnet shm"
ls -alF /tmp
ls -alF /tmp/.dotnet || true
ls -alFR /tmp/.dotnet || true

apt-get update && apt-get install strace
apt-get update && apt-get install strace lsof
endgroup
fi

Expand Down

0 comments on commit d76d0bd

Please sign in to comment.