[fxruby-users] FXRuby and multithreading

Gonzalo Garramuno ggarra at advancedsl.com.ar
Mon Sep 12 17:02:57 EDT 2005

I can confirm this bug, under FXRuby1.4.2.  Under 1.2, it seems to work

    @clockThread = Thread.new(@clockLabel) { |clockLabel|
      while true
        clockLabel.text = Time.now.strftime("%I:%M:%S %p")
 GC.start  ### new addition

will cause a segfault.  This seems akin to the segfaults I've been seeing
with IFMapper whenever I called the garbage collector, so the problem may be

----- Original Message ----- 
From: <ujb1 at gmx.de>
To: <fxruby-users at rubyforge.org>
Sent: Friday, September 02, 2005 5:27 AM
Subject: [fxruby-users] FXRuby and multithreading

> Hello,
> the problem can be reproduced with the groupbox.rbw example:
> - take the example file groupbox.rbw
> - add a GC.start in the clockThread
> - start the programm
> - Open the About dialog

More information about the fxruby-users mailing list