After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 675705 - Bad file descriptor error with --list and cancel
Bad file descriptor error with --list and cancel
Status: RESOLVED OBSOLETE
Product: zenity
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-08 21:26 UTC by Julian Taylor
Modified: 2021-05-25 17:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julian Taylor 2012-05-08 21:26:50 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
Comment 1 Arx Cruz 2012-05-09 02:13:47 UTC
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.
Comment 2 André Klapper 2021-05-25 17:45:37 UTC
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.