
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Somebody who knows how to debug FXRuby please help…
The following 13 lines of code will cause a seg fault immediately on
Solaris/Ubuntu. I can’t make it any simpler than this. The code dies
in the garbage collect mark code trying to get the focus window from FXApp (apparently
because memory has become corrupted).
Thanks,
Ryan
require 'rubygems'
require 'thread'
require 'fox16'
include Fox
Thread.new do
loop do
GC.start
end
end
application = FXApp.new("NA", "NA")
application.create
FXMessageBox.warning(FXApp.instance, MBOX_OK, 'Warning!',
'Are you sure?')
application.run
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users