Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270077 - gnome-extra/gnome-system-monitor 2.26.1 crashes X
Summary: gnome-extra/gnome-system-monitor 2.26.1 crashes X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-16 16:00 UTC by Fred Krogh
Modified: 2009-05-26 14:22 UTC (History)
1 user (show)

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


Attachments
My Xorg.0.log as requested (Xorg.0.log,18.82 KB, text/plain)
2009-05-17 13:35 UTC, Fred Krogh
Details
My /etc/X11/xorg.conf as requested (xorg.conf,14.84 KB, text/plain)
2009-05-17 13:36 UTC, Fred Krogh
Details
The full output from dmesg as requested (dmesg.out,53.44 KB, text/plain)
2009-05-17 13:37 UTC, Fred Krogh
Details
The gdb session with the traceback from the crash (Xdebug.out,16.21 KB, text/plain)
2009-05-19 16:25 UTC, Fred Krogh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Krogh 2009-05-16 16:00:08 UTC
See below.

Reproducible: Always

Steps to Reproduce:
1.Click on tha applet and it displays the big window of what the system is doing.  
2.Click on the upper right hand "x" to close the window and X crashes.
3.




This application has always been a bit flakey for me, but I still find it useful to have.  Also after the update to gnome 2.26 my system seems a bit unstable.  I've had it crash when I was not even doing something.

emerge --info ===============================

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r4-x86_64-AMD_Opteron-tm-_Processor_242-with-gentoo-2.0.0
Timestamp of tree: Fri, 15 May 2009 20:00:01 +0000
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=opteron -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://ftp.ucsb.edu/pub/mirrors/linux/gentoo  http://cudlug.cudenver.edu/gentoo http://gentoo.binarycompass.org"
LANG="en_us"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
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="3dnow 3dnowext X a52 aac acl administrator aiglx alsa amd64 apache2 auctex audiofile bash-completion bcmath berkdb blas bonobo bzip2 cairo calendar cdrom clamav clamd cli clisp colordiff consolekit cracklib crypt ctype cups dbus debugger deprecated dga discouraged divx-linux dri dvd dvdr dvdread emacs emul-linux86 esd fam fastcgi fbcon ffmpeg flac fortran ftp gd gdbm glut gmail gnome gnome-keyring gphoto2 gpm gstreamer gtk hal iconv imagemagick ipv6 isdnlog java javascript jpeg kerberos kpathsea latex latin1 leim lesstif libclamav libnotify libwww logrotate mad maildir mbox mcal midi mime mmx mmxext mng mouse mozcalendar mozilla mpeg2 mpi mudflap multilib mysql mysqli nat ncurses nls nocd nosendmail nptl nptlonly nsplugin nvidia objc offensive ogg opengl openmp osc oscar pam pcre pdf perl png policykit pop pop3d portaudio posix ppds pppd preview-latex python query-browser readline reflection regex replytolist rtc samba sasl session sharedmem sockets sound source sox speex spl sse sse2 ssl svg symlink sysfs tcltk tcpd tetex thunderbird truetype unicode vhosts vorbis wxwindows xcomposite xine xmail xorg xulrunner xvid" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-05-17 09:21:28 UTC
Please attach your full Xorg.0.log, your xorg.conf and the full output of dmesg.

Thanks
Comment 2 Fred Krogh 2009-05-17 13:35:15 UTC
Created attachment 191546 [details]
My Xorg.0.log as requested
Comment 3 Fred Krogh 2009-05-17 13:36:31 UTC
Created attachment 191547 [details]
My /etc/X11/xorg.conf as requested
Comment 4 Fred Krogh 2009-05-17 13:37:19 UTC
Created attachment 191548 [details]
The full output from dmesg as requested
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-05-17 15:55:21 UTC
Can you reproduce with the vesa driver?

