Firstly, running make install makes the problem go away. I assume the
developers do a make install before testing?

Responses to your questions:

* Could you please check if /usr/share/gnome-system-monitor/ contains 5 .ui 
files?
No, only preferences.ui per the below. It should just be the 12.04 version of 
gnome-system-monitor.

gsw@goat:~$ ls -al /usr/share/gnome-system-monitor/
total 60
drwxr-xr-x   2 root root  4096 Aug 15 23:24 .
drwxr-xr-x 334 root root 12288 Aug 17 15:10 ..
-rw-r--r--   1 root root 43638 Apr 17 15:00 preferences.ui

* How did you build gnome-system-monitor?
Built with debugging on to enable trace with gdb per below command.

./configure CFLAGS=-g

* Did you use make install?
No. As shown above attempting to run this directly from the build directory 
after straight 'make'.

* Did you specify --prefix=/usr when using autogen.sh?
No.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-system-monitor in Ubuntu.
https://bugs.launchpad.net/bugs/1037427

Title:
  gnome-system-monitor terminates with SEGV

Status in “gnome-system-monitor” package in Ubuntu:
  Incomplete

Bug description:
  Originally posted as Question #205888.

  This is a nice tool but I wanted to see if I could add a few extra
  features (inc. for question "160421 Would like disk activity"). I have
  gotten myself a launchpad account and downloaded (bzr branch lp:gnome-
  system-monitor) and built the binary however get this:

  gsw@goat:~/bzr/gnome-system-monitor/src$ ./gnome-system-monitor
  (gnome-system-monitor:25849): Gtk-CRITICAL **: gtk_widget_get_screen: 
assertion `GTK_IS_WIDGET (widget)' failed
  (gnome-system-monitor:25849): Gdk-CRITICAL **: gdk_screen_get_rgba_visual: 
assertion `GDK_IS_SCREEN (screen)' failed
  (gnome-system-monitor:25849): Gtk-CRITICAL **: gtk_window_set_default_size: 
assertion `GTK_IS_WINDOW (window)' failed
  (gnome-system-monitor:25849): Gtk-CRITICAL **: gtk_window_move: assertion 
`GTK_IS_WINDOW (window)' failed
  (gnome-system-monitor:25849): Gtk-CRITICAL **: gtk_window_add_accel_group: 
assertion `GTK_IS_WINDOW (window)' failed
  Segmentation fault (core dumped)

  I'm a complete Gnome n00b so any assistance would be helpful.
  Hopefully it's just something silly like the way I've built it or
  trying to run it.

  $ uname -a
  Linux goat 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux
  AMD64 architecture.

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description: Ubuntu 12.04.1 LTS
  Release: 12.04
  Codename: precise

  Rebuilt with ./configure CFLAGS=-g; make clean; make

  gsw@goat:~/bzr/gnome-system-monitor/src$ gdb ./gnome-system-monitor 
  GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
  Copyright (C) 2012 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  and "show warranty" for details.
  This GDB was configured as "x86_64-linux-gnu".
  For bug reporting instructions, please see:
  <http://bugs.launchpad.net/gdb-linaro/>...
  Reading symbols from 
/home/gsw/bzr/gnome-system-monitor/src/gnome-system-monitor...done.
  (gdb) run
  Starting program: /home/gsw/bzr/gnome-system-monitor/src/gnome-system-monitor 
  [Thread debugging using libthread_db enabled]
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  [New Thread 0x7fffed42a700 (LWP 10324)]
  [New Thread 0x7fffecc29700 (LWP 10325)]

  (gnome-system-monitor:10321): Gtk-CRITICAL **: gtk_widget_get_screen:
  assertion `GTK_IS_WIDGET (widget)' failed

  (gnome-system-monitor:10321): Gdk-CRITICAL **:
  gdk_screen_get_rgba_visual: assertion `GDK_IS_SCREEN (screen)' failed

  (gnome-system-monitor:10321): Gtk-CRITICAL **:
  gtk_window_set_default_size: assertion `GTK_IS_WINDOW (window)' failed

  (gnome-system-monitor:10321): Gtk-CRITICAL **: gtk_window_move:
  assertion `GTK_IS_WINDOW (window)' failed

  (gnome-system-monitor:10321): Gtk-CRITICAL **: gtk_window_add_accel_group: 
assertion `GTK_IS_WINDOW (window)' failed
  [New Thread 0x7fffdffff700 (LWP 10326)]

  Program received signal SIGSEGV, Segmentation fault.
  gtk_box_pack (box=0x0, child=0x824010, expand=0, fill=0, padding=0, 
      pack_type=GTK_PACK_START) at 
/build/buildd/gtk+3.0-3.4.2/./gtk/gtkbox.c:975

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-system-monitor/+bug/1037427/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to