Segmentation fault when encountering an empty line with --list
Running
echo $'DEVICE1\nNAME1\nDEVICE2\nNAME2\n' | zenity --list --column=device --column=name
Causes a segmentation fault:
(zenity:223657): Zenity-CRITICAL **: 16:08:59.251: zenity_tree_row_get_item: assertion 'index < row->items->len' failed
zsh: done echo $'DEVICE1\nNAME1\nDEVICE2\nNAME2\n' |
zsh: segmentation fault (core dumped) zenity --list --column=device --column=name
However, removing the trailing newline makes it work again:
echo $'DEVICE1\nNAME1\nDEVICE2\nNAME2' | zenity --list --column=device --column=name
Zenity used to work with a trailing newline some time ago, so this is a regression.