Hi,
I’ve noticed that my program booh lacks screen refresh on ubuntu
karmic (rg2 0.19.0) when calling backend programs. I fork and use ruby
threads to monitor the progress of the backend programs (and
pulse/increment progressbars). I use mandriva (rg2 0.19.2) and I have
no problem.
That simple program seems to reproduce:
http://zarb.org/~gc/t/threaded-example.rb
E.g. when the button is clicked in that example program, the interface
becomes unresponsive for 3 seconds on ubuntu (the button remains
“pushed” and nothing more happens) but it should not. Remove the
Thread{} waiting for process completion and it will workaround the
problem (but I need to wait for process completion in my real program,
of course).
I suspect one of the fix of rg2 0.19.2 (released Wed, Sep 23, 2009) to
be the culprit:
- [#2862022] fix multi thread blocking with Ruby
1.8.6-p368 or later and 1.8.7-p173 or later.
[Roy W., Andrea D., Kouhei S.]
Any Ubuntu-aware person can suggest a solution? Would the 0.19.0 be
fixed or upgraded?
Thanks,
–
Guillaume C. - http://zarb.org/~gc/
Hi Guillaume,
I also have the same problem on ubuntu karmic, but did not find the
solution.
I just tried my tool gnms (http://gnms.rubyforge.org/) yesterday, but
it seems to freeze in some thread on my ubuntu.
If you are right I believe the patch should be removed/modified.
Regards,
david
On Mon, Jan 11, 2010 at 5:25 PM, Guillaume C.
If you are right I believe the patch should be removed/modified.
there’s no patch to remove/modify. the commit I talked about was done
between 0.19.1 and 0.19.2, and karmic is stalled on 0.19.0. either the
commit should be used on 0.19.0 or (better) the whole should be
upgraded.
–
Guillaume C. - Guillaume Cottenceau
oh ok, I know it’s hard to get ruby-gnome2 updated in Ubuntu, maybe we
should fill a bug entry in launchpad … and see
On Tue, Jan 12, 2010 at 3:29 PM, Guillaume C.
On Tue, Jan 12, 2010 at 4:27 PM, David M.
[email protected] wrote:
oh ok, I know it’s hard to get ruby-gnome2 updated in Ubuntu, maybe we
should fill a bug entry in launchpad … and see
I was hoping an ubuntu developer/packager was listening in this list…
but maybe not…
–
Guillaume C. - Guillaume Cottenceau