Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288552 - gnome-extra/hardware-monitor-1.4 fails to load after update to GNOME 2.26
Summary: gnome-extra/hardware-monitor-1.4 fails to load after update to GNOME 2.26
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mike Auty (RETIRED)
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
: 288683 289659 (view as bug list)
Depends on:
Blocks: gnome2.26 291711
  Show dependency tree
 
Reported: 2009-10-11 12:34 UTC by Christopher Smith
Modified: 2009-11-16 16:05 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Smith 2009-10-11 12:34:39 UTC
I was using hardware-monitor 1.3 initially but after it failed to load and failed to rebuild (something to do with libgnomeui I think) I tried hardware-monitor-1.4 and it built correctly but it still crashes on startup or whenever I attempt to add a new applet.

Reproducible: Always

Steps to Reproduce:
1. Attempt to add hardware-monitor applet to gnome-panel

Actual Results:  
Error dialog: The panel encountered a problem while loading "OFAID:HardwareMonitor".

Expected Results:  
Load the applet
Comment 1 Romain Perier (RETIRED) gentoo-dev 2009-10-11 12:56:37 UTC
- Could you attach the build.log for hardware-monitor-1.3 please ?
- The output of emerge --info is always appreciated
- Have you less ambiguous logs for hardware-monitor-1.4 ?
Comment 2 Romain Perier (RETIRED) gentoo-dev 2009-10-12 11:40:47 UTC
*** Bug 288683 has been marked as a duplicate of this bug. ***
Comment 3 Christopher Smith 2009-10-12 12:50:52 UTC
If I run strace on gnome-panel the message I receive when I attempt to add a hardware-monitor applet is:

** (gnome-panel:2684): WARNING **: panel-applet-frame.c:1363: failed to load applet OAFIID:HardwareMonitor (cannot get popup component):
Unknown CORBA exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'

(gnome-panel:2684): Gtk-WARNING **: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
Comment 4 Christopher Smith 2009-10-12 13:22:59 UTC
I can confirm that 1.4.2 exhibits the same errors.  Also the above error message was from the terminal output of gnome-panel not strace (obviously) because strace segfaults after the panel loads.
Comment 5 John5788 2009-10-12 15:01:51 UTC
I am having the same problems and have had the problem since gnome 2.24. I opened a thread about it before the upgrade to 2.26

http://forums.gentoo.org/viewtopic-t-794256-highlight-.html

