If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
gnome-perl | Gtk2 | Ver: unspecified
Summary: -threads-init disables gtk2-perl
GNOME version: Unspecified
GNOME milestone: Unspecified
The following simple program does not run, it displays a window but does not
draw anything in the window:
use Gtk2 qw( -init -threads-init );
die "Glib::Object thread safety failed"
my $win = Gtk2::Window->new();
my $but = Gtk2::Button->new("Start Thread");
# Start the main loop.
If you remove the "-threads-init" line then the program works fine. I also
tried using the Gtk2::Gdk::Threads->init and Gtk2->init calls instead; the
results are the same.
I have the latest version of everything:
ActiveState Perl 5.8.8-820
Gtk2 2.10.11 (windows runtime from
On a fresh install of Windows XP SP2 (I did install older versions of the
packages which I removed and upgraded to the most recent versions to test for
this bug report).
Of course this program does nothing useful, but it is stripped down from a
larger more complicated program where I am using threads. Notice that this
program doesn't use threads, it simply initializes them. My large program has
exactly the same behavior and it does use threads.
Thanks for all your hard work!
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=426729.