# Re: Serious breakage in Ubuntu Edgy

**URL:** <https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012>\
**Category:** Ruby-Gnome 2\
**Created:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012 "2006-11-07T11:06:19Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/1 "2006-11-07T11:06:19Z")

</div>

Hi,

I compiled the CVS version today and it did _not_ fix the problem for  
me.

I no longer get warnings like these:

/usr/lib/ruby/1.8/glib2.rb: line 55  
GLib-GObject-CRITICAL \*\*:g\_boxed\_type\_register\_static: assertion  
`g_type_from_name (name) == 0' failed /usr/lib/ruby/1.8/glib2.rb: line 55 GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G\_TYPE\_IS\_BOXED (boxed\_type)’ failed  
GLib-GObject-CRITICAL \*\*:g\_object\_class\_install\_property: assertion  
`G\_IS\_PARAM\_SPEC (pspec)’ failed  
/usr/lib/ruby/1.8/glib2.rb: line 55

But I still am getting the warning:

warning: GRClosure invoking callback: already destroyed

which is described in this ubuntu bug:

[Bug #66623 “warning: GRClosure invoking callback: already destro...” : Bugs : ruby-gnome2 package : Ubuntu](https://launchpad.net/distros/ubuntu/+source/ruby-gnome2/+bug/66623)

This one is bad as none of the signals in my application are called.

One things to note about my application (Grism : [http://www.grism.org](http://www.grism.org))  
is that I use libglade, but i don’t set any signal handling in glade. I  
write the signals by hand (i.e i call mywidget.signal\_connect explicitly  
in my code). Don’t know if that makes a difference for this bug.

Any suggestions?  
Nick

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/2 "2006-11-07T11:06:21Z")

</div>

Hi,

On 11/6/06, Nicholas R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi,
> 
> I compiled the CVS version today and it did _not_ fix the problem for me.  
> [snip]
> 
> Any suggestions?  
> Nick

I just tested your application with my custom-compiled Ruby and  
Ruby-GNOME2 CVS, and for me I didn’t get any GRClosure warning, though  
the dialog box did seem to have some problem in its “close” button, as  
it didn’t seem to work, and after closed on the windows’s “x” button,  
the dialog could not be reopened again.

Besides that, I didn’t see the warnings, and the rest of the Tree View  
and Menu Options seemed responsive.

Here’s my env:

dewd@corvina:~$ ruby -v  
ruby 1.8.5 (2006-08-25) [i686-linux]  
dewd@corvina:~$ ruby -r gtk2 -e ‘p Gtk::VERSION’  
[2, 10, 6]  
dewd@corvina:~$ uname -a  
Linux corvina 2.6.17-10-386 #2 Fri Oct 13 18:41:40 UTC 2006 i686  
GNU/Linux  
Ubuntu 6.10 Edgy.

Cheers,  
Joao

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/3 "2006-11-07T11:06:43Z")

</div>

Take a look and see whether the patch I attached to the bug is applied  
on your system. Supposedly it was applied in CVS, and should fix the  
GRClosure thing.

On 11/6/06, Joao P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > 
> 
> ## I just tested your application with my custom-compiled Ruby and dewd@corvina:~$ ruby -v
> 
> Using Tomcat but need to do more? Need to support web services, security?  
> Get stuff done quickly with pre-integrated technology to make your job easier  
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo  
> [http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)
> 
> * * *
> 
> ruby-gnome2-devel-en mailing list  
> removed\_email\_address@domain.invalid  
> [ruby-gnome2-devel-en List Signup and Options](https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en)

–  
Protect your digital freedom and privacy, eliminate DRM, learn more at  
[http://www.defectivebydesign.org/what\_is\_drm](http://www.defectivebydesign.org/what_is_drm)

Ohad L.

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/4 "2006-11-07T11:06:50Z")

</div>

Yes, it is applied, but the GRClosure warnings are still there for me.

It is strange because there are a few things that seem to work  
(File-\>New-\>{Watchlist,Portfolio}; Double clicking on a sub-element in  
the treeview on the left [note: you have to add a watchlist/portfolio  
first]). However, most callbacks are not called and only give the  
GRClosure warning.

Here’s my env:

macbook: ~\> ruby -v  
ruby 1.8.4 (2005-12-24) [i486-linux]  
macbook: ~\> ruby -r gtk2 -e ‘p Gtk::VERSION’  
[2, 10, 6]  
macbook: ~\> uname -a  
Linux macbook 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686  
GNU/Linux  
Ubuntu 6.10 Edgy

Cheers,  
Nick

Ohad L. wrote:

> Take a look and see whether the patch I attached to the bug is  
> applied  
> on your system. Supposedly it was applied in CVS, and should fix the  
> GRClosure thing.
> 
> On 11/6/06, Joao P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Hi,
> > 
> > On 11/6/06, Nicholas R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> > 
> > > Hi,
> > > 
> > > I compiled the CVS version today and it did _not_ fix the problem  
> > > for me.  
> > > [snip]  
> > > But I still am getting the warning:
> > > 
> > > warning: GRClosure invoking callback: already destroyed
> > > 
> > > This one is bad as none of the signals in my application are  
> > > called.
> > > 
> > > One things to note about my application (Grism :  
> > > [http://www.grism.org](http://www.grism.org))  
> > > is that I use libglade, but i don’t set any signal handling in  
> > > glade. I  
> > > write the signals by hand (i.e i call mywidget.signal\_connect  
> > > explicitly  
> > > in my code). Don’t know if that makes a difference for this bug.
> > > 
> > > Any suggestions?  
> > > Nick  
> > > I just tested your application with my custom-compiled Ruby and  
> > > Ruby-GNOME2 CVS, and for me I didn’t get any GRClosure warning,  
> > > though  
> > > the dialog box did seem to have some problem in its “close” button,  
> > > as  
> > > it didn’t seem to work, and after closed on the windows’s “x”  
> > > button,  
> > > the dialog could not be reopened again.
> > 
> > Besides that, I didn’t see the warnings, and the rest of the Tree  
> > View  
> > and Menu Options seemed responsive.
> > 
> > Here’s my env:
> > 
> > dewd@corvina:~$ ruby -v  
> > ruby 1.8.5 (2006-08-25) [i686-linux]  
> > dewd@corvina:~$ ruby -r gtk2 -e ‘p Gtk::VERSION’  
> > [2, 10, 6]  
> > dewd@corvina:~$ uname -a  
> > Linux corvina 2.6.17-10-386 #2 Fri Oct 13 18:41:40 UTC 2006 i686  
> > GNU/Linux  
> > Ubuntu 6.10 Edgy.
> > 
> > Cheers,  
> > Joao

* * *

> > Using Tomcat but need to do more? Need to support web services,  
> > security?  
> > Get stuff done quickly with pre-integrated technology to make your  
> > job easier  
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> > Geronimo

[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

> > * * *
> > 
> > ruby-gnome2-devel-en mailing list  
> > removed\_email\_address@domain.invalid  
> > [ruby-gnome2-devel-en List Signup and Options](https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en)

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/5 "2006-11-07T11:06:55Z")

</div>

Hi,

On 11/6/06, Nicholas R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Yes, it is applied, but the GRClosure warnings are still there for me.
> 
> It is strange because there are a few things that seem to work  
> (File-\>New-\>{Watchlist,Portfolio}; Double clicking on a sub-element in  
> the treeview on the left [note: you have to add a watchlist/portfolio  
> first]). However, most callbacks are not called and only give the  
> GRClosure warning.

I can confirm now. Sorry:

dewd@corvina:~$ /opt/pilar\_linux/ruby-1.8.5/bin/grism  
/opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure invoking  
callback: already destroyed  
/opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure invoking  
callback: already destroyed  
/opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure invoking  
callback: already destroyed  
/opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure invoking  
callback: already destroyed  
/opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure invoking  
callback: already destroyed  
/opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure invoking  
callback: already destroyed

Menus:

Stock \> Move To  
Stock \> Copy To

After creating a RedHat (RHAT) in Portifolio.

And I tried to reproduce again, but I had to mess around a little to  
get it going:

dewd@corvina:~$ /opt/pilar\_linux/ruby-1.8.5/bin/grism  
/opt/pilar\_linux/ruby-1.8.5/lib/ruby/site\_ruby/1.8/grism/grismlist.rb:  
line 85  
Gtk-CRITICAL \*\*:gtk\_calendar\_select\_month: assertion `month <= 11' failed /opt/pilar_linux/ruby-1.8.5/lib/ruby/site_ruby/1.8/grism/grismlist.rb: line 85 Gtk-CRITICAL **:gtk_text_buffer_set_text: assertion `text != NULL’  
failed  
/opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure invoking  
callback: already destroyed  
/opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure invoking  
callback: already destroyed

Seems like kind of reproducible, though a step by step way to  
reproduce it could help Kouhei and Masao to understand the problem  
easier.

To download his application, go to [http://www.grism.org/download.html](http://www.grism.org/download.html)

(Sorry for repeating it.)

My diagnosis so far is that some menu items seem to be activated on  
demand, though I am not sure if it happens to the other menu items as  
well.

Cheers,  
Joao

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/6 "2006-11-07T11:07:01Z")

</div>

Hi,

On my environment, it seems to work.  
Can you try CVS version?

On Mon, 06 Nov 2006 16:42:27 +0100  
Nicholas R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> macbook: ~\> ruby -v
> 
> > > > is that I use libglade, but i don’t set any signal handling in  
> > > > it didn’t seem to work, and after closed on the windows’s “x” button,  
> > > > [2, 10, 6]  
> > > > Using Tomcat but need to do more? Need to support web services,
> 
> ruby-gnome2-devel-en mailing list  
> removed\_email\_address@domain.invalid  
> [ruby-gnome2-devel-en List Signup and Options](https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en)

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/7 "2006-11-07T11:07:09Z")

</div>

Hi,

Oh, sorry. But I couldn’t reproduce it.

On Mon, 6 Nov 2006 18:42:18 +0200  
“Ohad L.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [What is DRM? | Defective by Design](http://www.defectivebydesign.org/what_is_drm)  
> removed\_email\_address@domain.invalid  
> [ruby-gnome2-devel-en List Signup and Options](https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en)

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/8 "2006-11-07T11:07:09Z")

</div>

Hi,

Oh, sorry. But I couldn’t reproduce the problem.

On Mon, 6 Nov 2006 18:42:18 +0200  
“Ohad L.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [What is DRM? | Defective by Design](http://www.defectivebydesign.org/what_is_drm)  
> removed\_email\_address@domain.invalid  
> [ruby-gnome2-devel-en List Signup and Options](https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en)

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/9 "2006-11-07T11:07:03Z")

</div>

On 11/6/06, Masao M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi,
> 
> On my environment, it seems to work.  
> Can you try CVS version?

He said that it is CVS

–  
Protect your digital freedom and privacy, eliminate DRM, learn more at  
[http://www.defectivebydesign.org/what\_is\_drm](http://www.defectivebydesign.org/what_is_drm)

Ohad L.

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/10 "2006-11-07T11:07:38Z")

</div>

Joao P. wrote:

> Hi,
> 
> On 11/6/06, Nicholas R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Yes, it is applied, but the GRClosure warnings are still there for  
> > me.
> > 
> > It is strange because there are a few things that seem to work  
> > (File-\>New-\>{Watchlist,Portfolio}; Double clicking on a sub-element  
> > in  
> > the treeview on the left [note: you have to add a  
> > watchlist/portfolio  
> > first]). However, most callbacks are not called and only give the  
> > GRClosure warning.
> 
> I can confirm now. Sorry:
> 
> dewd@corvina:~$ /opt/pilar\_linux/ruby-1.8.5/bin/grism  
> /opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure  
> invoking  
> callback: already destroyed  
> /opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure  
> invoking  
> callback: already destroyed  
> /opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure  
> invoking  
> callback: already destroyed  
> /opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure  
> invoking  
> callback: already destroyed  
> /opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure  
> invoking  
> callback: already destroyed  
> /opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure  
> invoking  
> callback: already destroyed
> 
> Menus:
> 
> Stock \> Move To  
> Stock \> Copy To
> 
> After creating a RedHat (RHAT) in Portifolio.
> 
> And I tried to reproduce again, but I had to mess around a little to  
> get it going:
> 
> dewd@corvina:~$ /opt/pilar\_linux/ruby-1.8.5/bin/grism

/opt/pilar\_linux/ruby-1.8.5/lib/ruby/site\_ruby/1.8/grism/grismlist.rb:  
line 85

> Gtk-CRITICAL \*\*:gtk\_calendar\_select\_month: assertion `month \<= 11’  
> failed

/opt/pilar\_linux/ruby-1.8.5/lib/ruby/site\_ruby/1.8/grism/grismlist.rb:  
line 85

> Gtk-CRITICAL \*\*:gtk\_text\_buffer\_set\_text: assertion `text != NULL’  
> failed  
> /opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure  
> invoking  
> callback: already destroyed  
> /opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure  
> invoking  
> callback: already destroyed
> 
> Seems like kind of reproducible, though a step by step way to  
> reproduce it could help Kouhei and Masao to understand the problem  
> easier.

I wrote a small test program using libglade to see if I could reproduce  
it, but everything there worked.

So I went back to grism and after more playing, it seems that callbacks  
that are connected directly to the treeviews work (treeview on the left  
of the interface and the treeviews for the individual  
watchlists/portfolios on the right).

Callbacks connected to the toolbar items or the menu items do not work  
(generate the GRClosure). This last is with the exception of the 2 menu  
items that are in sub-menus (File-\>New-\>{WatchList,Portfolio}) and the  
chart menu item (Stock-\>Chart [note: you must first select an item from  
a watchlist or portfolio to make this menu item sensitive]).

These 3 menu item exceptions are special because they are the only menu  
items that have a non-stock image. The images are set by hand after  
the glade file has been loaded (mitem.image = Gtk::Image.new()).

With the File-\>New-\>Watchlist menu item, I can create a new watchlist.  
The buttons in the toolbar for this new watchlist initially work.  
However, after some more playing they also generate the GRClosure. If I  
quit grism and restart, the new watchlist will not work at all, just  
like the older ones.

Nick

> To download his application, go to [http://www.grism.org/download.html](http://www.grism.org/download.html)
> 
> (Sorry for repeating it.)
> 
> My diagnosis so far is that some menu items seem to be activated on  
> demand, though I am not sure if it happens to the other menu items as  
> well.
> 
> Cheers,  
> Joao

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/11 "2006-11-07T11:08:49Z")

</div>

Hi,

2006/11/7, Nicholas R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Yes, it is applied, but the GRClosure warnings are still there for me.

The attached patch will solve your problem.

Thanks,

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/12 "2006-11-07T11:08:00Z")

</div>

That’s a bit hard to follow… could you shrink it down to an example?

On 11/6/06, Nicholas R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > > GRClosure warning.  
> > > /opt/pilar\_linux/ruby-1.8.5/bin/grism:325: warning: GRClosure invoking  
> > > Stock \> Copy To  
> > > Gtk-CRITICAL \*\*:gtk\_calendar\_select\_month: assertion `month \<= 11’
> 
> of the interface and the treeviews for the individual  
> the glade file has been loaded (mitem.image = Gtk::Image.new()).
> 
> > 
> 
> * * *
> 
> Using Tomcat but need to do more? Need to support web services, security?  
> Get stuff done quickly with pre-integrated technology to make your job easier  
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo  
> [http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)
> 
> * * *
> 
> ruby-gnome2-devel-en mailing list  
> removed\_email\_address@domain.invalid  
> [ruby-gnome2-devel-en List Signup and Options](https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en)

–  
Protect your digital freedom and privacy, eliminate DRM, learn more at  
[http://www.defectivebydesign.org/what\_is\_drm](http://www.defectivebydesign.org/what_is_drm)

Ohad L.

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 8, 2006, 2:03am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/13 "2006-11-08T02:03:09Z")

</div>

Hi,

2006/11/7, Nicholas R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Yes, this solves about 99% of the GRClosure warnings I was getting with  
> Grism. This did not remove all of them as I am still getting one or  
> two. I will try to narrow down these last few cases.

OK. I committed the patch into CVS.

It’s my debugging method for GC related bug:

1. make gc.rb:

Thread.new do  
loop do  
GC.start  
sleep 1  
end  
end

1. run target script like the following:  
% ruby -r gc target-script.rb

## Thanks,

kou

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![nickrahn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dfb087/32.png) [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Post date:** [November 7, 2006, 11:15am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012/14 "2006-11-07T11:15:12Z")

</div>

Yes, this solves about 99% of the GRClosure warnings I was getting with  
Grism. This did not remove all of them as I am still getting one or  
two. I will try to narrow down these last few cases.

Thanks much for the patch.  
Cheers,  
Nick

Kouhei S. wrote:

> * * *
> 
> ## +++ rbglade.c 7 Nov 2006 04:45:49 -0000 RCS file: /cvsroot/ruby-gnome2/ruby-gnome2/libglade/lib/libglade2.rb,v when 0 + [http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)
> 
> * * *
> 
> ruby-gnome2-devel-en mailing list  
> removed\_email\_address@domain.invalid  
> [ruby-gnome2-devel-en List Signup and Options](https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en)

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)
