Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18077 - Theme Manager crashes at startup
Summary: Theme Manager crashes at startup
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-24 00:57 UTC by hossein
Modified: 2003-05-05 20:36 UTC (History)
0 users

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 hossein 2003-03-24 00:57:12 UTC
This is the latest gnome and control-center in the portage tree.
I tried to do a trace but no debug symbols. The package use to work but now
segfaults.

Backtrace was generated from '/usr/bin/gnome-theme-manager'

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384
(LWP 23305)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
0x403d386b in waitpid () from /lib/libpthread.so.0
#0  0x403d386b in waitpid () from /lib/libpthread.so.0
#1  0x400a5409 in libgnomeui_module_info_get () from /usr/lib/libgnomeui-2.so.0
#2  <signal handler called>
#3  0x40b24438 in strcmp () from /lib/libc.so.6
#4  0x0804fe0b in gnome_theme_save_show_dialog ()
#5  0x0804f63e in gnome_theme_save_show_dialog ()
#6  0x080508c6 in gnome_theme_save_show_dialog ()
#7  0x08050e6a in main ()
#8  0x40ac3767 in __libc_start_main () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 23305)):
#0  0x403d386b in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#1  0x400a5409 in libgnomeui_module_info_get () from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#2  <signal handler called>
No symbol table info available.
#3  0x40b24438 in strcmp () from /lib/libc.so.6
No symbol table info available.
#4  0x0804fe0b in gnome_theme_save_show_dialog ()
No symbol table info available.
#5  0x0804f63e in gnome_theme_save_show_dialog ()
No symbol table info available.
#6  0x080508c6 in gnome_theme_save_show_dialog ()
No symbol table info available.
#7  0x08050e6a in main ()
No symbol table info available.
#8  0x40ac3767 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#0  0x403d386b in waitpid () from /lib/libpthread.so.0

Reproducible: Always
Steps to Reproduce:
1. Start the gnome theme manager
2.
3.

Actual Results:  
segfault

Expected Results:  
to run properly

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
GENTOO_MIRRORS=" http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://212.219.56.162/sites/www.ibiblio.org/gentoo/
http://212.219.56.146/sites/www.ibiblio.org/gentoo/
http://212.219.56.152/sites/www.ibiblio.org/gentoo/
http://212.219.56.131/sites/www.ibiblio.org/gentoo/
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://194.83.57.15/sites/www.ibiblio.org/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage-overlay/"
USE="x86 3dnow crypt gif jpeg libg++ mikmod mpeg nls png quicktime spell xml2 xv
zlib gtkhtml gdbm berkdb slang tetex bonobo svga tcltk java guile sdl gpm tcpd
pam libwww ssl perl esd imlib gnome opengl mozilla X gtk gtk2 ncurses apm arts
avi cdr dvd encode qt kde imap mmx motif oggvorbis oss pdflib python samba
readline sse truetype xmms cups icc"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CXXFLAGS="-march=pentium4 -O2 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 hossein 2003-03-24 00:58:49 UTC
I dont know what the hell happened. I mistakenly set this in gentoo ppc? It should have gone in x86 and under gnome.
Sorry about this
Comment 2 Seth Chandler 2003-03-24 01:18:19 UTC
no problem, bout to say, mine works fine =) 
Comment 3 Bryon Roche (RETIRED) gentoo-dev 2003-03-24 01:59:15 UTC
does this gnome theme manager still have the fam-related bugs?

if you're running FAM, stop it and try running theme manager then.

What happens?
Comment 4 foser (RETIRED) gentoo-dev 2003-03-24 06:56:37 UTC
what version of control center ?
Comment 5 hossein 2003-03-24 09:17:32 UTC
Okay, control-center shows 2.2.1
at the risk of sounding stupid, what is FAM and how do you stop it?
Thanks
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-03-24 15:01:59 UTC
that is weird how it recursively called gnome_theme_save_dialog_show() multiple times. 

have you tried lowering your CFLAGS to -march=pentium3? and maybe 

looks rather similar to this bug:

http://bugzilla.gnome.org/show_bug.cgi?id=105268
Comment 7 hossein 2003-03-24 19:38:32 UTC
I will try resetting the cflags. I had them initially at O3 and fomitframepointer, then when I saw the no debug symbols found, I tried setting my flags to -g (only) and removing the fomit and re emerged control center. I get the same error and no other stack info. I was reading through and I think I cam accross a post in the forums that symbols are stripped manually after a package is emerged?
Thanks for the help guys.
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2003-03-24 22:02:14 UTC
if you add DEBUGBUILD="yes" in your /etc/make.conf it will not strip the binaries.

looking at the strcmp in the code, it seems to be pointing to either you have no themes installed or your gconf doesn't have the key /desktop/gnome/interface/gtk_theme set. try using gconf-editor to see if you have that key set to something other than empty or NULL.
Comment 9 hossein 2003-03-24 22:51:50 UTC
FIXED!
after entering a theme name into the key you specified, the theme manager now starts properly. It is odd that just because the key was not set, the theme manager crashed.

Thanks again
Comment 10 foser (RETIRED) gentoo-dev 2003-03-25 07:39:40 UTC
yeah, can someone check if the key gets set on a basic install. liquidx, what do you think. should we patch the code to get around this possible problem ?
Comment 11 hossein 2003-03-25 10:51:25 UTC
Also, just out of curiousity, if I were to modify my gconf directly (as might have happened in this case and lead to this issue) is there a way to restore a default version of it? This seems a little too much like the windows registry.

Also, just in case this might help, as I remmember, the key's type was not even a string, but an integer.

Thanks again
Comment 12 Alastair Tse (RETIRED) gentoo-dev 2003-03-25 22:32:22 UTC
the default value for this key is "Default", thats in /etc/gconf/schemas/... 

i can't figure why it would suddenly get switched to the wrong type. i'll have a look and see if i can whip up a patch .. 
Comment 13 foser (RETIRED) gentoo-dev 2003-03-31 06:38:29 UTC
reporter did you or did you not fiddle with the keys yourself ? i mean this shouldnt happen out of the blue if the install sets the keys right.
Comment 14 hossein 2003-04-02 12:05:10 UTC
sorry for the delayed response.
I cannot say if the keys were fiddled with or not as there are 3 other users that are currently using this system. I suppose it was a mistake on my part to just use one username for all. Nevertheless, should the theme-manager segfault even in that case?
Comment 15 foser (RETIRED) gentoo-dev 2003-04-02 12:35:29 UTC
hmm not really, but it's impossible to make software completely 'foolproof' so to say.
Comment 16 foser (RETIRED) gentoo-dev 2003-05-05 20:36:17 UTC
seems to be related to invalid gconf keys