Your message dated Sun, 1 May 2016 22:41:13 +0200 with message-id <20160501204113.GD91435@sx> and subject line Re: #582043: libgtk2-ruby1.8: Ruby/GTK+ program spins has caused the Debian Bug report #582043, regarding libgtk2-ruby1.8: Ruby/GTK+ program spins around when other Ruby threads are executing to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 582043: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582043 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libgtk2-ruby1.8 Version: 0.19.3-2 Severity: normal The following program: ---------------------------------------- #!/usr/bin/ruby require 'gtk2' @window = Gtk::Window.new('Bogosity') @window.set_default_size(320, 240) @window.show def count() i = 0; loop { sleep 1; i += 1 } end @thread = Thread.new { count() } Gtk.main ---------------------------------------- does not properly block when no GTK+ input events are being received and the other thread is sleeping. It generates strace output (with strace -etrace=\!rt_sigprocmask) along the lines of the attached file; observe the repeated flips between select() and poll(), all with zero timeouts. Commenting out the @thread creation causes the GTK+ main loop to block (according to interactive strace) when no input events are coming to the window, and commenting out the Gtk.main and replacing it with << sleep 0.5; count() >> causes the Ruby threading engine to block when both threads are sleeping. Mixing the two causes a furious explosion of system calls. ---> Drake Wilson -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libgtk2-ruby1.8 depends on: ii libatk1-ruby1.8 0.19.3-2 ATK bindings for the Ruby language ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit ii libc6 2.10.2-7 Embedded GNU C Library: Shared lib ii libcairo2 1.8.8-2 The Cairo 2D vector graphics libra ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib ii libgdk-pixbuf2-ruby1.8 0.19.3-2 Gdk-Pixbuf 2 bindings for the Ruby ii libglib2.0-0 2.24.0-1 The GLib library of C routines ii libgtk2.0-0 2.20.0-3 The GTK+ graphical user interface ii libpango1-ruby1.8 0.19.3-2 Pango bindings for the Ruby langua ii libpango1.0-0 1.26.2-1 Layout and rendering of internatio ii libruby1.8 1.8.7.249-2 Libraries necessary to run Ruby 1. libgtk2-ruby1.8 recommends no packages. libgtk2-ruby1.8 suggests no packages. -- no debconf information
dpw-20100517-gtk-spin-1.strace.gz
Description: GNU Zip compressed data
--- End Message ---
--- Begin Message ---Closing this issue as it's fixed in at least (at the time of writing) in stable and newer. -- ,''`. Christian Hofstaedtler <[email protected]> : :' : Debian Developer `. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03 `-
--- End Message ---