Thanks
Comment 6 Fred Krogh 2009-05-17 15:57:14 UTC
(In reply to comment #5)
> Can you reproduce with the vesa driver?

Could you tell me how to go about doing this.
Thanks.
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-05-17 17:55:29 UTC
Replace "nvidia" with "vesa" on line 384 of your xorg.conf. Make sure you have xf86-video-vesa installed though.

Thanks
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-17 18:42:57 UTC
most likely a duplicate of bug #267813 itself most likely a nvidia only problem.
Comment 9 Fred Krogh 2009-05-17 20:49:24 UTC
Looks like nvidia is innocent here.  I have exactly the same problem when using the vesa driver.
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2009-05-17 21:37:17 UTC
Could you provide a Xorg.0.log where the segfault appears (a backtrace should be printed)?

Thanks
Comment 11 Fred Krogh 2009-05-17 22:25:18 UTC
I see no sign of a backtrace in Xorg.0.log.  I did notice complaints about a missing evdev in /var/log/gdm/:0.log.  Since I didn't have this installed I emerged it.  BAD idea.  After this I could not log in from X Windows as it seemed to want to turn each keystroked into 3 keystrokes.  Unmerging it and a complete reboot fixed this.
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2009-05-18 05:46:13 UTC
Please read up on http://www.gentoo.org/proj/en/qa/backtraces.xml and reemerge libdrm, xorg-server and all your X drivers to get debug symbols for them.

Then you can use gdb to get a backtrace: http://xorg.freedesktop.org/wiki/Development/Documentation/ServerDebugging

Thanks
Comment 13 Fred Krogh 2009-05-18 22:04:07 UTC
(In reply to comment #12)
> Please read up on http://www.gentoo.org/proj/en/qa/backtraces.xml and reemerge
> libdrm, xorg-server and all your X drivers to get debug symbols for them.
> 
> Then you can use gdb to get a backtrace:
> http://xorg.freedesktop.org/wiki/Development/Documentation/ServerDebugging

There is one step you left out.  I've changed all my flags as suggested in make.conf, and did
emerge gnome-system-monitor xf86-video-vesa libdrm xorg-server nvidia-drivers libgnomekdb kbd xf86-input-mouse

I get in the debugger and run gnome-system-monitor and the window for this comes up.  So far so good.  I then close the window, the system crashes, and I'm left wondering how do I then do the backtrace.  I also tried doing all this in a console window, but as expected the application would not start.  I haven't seen any options for gdb that will cause it to dump the stack trace at the time of the crash.  I need more help.  Thanks.

Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2009-05-19 05:27:03 UTC
Sorry for not being clear enough, it's the X server that you should attach gdb to, not gnome-system-monitor.

Thanks
Comment 15 Fred Krogh 2009-05-19 12:57:21 UTC
I'm still not quite clear on things.  The only running process that had X in the name was /usr/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7.  From a console window I tried to attach to this process and after it printed a bunch of stuff the keyboard was dead.  Just how do I get this whole thing started?  Thanks.
Comment 16 Rémi Cardona (RETIRED) gentoo-dev 2009-05-19 13:34:42 UTC
Read up on the second link I posted above, all the needed info is in there.

Thanks
Comment 17 Fred Krogh 2009-05-19 15:15:54 UTC
Logged in from a second machine, I start the debugger [with gdb /usr/bin/Xorg $(2264)], I get the message (no debugging symbols found).  When I did the emerge my make.conf was

CFLAGS="-ggdb -O2 -march=opteron -pipe"
USE="3dnow 3dnowext X a52 aac administrator aiglx alsa apache2 auctex audiofile bash-completion bcmath blas bonobo bzip2 cairo calendar cdrom clamav clamd clisp colordiff consolekit ctype dbus debugger deprecated dga discouraged divx-linux dvd dvdr dvdread emacs emul-linux86 esd fam fastcgi fbcon ffmpeg flac ftp gd gdbm glut gmail gnome gnome-keyring gphoto2 gstreamer gtk hal imagemagick java javascript jpeg kerberos kpathsea latex latin1 leim lesstif libclamav libnotify libwww logrotate mad maildir mbox mcal mime mmx mmxext mng mouse mozcalendar mozilla mpeg2 mpi mysql mysqli nat nocd nosendmail nptlonly nsplugin nvidia objc offensive ogg opengl osc oscar pdf png policykit pop pop3d portaudio posix ppds preview-latex query-browser regex replytolist rtc samba sasl sharedmem sockets sound source sox speex sse sse2 svg symlink tcltk tetex thunderbird truetype unicode vhosts video_cards_nvidia vorbis wxwindows xcomposite xine xmail xulrunner xvid -arts -eds -firefox -seamonkey -zlib"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://ftp.ucsb.edu/pub/mirrors/linux/gentoo  http://cudlug.cudenver.edu/gentoo http://gentoo.binarycompass.org"
ACCEPT_KEYWORDS="~amd64"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
LINGUAS="en"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
FEATURES="fixpackages parallel-fetch -userfetch -sandbox -splitdebug"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nvidia vesa fbdev"
SEARCH_DIRS_MASK="/usr/lib32/openoffice"
PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_SYSTEM="save"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"

Are we getting closer?  Thanks.
Comment 18 Rémi Cardona (RETIRED) gentoo-dev 2009-05-19 15:25:58 UTC
(In reply to comment #17)
> CFLAGS="-ggdb -O2 -march=opteron -pipe"

That looks ok.

> FEATURES="fixpackages parallel-fetch -userfetch -sandbox -splitdebug"

Basically, you're telling portage to throw out debug info... you might want to make that "splitdebug" instead.

> Are we getting closer?  Thanks.

A little bit. Btw, I recommend attaching gdb to an already running X rather that starting X within gdb. That usually makes things a bit easier.

Cheers
Comment 19 Fred Krogh 2009-05-19 16:25:41 UTC
Created attachment 191804 [details]
The gdb session with the traceback from the crash

Finally!!  This is with the nvidia driver.  I could now fairly easily do the same with the vesa driver upon request.  Thanks for the patience.
Comment 20 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-25 23:00:26 UTC
Stumbled on https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/298868/+activity, according to the symbols this might be a xorg-server bug. Reassigning. Feel free to CC us again if you need some input from us.
Comment 21 Rémi Cardona (RETIRED) gentoo-dev 2009-05-25 23:08:37 UTC
Please unmask xorg-server 1.6, rebuild your X drivers and let me know if you can reproduce the crash.

If so, please open a bug in FreeDesktop's bugzilla [1] and paste the url here so we can track the issue.

Thanks

[1] https://bugs.freedesktop.org/
Comment 22 Fred Krogh 2009-05-26 05:22:34 UTC
(In reply to comment #21)
> Please unmask xorg-server 1.6, rebuild your X drivers and let me know if you
> can reproduce the crash.

I tried to do this, but it doesn't seem to find xorg-server-1.6, it just want to emerge 1.5t.3-r6, the one I already have.  What do I need to do?  Thanks.
Comment 23 Fred Krogh 2009-05-26 14:22:42 UTC
Scratch that last comment.  I was working late, and just misread what was on the screen.  Version 1.6 is installed, and gnome-system-monitor no longer crashes.  Thanks.