Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159707 - dev-ruby/ruby-libglade2 0.16.0 may crash applications
Summary: dev-ruby/ruby-libglade2 0.16.0 may crash applications
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL: http://ruby-gnome2.cvs.sourceforge.ne...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-02 05:04 UTC by Fab
Modified: 2007-01-03 12:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,3.29 KB, text/plain)
2007-01-02 07:30 UTC, Fab
Details
libglade2.rb patch (libglade2.patch,647 bytes, patch)
2007-01-02 07:34 UTC, Fab
Details | Diff
libglade2.rb patch (libglade2.patch,647 bytes, patch)
2007-01-02 07:37 UTC, Fab
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fab 2007-01-02 05:04:00 UTC
After upgrading ruby-libglade2 from 0.15.0 to 0.16.0, application could crash if the optional source is not assigned :

/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'

Solution have be done in the CVS tree.
Please, could you add this patch :
http://ruby-gnome2.cvs.sourceforge.net/ruby-gnome2/ruby-gnome2/libglade/lib/libglade2.rb?r1=1.17&r2=1.18&view=patch
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 06:44:42 UTC
Has zero in common w/ Gentoo Bugzilla product; read the descriptions.
Comment 2 Fab 2007-01-02 07:30:43 UTC
Created attachment 105171 [details]
emerge --info
Comment 5 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2007-01-02 18:21:57 UTC
CCing metalgod as he's currently maintaining ruby gtk bindings
Comment 6 Luis Medinas (RETIRED) gentoo-dev 2007-01-02 18:26:44 UTC
Yes the patch is fundamental. Thanks for the patch i'll add it asap.
Comment 7 Luis Medinas (RETIRED) gentoo-dev 2007-01-03 12:45:57 UTC
Patch Added to the tree.
Thanks for the heads up.