export TERM=xterm-mono
export DISPLAY=:0
export GALLIUM_DRIVER=llvmpipe
gdb -q \
    -ex 'set width 0' \
    -ex 'set pagination off' \
    -ex 'directory /home/benutzer/source/libgl1-mesa-dri/orig/mesa-20.3.4/src' \
    -ex 'directory /home/benutzer/source/asymptote/orig/asymptote-2.69+ds' \
    -ex 'display/i $pc' \
    \
    -ex 'tb camp::picture::shipout3' \
    -ex 'run' \
    \
    -ex 'tb trEndTile' \
    -ex 'set follow-fork-mode child' \
    -ex 'cont' \
    \
    -ex 'set follow-fork-mode parent' \
    -ex 'b builtin_builder::~builtin_builder' \
    -ex 'cont' \
    \
    -ex 'bt' \
    -ex 'print mem_ctx' \
    -ex 'print this' \
    -ex 'b builtin_builder::release' \
    -ex 'cont' \
    \
    -ex 'bt' \
    -ex 'print mem_ctx' \
    -ex 'print this' \
    -ex 'cont' \
    \
    -ex 'bt' \
    -ex 'cont' \
    \
    -ex 'bt' \
    -ex 'kill' \
    -ex 'quit' \
    \
    --args /usr/bin/asy -config "" -render=4 -f png -o B_b.png B_b.asy
