Foot Version
foot version: 1.26.1 +pgo +ime +graphemes +toplevel-tag +blur -assertions
TERM environment variable
xterm-256color
Compositor Name and Version
Hyprland 0.54.3
Distribution
Arch Linux (Omarchy)
Terminal multiplexer
None
Shell, TUI, application
zshrc
Server/standalone mode
- Standalone
- Server
Foot config
[main]
include=~/.config/omarchy/current/theme/foot.ini
term=xterm-256color
font=Berkeley Mono:size=10
pad=14x14
initial-window-mode=windowed
workers=0
[scrollback]
lines=10000
[cursor]
style=block
blink=no
[key-bindings]
clipboard-copy=Control+Insert
primary-paste=none
clipboard-paste=Shift+Insert
Description of Bug and Steps to Reproduce
Launching opencode inside foot reliably crashes foot with SIGABRT. Root cause appears to be an xsnprintf buffer overflow inside foot itself
Steps to reproduce:
foot -d info -- opencode
Foot opens, renders briefly, then aborts (exit 134).
Relevant logs, stacktraces, etc.
info: main.c:427: version: 1.26.1 +pgo +ime +graphemes +toplevel-tag +blur -assertions
info: main.c:434: arch: Linux x86_64/64-bit
info: main.c:451: locale: en_US.UTF-8
info: config.c:3724: loading configuration from /home/xxx/.config/foot/foot.ini
info: config.c:905: imported sub-configuration from /home/xxx/.config/omarchy/current/theme/foot.ini
info: fcft.c:358: fcft: 3.3.3 +graphemes +runs +svg(nanosvg) -assertions
info: fcft.c:397: fontconfig: 2.17.1, freetype: 2.14.3, harfbuzz: 14.2.0, utf8proc: 2.11.3 (Unicode 17.0.0)
info: wayland.c:1838: warn: compositor does not implement the xdg-toplevel-icon protocol
info: wayland.c:1852: DP-4: 5120x2880+0x0@60Hz StudioDisplay 26.96" scale=2, DPI=217.90/217.90
info: shm.c:1061: using 8-bit RGB surfaces
info: wayland.c:2123: requesting SSD decorations
info: terminal.c:856: cell width=16, height=33
info: terminal.c:706: using 0 rendering threads
info: wayland.c:1182: using SSD decorations
info: terminal.c:1513: gamma-correct blending: disabled
err: xsnprintf.c:42: xvsnprintf: No buffer space available
Coredump
PID: 10688 (foot)
Signal: 6 (ABRT)
Command Line: foot --working-directory=/home/xxx
Stack (stripped — frames #3–#10 in foot, called via libc abort):
#0 libc.so.6 + 0x9a29c
#1 raise (libc.so.6 + 0x3e7d0)
#2 abort (libc.so.6 + 0x25681)
#3 /usr/bin/foot + 0x3a684 ← likely xsnprintf.c:42 die path
#4 /usr/bin/foot + 0x80cd
#5 /usr/bin/foot + 0x3c5f3
#6 /usr/bin/foot + 0x12096
#7 /usr/bin/foot + 0x45be0
#8 libc.so.6 + 0x27741
#9 __libc_start_main
#10 /usr/bin/foot + 0x42635