From: Joao P. <joa...@ya...> - 2003-06-25 04:21:28
|
Yo, --- Joao Pedrosa <joa...@ya...> wrote: > > Hey, > > --- Joao Pedrosa <joa...@ya...> wrote: > > Hey all, > > > > I think I have found a bug. When I click to expand > > the > > "List" items and click again to collapse them very > > fast, > > it crashes with the following message: > > > > [dewd@localhost t_]$ ruby structureview.rb > > structureview.rb:134: warning: multiple values for > a > > block parameter (3 for 1) > > structureview.rb:135: [BUG] Segmentation fault > > ruby 1.8.0 (2003-06-10) [i686-linux] > > > > I couldn't write a small sample that shows the > > problem, > > so the entire script follows in attach. > > > > Obs: > > It happens only when the following code is active: > > > > > At line 134: > > ----- > > @model.each{|v| > > p v > > } > > ----- > > > > Cheers, > > Joao > > First of all, sorry for posting it with the wrong > subject. > > I have tested it on Windows (Ruby-GTK+2 0.4), > and it doesn't happen. So perhaps not everyone > will see it. > > BTW, it looks great on Windows as well. > > Cheers, > Joao Ok, I have tested it with Ruby-GNOME2 0.5 release and the segmentation fault doesn't occur. As anonymous cvs sucks because sourceforge doesn't update it, then I can't really tell if my cvs version is broken or not. Summary: - The crash ocurred with the latest anonymous CVS version that I have plus the 3 files that Masao sent to me that fix the locale problem (RedHat 9). - The crash doesn't occur with Ruby-GNOME2 0.5 release (RedHat 9) and Ruby-GTK+2 0.4 (Windows) - For now, I guess we can forget about this problem, as long as in the next release it doesn't show up. Thanks, Joao __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |