GNOME Bugzilla – Bug 675705
Bad file descriptor error with --list and cancel
Last modified: 2021-05-25 17:45:37 UTC
with current git head one gets bad file descriptor errors in an endless loop when one cancels in a --list echo "file" | src/zenity --list --title "Search Results" --text "Finding all header files.." --column "Files" (zenity:5422): GLib-WARNING **: /build/buildd/glib2.0-2.32.1/./glib/giounix.c:411Error while getting flags for FD: Bad file descriptor (9) this is apparently due to the channel still being used in zenity_tree_handle_stdin after g_io_channel_shutdown was called on it
I didn't find a solution yet for this issue. Actually, I was able to do a workaround, however, with the workaround the bug #592195 came back. If you know a way to fix it, please send a patch. Meanwhile I'll keep trying.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/zenity/-/issues/ Thank you for your understanding and your help.