Ruby Forum Ruby-Gnome 2 > panel applet leakage

Posted by Detlef Reichl (Guest)
on 25.03.2008 20:19
(Received via mailing list)
Hi,

there is a problem in panel-applet. The hello-applet from SVN (like all
other applets) crash with this backtrace:


(hello-applet.rb:22342): Bonobo-WARNING **: Leaked a total of 1 refs to
1 bonobo object(s)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x48021970 (LWP 22342)]
0x0e2f698c in PortableServer_POA_servant_to_id ()
from /usr/lib/libORBit-2.so.0
(gdb) bt
#0  0x0e2f698c in PortableServer_POA_servant_to_id ()
from /usr/lib/libORBit-2.so.0
#1  0x0e3abff0 in bonobo_object_unref () from /usr/lib/libbonobo-2.so.0
#2  0x0dbbd670 in ?? () from /usr/lib/libpanel-applet-2.so.0
#3  0x0fb2312c in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#4  0x0fbb35c4 in holder_free (holder=0x102e0380) at rbgobj_object.c:60
#5  0x0ff3a66c in rb_gc_call_finalizer_at_exit () at gc.c:1928
#6  0x0ff1c440 in ruby_finalize_1 () at eval.c:1553
#7  0x0ff26090 in ruby_cleanup (ex=0) at eval.c:1590
#8  0x0ff26214 in ruby_stop (ex=<value optimized out>) at eval.c:1645
#9  0x0ff31e84 in ruby_run () at eval.c:1666
#10 0x10001adc in main (argc=2, argv=0xbfbfb614, envp=<value optimized
out>) at main.c:48


I've looked thrue the sources, but I have absolut no clue about this
ugly bonobo suff. Has anyone a clue how to fix it?

Cheers, detlef

Ps. panel applets are not deprecated (at least not til gnome 3.0), like
stated on the website. The Gtk::StatusIcon is not a suitable replacement
for some tasks. I would like to change the docs after the bug above is
fixed.
Posted by Kouhei Sutou (Guest)
on 25.03.2008 22:32
(Received via mailing list)
Hi,

2008/3/26, Detlef Reichl <detlef.reichl@gmx.org>:

>  Ps. panel applets are not deprecated (at least not til gnome 3.0), like
>  stated on the website. The Gtk::StatusIcon is not a suitable replacement
>  for some tasks. I would like to change the docs after the bug above is
>  fixed.

Ruby/PanelApplet2 is deprecated not panel applets because there is no
maintainer of Ruby/PanelApplet2. If someone do it, we will resupport
Ruby/PanelApplet2.


Thanks,
--
kou