FS#8942 - ruby-libglade causes crash in gnome-art.

Attached to Project: AUR web interface
Opened by Christoper Daley (luciferin) - Sunday, 16 December 2007, 06:28 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 20 January 2008, 12:34 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 1.2.9
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Gnome-art will crash with the following output.

$ gnome-art
/usr/lib/ruby/site_ruby/1.8/libglade2.rb:105:in `guard_source_from_gc': undefined method `signal_connect' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/site_ruby/1.8/libglade2.rb:98:in `guard_sources_from_gc'
from /usr/lib/ruby/site_ruby/1.8/libglade2.rb:97:in `each'
from /usr/lib/ruby/site_ruby/1.8/libglade2.rb:97:in `guard_sources_from_gc'
from /usr/lib/ruby/site_ruby/1.8/gnome-art/ui/main_window.rb:606:in `initialize'
from /usr/lib/ruby/site_ruby/1.8/gnome-art/ui/main_window.rb:606:in `new'
from /usr/lib/ruby/site_ruby/1.8/gnome-art/ui/main_window.rb:606:in `init_glade'
from /usr/lib/ruby/site_ruby/1.8/gnome-art/ui/main_window.rb:771:in `initialize'
from /usr/lib/ruby/site_ruby/1.8/gnome-art/gnome_art.rb:130:in `new'
from /usr/lib/ruby/site_ruby/1.8/gnome-art/gnome_art.rb:130:in `main'
from /usr/bin/gnome-art:25


This solution has been proposed:
"Comment by: bjorn on 20070630 [10:37:27]
This bug needs patching of either ruby-art or ruby-libglade. Since ruby-art is no longer maintained, so somebody could try to file a bug report against ruby-libglade. One way to fix the problem is by inserting the following at line 103 in libglade2.rb (at the start of the "guard_source_from_gc" method):

return if source == nil

But I have no way of knowing whether this will have any unwanted side effects or whether it may be a good idea to check it for nil."

This task depends upon

Closed by  Roman Kyrylych (Romashka)
Sunday, 20 January 2008, 12:34 GMT
Reason for closing:  Not a bug
Comment by Christoper Daley (luciferin) - Sunday, 16 December 2007, 09:12 GMT
This has been fixed in the latest svn of ruby-libglade.
Comment by Greg (dolby) - Tuesday, 18 December 2007, 10:20 GMT
argh sorry for the closure request. ruby-libglade as well as gnome-art are community packages. its been reported at the wrong section
Comment by Christoper Daley (luciferin) - Tuesday, 18 December 2007, 16:40 GMT
Sorry.. I figured since their PKGBUILDS were in the AUR, my mistake.

Loading...