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 387260 - hang in zenity
hang in zenity
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: gtkdev
gtkdev
: 388776 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-12-18 19:21 UTC by Christian Persch
Modified: 2006-12-22 23:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix (1.22 KB, patch)
2006-12-19 15:17 UTC, Christian Persch
none Details | Review

Description Christian Persch 2006-12-18 19:21:42 UTC
With glib HEAD, I get 100% CPU load with the following command after 1 second (when zenity is trying to exit):

$ sleep 1 | zenity --notification --listen

(gdb) where
  • #0 g_main_context_query
    at gmain.c line 2464
  • #1 g_main_context_iterate
    at gmain.c line 2663
  • #2 g_main_loop_run
    at gmain.c line 2885
  • #3 gtk_main
    at gtkmain.c line 1148

Comment 1 Christian Persch 2006-12-19 15:17:25 UTC
Created attachment 78626 [details] [review]
fix

Due to a broken configure check, BROKEN_POLL got defined.

(Btw, the comments refer to OSX, shouldn't this test only be run on OSX then?)
Comment 2 Matthias Clasen 2006-12-19 15:28:48 UTC
Thanks, I'll wait a bit for more fallout, then do a followup release
to fix this.

2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Fix the broken poll test.  (#387260,
        Christian Persch)

Comment 3 Kees Cook 2006-12-22 23:23:30 UTC
*** Bug 388776 has been marked as a duplicate of this bug. ***