This bug shouldn't be marked as resolved, nothing is fixed.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-12 17:33:01 UTC
it will be reopened if someone provides info required in comment #1.
Comment 7 John5788 2009-10-12 17:42:00 UTC
I dont have a problem with building any of the versions of hardware-monitor. I can successfully emerge 1.3, 1.4 and 1.4.2. I just cant run any of them. do you still want to see my emerge --info anyways?
Comment 8 Mart Raudsepp gentoo-dev 2009-10-13 01:35:12 UTC
Isn't it easier to just simply include it instead of asking if it's useful or not?
Comment 9 John5788 2009-10-13 02:52:47 UTC
$ emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.18-128.1.1.el5.028stab062.3 x86_64)
=================================================================
System uname: Linux-2.6.18-128.1.1.el5.028stab062.3-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 10 Oct 2009 23:30:01 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.7.9-r1, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /sbin/rc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://gentoo.llarian.net/ http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://mirrors.cs.wmich.edu/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.fslutd.org/linux/distributions/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://lug.mtu.edu/gentoo/ http://gentoo.mirrors.hoobly.com/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ "
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv imap isdnlog libwww maildir mmx modules mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection sasl session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 10 Romain Perier (RETIRED) gentoo-dev 2009-10-19 11:22:45 UTC
*** Bug 289659 has been marked as a duplicate of this bug. ***
Comment 11 John5788 2009-10-19 15:23:22 UTC
Can someone mark this as unresolved? this problem still exists.
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-29 08:00:27 UTC
(In reply to comment #11)
> Can someone mark this as unresolved? this problem still exists.
> 

did you try 1.4.2 ?
Comment 13 John5788 2009-10-29 08:10:57 UTC
Yes I did, 1.4.2 does the same crashing thing as all the other versions.
Comment 14 Romain Perier (RETIRED) gentoo-dev 2009-11-04 11:37:44 UTC
reopen per comment 13
Comment 15 Romain Perier (RETIRED) gentoo-dev 2009-11-04 13:15:57 UTC
+*hardware-monitor-1.4.2-r1 (04 Nov 2009)
+
+  04 Nov 2009; Romain Perier <mrpouet@gentoo.org>
+  +hardware-monitor-1.4.2-r1.ebuild,
+  +files/hardware-monitor-1.4.2-create-viewer-type-key.patch:
+  Fix bug #288552, /viewer-type key did not exist key, it caused
+  gconf_client to returned a NULL GConfEntry which was stored in a
+  Gnome::GConf::Entry object as gobject_ field, then
+  Gnome::GConf::Entry::set_value() segfaulted (gobj() == NULL).

This is normally fixed, with a revbump for h-w-1.4.2, it works perfectly with gnome-2.28.. feel free to reopen this bug in case of problems.
Thanks for reporting ;)
Comment 16 John5788 2009-11-04 16:01:38 UTC
it looks like we're dealing with two seperate problems in this bug report, one for not compiling and not running. the not running part is still broken.
Comment 17 Romain Perier (RETIRED) gentoo-dev 2009-11-04 18:49:02 UTC
(In reply to comment #16)
> the not running part is still broken.
> 

IE ?
my patch normally fixes the crash on startup , at least with gnome 2.28 (it works just fine here), not with 2.26 ? o_O
I doubt that this part changed between gconf-2.26 and gconf-2.28...

For example, still the same log ? (xsession-errors)
Comment 18 Romain Perier (RETIRED) gentoo-dev 2009-11-04 21:38:54 UTC
reopen per comment 16 and some feedbacks on IRC
Comment 19 John5788 2009-11-05 01:59:50 UTC
I just emerged the latest 1.4.2-r2, and it acts slightly differently, but still very unstable. When I goto add the hardware-monitor, it tells me: 

"Hardware Monitor" has quit unexpectedly

If you reload a panel object, it will automatically be addec back to the panel.

Screenshot of this:
http://img20.imageshack.us/img20/9043/screenshotla.png

After I click reload, I get my favorite crash message:
http://img20.imageshack.us/img20/6504/screenshot1fn.png

(In reply to comment #17)
> (In reply to comment #16)
> > the not running part is still broken.
> > 
> 
> IE ?
> my patch normally fixes the crash on startup , at least with gnome 2.28 (it
> works just fine here), not with 2.26 ? o_O
> I doubt that this part changed between gconf-2.26 and gconf-2.28...
> 
> For example, still the same log ? (xsession-errors)
> 

Comment 20 Mike Auty (RETIRED) gentoo-dev 2009-11-05 02:05:39 UTC
Hiya John, please can you check that you're using both gconf-2.28.0-r1 and hardware-monitor-1.4.2-r1?  If you don't have the latest gconf, you'll be hitting another error that's known about.

If that still doesn't work, you might be able to get a back trace by remove all hardware-monitors from your panel, then running "gdb /usr/libexec/hardware-monitor" followed by run in the console that's created.  Finally, you can add a hardware monitor back to the panel.  This should cause gdb to stop, at which point you can type "bt" to get a backtrace, and if you copy and paste that in here, it might help us identify what's going wrong...  5:)
Comment 21 John5788 2009-11-05 05:23:40 UTC
just emerged gconf-2.28.0-r1, and the panels seem to load now. I will play around with them some more.
Comment 22 John5788 2009-11-05 05:28:00 UTC
alright after playing with it, I found that changing the viewer mode causes it to through the message:

"Hardware Monitor" has quit unexpectedly

If you reload a panel object, it will automatically be added back to the panel.

I click reload, and the panel comes back, however it keeps the old default curves style of a graph. so we are halfway there.
Comment 23 John5788 2009-11-10 04:12:16 UTC
can anyone reproduce what I am experiencing or do we need logs from my computer?
Comment 24 Mike Auty (RETIRED) gentoo-dev 2009-11-10 10:14:36 UTC
Hiya Jon, I've just tried cycling through all the viewer modes and haven't managed to hit the crash you mentioned, so it would be best if you could send back the backtrace/bugbuddy information from your machine.  Thanks...  5:)
Comment 25 John5788 2009-11-10 16:27:24 UTC
(In reply to comment #24)
> Hiya Jon, I've just tried cycling through all the viewer modes and haven't
> managed to hit the crash you mentioned, so it would be best if you could send
> back the backtrace/bugbuddy information from your machine.  Thanks...  5:)
> 

how would you like me to get this information?
Comment 26 Mike Auty (RETIRED) gentoo-dev 2009-11-10 18:41:34 UTC
Please follow the instructions provided in comment 20.
Comment 27 Romain Perier (RETIRED) gentoo-dev 2009-11-10 18:47:56 UTC
Reassign to the developer who is able to maintain this package now. 
Comment 28 John5788 2009-11-13 06:47:41 UTC
This is what I get from gdb

(hardware-monitor:23429): GConf-CRITICAL **: gconf_entry_get_value: assertion `entry != NULL' failed
[New Thread 0x7f43bbced950 (LWP 23441)]
[Thread 0x7f43bbced950 (LWP 23441) exited]
[New Thread 0x7f43bbced950 (LWP 23442)]
[New Thread 0x7f43bb4ec950 (LWP 23443)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f43cf706760 (LWP 23429)]
0x00007f43ccd72377 in sigc::internal::trackable_callback_list::~trackable_callback_list () from /usr/lib/libsigc-2.0.so.0
Comment 29 John5788 2009-11-16 08:44:55 UTC
this is the output of the backtrace:


(gdb) bt
#0  0x00007fc38f301377 in sigc::internal::trackable_callback_list::~trackable_callback_list () from /usr/lib/libsigc-2.0.so.0
#1  0x00007fc38f3013cd in sigc::trackable::notify_callbacks ()
   from /usr/lib/libsigc-2.0.so.0
#2  0x00007fc391686dfd in Gnome::Canvas::CanvasAA::~CanvasAA ()
   from /usr/lib/libgnomecanvasmm-2.6.so.1
#3  0x000000000041dc50 in ?? ()
#4  0x000000000041f44a in ?? ()
#5  0x000000000040fe7c in ?? ()
#6  0x0000000000411b00 in ?? ()
#7  0x000000000041486a in ?? ()
#8  0x00007fc3918b4d72 in Gnome::Conf::CallbackHolder::call ()
   from /usr/lib/libgconfmm-2.6.so.1
#9  0x00007fc38eb6cf04 in gconf_listeners_notify ()
   from /usr/lib/libgconf-2.so.4
#10 0x00007fc38eb7aa20 in ?? () from /usr/lib/libgconf-2.so.4
#11 0x00007fc38eb7aaf1 in ?? () from /usr/lib/libgconf-2.so.4
#12 0x00007fc38af4e4a9 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#13 0x00007fc38af51ae8 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0x00007fc38af51fbd in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#15 0x00007fc38c11d705 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#16 0x00007fc38c11bae1 in bonobo_generic_factory_main_timeout ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libbonobo-2.so.0
#17 0x00007fc38ed995e1 in panel_applet_factory_main_closure ()
   from /usr/lib/libpanel-applet-2.so.0
#18 0x000000000042154f in ?? ()
#19 0x00007fc38a00d5c6 in __libc_start_main () from /lib/libc.so.6
#20 0x000000000040f7b9 in ?? ()
#21 0x00007fff02cb8ad8 in ?? ()
#22 0x000000000000001c in ?? ()
#23 0x0000000000000001 in ?? ()
#24 0x00007fff02cb92d1 in ?? ()
Comment 30 Mike Auty (RETIRED) gentoo-dev 2009-11-16 09:15:48 UTC
Hiya Jon, 

Unfortunately that doesn't help me track it down much, because you don't have debugging information available in all your programs (hence some of the calls are showing up as ??).  If you're up for it, there's a guide for producing useful backtraces at [1].  At the moment, all we really know is that the segfault appears to occur in CanvasAA in gnomecanvasmm when the object's being destructed, however all the calls leading up to that point are unknown.  I don't know that I'll be able to track down the problem even if you provide more complete backtraces, so it's up to you whether you want to put the effort in.  

As I say, I haven't been able to duplicate this, but then I also don't have an amd64 machine to test this on, but perhaps recompiling some of the packages involved and/or running "revdep-rebuild -i" might help?  Sorry I don't have anything of more use for you...

[1] http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 31 John5788 2009-11-16 16:03:46 UTC
I got bored and recompiled libgnomecanvasmm and now it seems to work. hasnt crashed yet, but I will report back if something happens.
Comment 32 Mike Auty (RETIRED) gentoo-dev 2009-11-16 16:05:42 UTC
Ok, since we can't recreate the issue now, I'm going to mark this as FIXED.  Please leave a comment if you're still experiencing this issue and I'll be happy to reopen it...  5:)