Data streamed into a --list dialog from a named pipe causes segmentation fault on Fedora 38/zenity 3.99.1
Test surface: Fedora-Workstation-Live-x86_64-38-1.6.iso
Upgraded zenity: sudo dnf upgrade --refresh --advisory=FEDORA-2023-424fb4c3dd
zenity version: 3.99.1
Given some named pipe silently receiving new entries in the background, and a zenity list (table) dialog reading the fifo in a loop, the application segfaults after the first entry is loaded. On distributions running an earlier version (e.g., 3.44.1), this bug is not present and data can be streamed into a list.
Below, a minimum reproducible example:
#!/usr/bin/env bash
fifo=myfifo
[[ -p $fifo ]] && rm $fifo
mkfifo $fifo
write_fifo(){
while true; do
printf "Test\n" >> $fifo
sleep 1s
done
}
write_fifo &
pid=$!
zenity \
--list \
--column=AAA \
--width=1280 \
--height=800 \
< <(while true; do cat $fifo; done)
kill -9 $pid
rm $fifo