Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 351364

Summary: theme of gnome often disappeared
Product: Gentoo Linux Reporter: water <waterloo2005>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: my .xsession-errors
.xsession-errors file.
This is correct theme
this is a pic when theme does not work.
new account user .xsession-errors file .

Description water 2011-01-11 13:36:11 UTC
I use gnome-base/gnome-desktop 2.32.1 .
My theme of gnome often disappeared when I used 'Ctrl+Alt+F?' .
But at that time when I click on gnome menu, it suddenly log out gnome .

At some other conditions , theme also disappears , such as failing to suspend . (Now my computer can not suspend successfully. )


Thanks a lot

Reproducible: Always

Steps to Reproduce:
1. Every time I use Ctrl+Alt+F1 and then Ctrl+Alt+F7 , my theme of gnome disappeared.
2.
3.




# emerge --info
Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, glibc-2.12.2-r0, 2.6.36-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-1.12.14
Timestamp of tree: Tue, 11 Jan 2011 03:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.xmu.edu.cn/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en zh zh_CN zh_TW en_US"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/layman/gentoo-china /usr/portage/local/layman/enlightenment /usr/portage/local/layman/devnull /usr/portage/local/myebuild /usr/portage"
SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 asf avahi bash-completion berkdb bitmap-fonts blas bluetooth branding bzip2 cairo cdparanoia cdr chm cjk cleartype cli consolekit corefonts cracklib crypt cups cxx dbus divx4linux dri dts dv dvd dvdr dvdread eds emacs emboss encode evo examples exif fam ffmpeg firefox flac foomaticdb fortran gd gdbm gdu gif gnome gnome-keyring gphoto2 gpm gstreamer gtk hal hdaps iconv ieee1394 java jpeg lame laptop lcms ldap libnotify lm_sensors mad midi mikmod mjpeg mmx mng modules mp3 mp4 mpeg msn mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl pic png policykit ppds pppd python qq qt3support quicktime rar readline sdl session spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd threads tiff truetype type1 udev unicode usb vorbis wifi x264 xcb xft xine xinerama xml xorg xscreensaver xulrunner xv xvid zip 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh zh_CN zh_TW en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa intel fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-11 13:49:54 UTC
could you attach your ~/.xsession-errors ?
Comment 2 Pacho Ramos gentoo-dev 2011-01-11 14:15:29 UTC
Would also be interesting to know what theme is it, maybe that is causing the problem
Comment 3 water 2011-01-11 14:18:22 UTC
Created attachment 259539 [details]
my .xsession-errors
Comment 4 water 2011-01-11 14:19:36 UTC
(In reply to comment #1)
> could you attach your ~/.xsession-errors ?
> 

I have upload my .xsession-errors file . 
Thanks
Comment 5 water 2011-01-11 14:25:13 UTC
(In reply to comment #2)
> Would also be interesting to know what theme is it, maybe that is causing the
> problem
> 

I try many themes , the problem always exists. 
Thanks
Comment 6 Pacho Ramos gentoo-dev 2011-01-11 18:44:11 UTC
(In reply to comment #1)
> could you attach your ~/.xsession-errors ?
> 

Please attach it just after the bug appears
Comment 7 water 2011-01-12 03:46:06 UTC
(In reply to comment #6)
> (In reply to comment #1)
> > could you attach your ~/.xsession-errors ?
> > 
> 
> Please attach it just after the bug appears
> 

I delete .xsession-errors .
when the bug appears , gnome does not set up a new .xsession-errors file .

Thanks
Comment 8 water 2011-01-18 08:13:47 UTC
Created attachment 260105 [details]
.xsession-errors file.

I delete old .xsession-errors file. 
Now my theme of gnome often disappear.
 this is a lately .xsession-errors file .
Thanks a lot!
This problem is so boring.
Comment 9 Pacho Ramos gentoo-dev 2011-01-18 09:07:45 UTC
Could you try on a new created user account?
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-18 10:02:30 UTC
I keep seeing this kind of messages:

** (gedit:8076): WARNING **: Pixbuf theme: Cannot load pixmap file /home/xxxxxxx/.themes/Arbeit Macbuntu New/gtk-2.0/Apps: 图像文件“/home/xxxxxxx/.themes/Arbeit Macbuntu New/gtk-2.0/Apps”没有内容

are you sure you did not set a custom borders theme ? Could you try selecting an official gnome theme in gnome-appearance-properties and see if the problem persists ?

Comment 11 water 2011-01-18 18:47:58 UTC
(In reply to comment #10)
> I keep seeing this kind of messages:
> 
> ** (gedit:8076): WARNING **: Pixbuf theme: Cannot load pixmap file
> /home/xxxxxxx/.themes/Arbeit Macbuntu New/gtk-2.0/Apps:
> 图像文件“/home/xxxxxxx/.themes/Arbeit Macbuntu
> New/gtk-2.0/Apps”没有内容
> 
> are you sure you did not set a custom borders theme ? Could you try selecting
> an official gnome theme in gnome-appearance-properties and see if the problem
> persists ?
> 

I try many other themes including gnome official themes, but the problem still exists.
And after I set Appearance, a process named 'gnome-appearance-properties' occupied at least 80% of cpu . I have to kill it manually .
What is the matter ?
Can I delete ~/.theme manually?
I want to install some themes freshly. 
Thanks
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-19 09:32:46 UTC
yes you can delete ~/.theme, it only olds themes you installed manually. System themes are in /usr/share/... so you do not risk losing them.
Comment 13 water 2011-01-19 10:50:22 UTC
(In reply to comment #12)
> yes you can delete ~/.theme, it only olds themes you installed manually. System
> themes are in /usr/share/... so you do not risk losing them.
> 

I move ~/.themes to ~/.themes.bak and ~/.icons to ~/.icons.bak .
And try to use theme of system directory.
But that problem still exists.
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-19 10:55:52 UTC
Could you attach a screenshot of your desktop with/without theming ? I think it might be gnome-settings-daemon that crashes, maybe you could try attaching a gdb process to it to get a backtrace if/when it crashes. See [1] for getting a proper backtrace.

[1] http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 15 Pacho Ramos gentoo-dev 2011-01-19 13:12:14 UTC
(In reply to comment #9)
> Could you try on a new created user account?
> 

I also suggested this since, per your attached .xsession-errors, your gnome session also runs a lot of different apps (like some applets, scim...) and, then, I would like to know how does it work on a fresh account to try to know what is causing the problem
Comment 16 water 2011-01-19 14:33:07 UTC
Created attachment 260248 [details]
This is correct theme
Comment 17 water 2011-01-19 14:34:40 UTC
Created attachment 260250 [details]
this is a pic when theme does not work.

And at that time the icons of files in nautilus disappear too.
Comment 18 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-19 14:50:19 UTC
I would have preferred a fullscreen snapshot but whatever, it seems it is indeed a gnome-settings-daemon related crash. When this happens you most likely loose backlist control and maybe a few more things. You can check that by running:
ps aux |egrep gnome-settings-daemon

when the desktop gets ugly again. If it does not run, restart it under gdb and proceed according to my previous comment.
Comment 19 water 2011-01-19 15:18:14 UTC
(In reply to comment #18)
> I would have preferred a fullscreen snapshot but whatever, it seems it is
> indeed a gnome-settings-daemon related crash. When this happens you most likely
> loose backlist control and maybe a few more things. You can check that by
> running:
> ps aux |egrep gnome-settings-daemon
> 
> when the desktop gets ugly again. If it does not run, restart it under gdb and
> proceed according to my previous comment.
> 

when the theme disappear, I find gnome-settings-daemon .
#ps aux |egrep gnome-settings-daemon
xxx   9453  0.0  0.0  10504   840 pts/0    S+   23:16   0:00 egrep gnome-settings-daemon
Comment 20 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-19 15:20:10 UTC
well no, that's just the command you use to find it that also get displayed here.
So now, onto gdb and collecting backtrace. If you don't have bug-buddy installed yet, I suggest you install it, maybe it'll do the work for you.
Comment 21 water 2011-01-20 04:10:15 UTC
(In reply to comment #20)
> well no, that's just the command you use to find it that also get displayed
> here.
> So now, onto gdb and collecting backtrace. If you don't have bug-buddy
> installed yet, I suggest you install it, maybe it'll do the work for you.
> 

But I am not familiar to gdb.
Comment 22 Pacho Ramos gentoo-dev 2011-01-27 14:16:26 UTC
bug-buddy will do all the job for you (if you have needed packages compiled with debugging support of course)
Comment 23 water 2011-01-30 09:04:54 UTC
in forum, someone said that 'down-update gtk+' or 'waiting for all components of gnome 2.32 coming to portage' can do with it.

I decide to wait a few days.

Thanks
Comment 24 water 2011-01-31 09:10:58 UTC
Created attachment 261165 [details]
new account user .xsession-errors file .

I try on a new user account . But the problem still exists.
Comment 25 Pacho Ramos gentoo-dev 2011-01-31 11:58:05 UTC
Have you tried to disable things like scim, nautilus-globus, nautilus image converter extension
Comment 26 water 2011-01-31 13:22:42 UTC
(In reply to comment #25)
> Have you tried to disable things like scim, nautilus-globus, nautilus image
> converter extension
> 

I have removed gloobus forever.
I try to uninstall 'nautilus image converter extension' , but that problem still exists.
Now I installed 'nautilus image converter extension' again.

I do not try to uninstall scim.

Thanks
Comment 27 Pacho Ramos gentoo-dev 2011-01-31 13:29:46 UTC
(In reply to comment #26)
> (In reply to comment #25)
> > Have you tried to disable things like scim, nautilus-globus, nautilus image
> > converter extension
> > 
> 
> I have removed gloobus forever.
> I try to uninstall 'nautilus image converter extension' , but that problem
> still exists.
> Now I installed 'nautilus image converter extension' again.
> 
> I do not try to uninstall scim.
> 
> Thanks
> 

These logs:
http://bugs.gentoo.org/attachment.cgi?id=261165

were obtained just after reproducing the problem? Looks like it contains some errors that I am not sure from what app is coming, but maybe scim:

GTK Panel of SCIM 1.4.9

Creating socket /tmp/scim-panel-socket:0-hu: another instance of the server is already listening on this socket, exiting ...
[Error 17:05:42.750] [AbstractKeyBindingService] Failed to bind "Summon in Text Mode" to ""
Do.Universe.Linux.GNOMESpecialLocationsItemSource "GNOME Special Locations" encountered an error in UpdateItems: System.IO.FileNotFoundException: Could not find file "/home/hu/.gtk-bookmarks".
File name: '/home/hu/.gtk-bookmarks'
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0 
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0 
  at System.IO.StreamReader..ctor (System.String path) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
  at Do.Universe.Linux.GNOMESpecialLocationsItemSource+<ReadBookmarkItems>c__Iterator3.MoveNext () [0x00000] in <filename unknown>:0 
  at Do.Universe.Linux.GNOMESpecialLocationsItemSource.UpdateItems () [0x00000] in <filename unknown>:0 
  at Do.Universe.Safe.SafeItemSource.UpdateItems () [0x00000] in <filename unknown>:0 .
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x220003c (Do)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Comment 28 water 2011-01-31 13:55:28 UTC
(In reply to comment #27)
> (In reply to comment #26)
> > (In reply to comment #25)
> > > Have you tried to disable things like scim, nautilus-globus, nautilus image
> > > converter extension
> > > 
> > 
> > I have removed gloobus forever.
> > I try to uninstall 'nautilus image converter extension' , but that problem
> > still exists.
> > Now I installed 'nautilus image converter extension' again.
> > 
> > I do not try to uninstall scim.
> > 
> > Thanks
> > 
> 
> These logs:
> http://bugs.gentoo.org/attachment.cgi?id=261165
> 
> were obtained just after reproducing the problem? Looks like it contains some
> errors that I am not sure from what app is coming, but maybe scim:
> 
> GTK Panel of SCIM 1.4.9
> 
> Creating socket /tmp/scim-panel-socket:0-hu: another instance of the server is
> already listening on this socket, exiting ...
> [Error 17:05:42.750] [AbstractKeyBindingService] Failed to bind "Summon in Text
> Mode" to ""
> Do.Universe.Linux.GNOMESpecialLocationsItemSource "GNOME Special Locations"
> encountered an error in UpdateItems: System.IO.FileNotFoundException: Could not
> find file "/home/hu/.gtk-bookmarks".
> File name: '/home/hu/.gtk-bookmarks'
>   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess
> access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions
> options) [0x00000] in <filename unknown>:0 
>   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess
> access, FileShare share) [0x00000] in <filename unknown>:0 
>   at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
> (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
>   at System.IO.File.OpenRead (System.String path) [0x00000] in <filename
> unknown>:0 
>   at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding
> encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000]
> in <filename unknown>:0 
>   at System.IO.StreamReader..ctor (System.String path) [0x00000] in <filename
> unknown>:0 
>   at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
>   at
> Do.Universe.Linux.GNOMESpecialLocationsItemSource+<ReadBookmarkItems>c__Iterator3.MoveNext
> () [0x00000] in <filename unknown>:0 
>   at Do.Universe.Linux.GNOMESpecialLocationsItemSource.UpdateItems () [0x00000]
> in <filename unknown>:0 
>   at Do.Universe.Safe.SafeItemSource.UpdateItems () [0x00000] in <filename
> unknown>:0 .
> Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a
> timestamp of 0 for 0x220003c (Do)
> Window manager warning: meta_window_activate called by a pager with a 0
> timestamp; the pager needs to be fixed.
> 

yes , this file is just after the time the problem appear . 
Thanks
Comment 29 water 2011-01-31 17:56:15 UTC
I find : 
when the problem appeared , icons of files in nautilus changed , tool bar of nautilus and gnome-terminal changed and fonts of some applications changed .

At that time , the border of the original theme is correct .

I think if it is about 'gtk' . 
I use gnome 2.32.0 in gentoo amd64. 

Thanks
Comment 30 Pacho Ramos gentoo-dev 2011-01-31 18:25:52 UTC
That could be caused by gnome-settings-daemon crashing for any reason, please also take a look to /var/log/messages and dmesg output just after you see the problem
Comment 31 water 2011-02-01 04:09:35 UTC
(In reply to comment #30)
> That could be caused by gnome-settings-daemon crashing for any reason, please
> also take a look to /var/log/messages and dmesg output just after you see the
> problem
> 

In /var/log/messages and dmesg, I find no information about the problem .
Thanks
Comment 32 water 2011-02-01 06:52:06 UTC
(In reply to comment #22)
> bug-buddy will do all the job for you (if you have needed packages compiled
> with debugging support of course)
> 

gnome-settings-daemon is from which package ? 
gnome-base/gnome-settings-daemon and gnome-base/gnome-control-center both afford that command .
Thanks
Comment 33 water 2011-02-01 07:15:05 UTC
I add USE="debug" to gnome-base/gnome-settings-daemon .
When I point icon of bug-buddy in Programing , it says : need --appname or --package parameter. 
When I use 'bug-buddy --package=gnome-base/gnome-settings-daemon ' in gnome-terminal , it says : Bug Buddy doesn't know how to send a suggestion for the application gnome-base/gnome-settings-daemon. 

How to use bug-buddy ?
Thanks
Comment 34 Pacho Ramos gentoo-dev 2011-02-01 09:34:46 UTC
bug-buddy is launched automatically itself when a crash occurs but, for that, you will probably have to rebuild with debugging symbols http://www.gentoo.org/proj/en/qa/backtraces.xml gnome-settings-daemon and packages listed in its RDEPEND (read its ebuild for that)
Comment 35 water 2011-02-01 11:41:48 UTC

*** This bug has been marked as a duplicate of bug 345343 ***
Comment 36 water 2011-02-01 11:46:12 UTC
(In reply to comment #34)
> bug-buddy is launched automatically itself when a crash occurs but, for that,
> you will probably have to rebuild with debugging symbols
> http://www.gentoo.org/proj/en/qa/backtraces.xml gnome-settings-daemon and
> packages listed in its RDEPEND (read its ebuild for that)
> 

Can I add USE debug in make.conf to use globally bug-buddy ? thanks
Comment 37 Pacho Ramos gentoo-dev 2011-02-01 11:48:15 UTC
(In reply to comment #36)
> (In reply to comment #34)
> > bug-buddy is launched automatically itself when a crash occurs but, for that,
> > you will probably have to rebuild with debugging symbols
> > http://www.gentoo.org/proj/en/qa/backtraces.xml gnome-settings-daemon and
> > packages listed in its RDEPEND (read its ebuild for that)
> > 
> 
> Can I add USE debug in make.conf to use globally bug-buddy ? thanks
> 

No, it's a bit risky to use it globally