Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10984 - gnome-session.2.0.7 segfault on alpha platform
Summary: gnome-session.2.0.7 segfault on alpha platform
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bjoern Brauel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-19 23:37 UTC by Matt Oquist
Modified: 2003-02-06 18:12 UTC (History)
1 user (show)

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


Attachments
fonts config file (fonts.conf,6.23 KB, text/plain)
2002-11-20 08:32 UTC, Matt Oquist
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Oquist 2002-11-19 23:37:28 UTC
(This isn't really "all" platforms, but 'alpha' is not listed.)

The emerge failed, so I extracted the package myself.
I set CCFLAGS="-static -g" and ran ./configure and 'make all'.  I ran
gnome-session under gdb and got this message:

0x20000860b48 in g_private_get_posix_impl () from /usr/lib/libgthread-2.0.so.0

I installed from stage3-alpha-ev6-1.4-r1.

Here's cpuinfo:
------------------------------------------------
jean pkg # cat /proc/cpuinfo 
cpu                     : Alpha
cpu model               : EV68AL
cpu variation           : 7
cpu revision            : 0
cpu serial number       : 
system type             : Tsunami
system variation        : Catamaran
system revision         : 0
system serial number    : 4138JN5ZA043
cycle frequency [Hz]    : 833333333 
timer frequency [Hz]    : 1024.00
page size [bytes]       : 8192
phys. address bits      : 44
max. addr. space #      : 255
BogoMIPS                : 1666.64
kernel unaligned acc    : 0 (pc=0,va=0)
user unaligned acc      : 0 (pc=0,va=0)
platform string         : COMPAQ AlphaStation DS20E 833 MHz
cpus detected           : 2
cpus active             : 2
cpu active mask         : 0000000000000003


Here are the packages I have installed:

-----------------------------------------
cd /var/db/pkg/
find . -maxdepth 2
.
./sys-apps
./sys-apps/baselayout-1.8.3
./sys-apps/portage-2.0.38
./sys-apps/texinfo-4.2-r5
./sys-apps/bzip2-1.0.2-r2
./sys-apps/groff-1.17.2-r2
./sys-apps/bash-2.05a-r3
./sys-apps/kbd-1.06-r1
./sys-apps/cpio-2.4.2-r4
./sys-apps/debianutils-1.16.3
./sys-apps/diffutils-2.8.4
./sys-apps/e2fsprogs-1.29
./sys-apps/ed-0.2-r3
./sys-apps/fbset-2.1
./sys-apps/file-3.39
./sys-apps/fileutils-4.1.11
./sys-apps/findutils-4.1.7-r1
./sys-apps/gawk-3.1.1
./sys-apps/grep-2.5-r1
./sys-apps/gzip-1.3.2
./sys-apps/hdparm-5.2-r3
./sys-apps/iptables-1.2.7a
./sys-apps/less-376
./sys-apps/cronbase-0.2.1
./sys-apps/man-1.5k
./sys-apps/man-pages-1.52
./sys-apps/modutils-2.4.19
./sys-apps/net-tools-1.60-r4
./sys-apps/netkit-base-0.17-r6
./sys-apps/procps-2.0.7-r6
./sys-apps/psmisc-19-r3
./sys-apps/sed-3.02.80-r4
./sys-apps/setserial-2.17-r2
./sys-apps/sh-utils-2.0.15
./sys-apps/miscfiles-1.3
./sys-apps/shadow-4.0.3
./sys-apps/pam-login-3.7
./sys-apps/sharutils-4.2.1-r5
./sys-apps/tar-1.13.25-r3
./sys-apps/textutils-2.1
./sys-apps/util-linux-2.11u
./sys-apps/which-2.14
./sys-apps/tcp-wrappers-7.6-r4
./sys-apps/devfsd-1.3.25
./sys-apps/aboot-0.9-r1
./sys-apps/vcron-3.0.1-r1
./sys-apps/pciutils-2.1.10-r1
./sys-apps/baselayout-1.8.4.2
./sys-apps/portage-2.0.44
./sys-apps/diffutils-2.7.7
./sys-apps/e2fsprogs-1.29-r1
./sys-apps/gawk-3.1.1-r1
./sys-apps/groff-1.17.2-r3
./sys-apps/less-378
./sys-apps/procps-2.0.10-r1
./sys-apps/sed-4.0.1
./sys-apps/sharutils-4.2.1-r6
./sys-apps/eject-2.0.12
./sys-libs
./sys-libs/glibc-2.2.5-r7
./sys-libs/zlib-1.1.4
./sys-libs/ncurses-5.2.20020511-r2
./sys-libs/db-1.85-r1
./sys-libs/db-3.2.9-r1
./sys-libs/gdbm-1.8.0-r5
./sys-libs/readline-4.2a
./sys-libs/slang-1.4.5-r2
./sys-libs/pwdb-0.61-r3
./sys-libs/cracklib-2.7-r5
./sys-libs/pam-0.75-r7
./sys-libs/gpm-1.20.0-r3
./sys-libs/ncurses-5.2.20020511-r3
./sys-libs/pwdb-0.61-r4
./sys-libs/pam-0.75-r10
./sys-libs/readline-4.2a-r1
./sys-libs/lwp-1.9
./sys-libs/lib-compat-1.0-r2
./sys-libs/libtermcap-compat-1.2.3
./sys-kernel
./sys-kernel/linux-headers-2.4.18-r2
./sys-kernel/vanilla-sources-2.4.19
./sys-devel
./sys-devel/binutils-2.13.90.0.4
./sys-devel/gcc-3.2-r1
./sys-devel/gettext-0.11.1
./sys-devel/libtool-1.4.1-r9
./sys-devel/m4-1.4p
./sys-devel/perl-5.6.1-r7
./sys-devel/autoconf-2.53a
./sys-devel/automake-1.6.1-r6
./sys-devel/flex-2.5.4a-r5
./sys-devel/bc-1.06-r3
./sys-devel/bison-1.35
./sys-devel/make-3.79.1-r5
./sys-devel/patch-2.5.4-r4
./sys-devel/libtool-1.4.1-r10
./sys-devel/bc-1.06-r4
./sys-devel/gdb-5.2.1
./dev-python
./dev-python/python-fchksum-1.6.1
./dev-python/PyXML-0.7.1
./dev-libs
./dev-libs/expat-1.95.4
./dev-libs/libelf-0.8.2
./dev-libs/openssl-0.9.6g
./dev-libs/glib-1.2.10-r4
./dev-libs/glib-2.0.6-r1
./dev-libs/popt-1.6.3
./dev-libs/libIDL-0.8.0
./dev-libs/libxml2-2.4.24
./dev-libs/libpcre-3.9-r1
./dev-libs/atk-1.0.3-r1
./dev-libs/glib-2.0.7
./dev-libs/gmp-4.1-r1
./dev-libs/librep-0.16.1
./dev-libs/libxslt-1.0.20
./dev-libs/libxml-1.8.17-r2
./dev-libs/atk-1.1.1
./dev-libs/libunicode-0.4-r1
./dev-lang
./dev-lang/python-2.2.1-r5
./dev-lang/tcl-8.3.3-r3
./dev-lang/tk-8.3.3-r3
./app-shells
./app-shells/sash-3.4-r5
./app-shells/bash-completion-20021026
./app-shells/tcsh-6.12
./dev-perl
./dev-perl/ExtUtils-MakeMaker-6.05
./dev-perl/ExtUtils-MakeMaker-6.05-r1
./dev-perl/SGMLSpm-1.03-r4
./app-editors
./app-editors/nano-1.0.9
./app-editors/vim-core-6.1-r2
./app-editors/vim-6.1-r15
./app-editors/gvim-6.1-r3
./app-editors/gedit-2.1.2.1
./net-ftp
./net-ftp/ftp-0.17-r1
./net-ftp/curl-7.9.7
./net-misc
./net-misc/dhcpcd-1.3.20_p0-r1
./net-misc/rsync-2.5.5-r1
./net-misc/wget-1.8.2
./net-misc/openssh-3.4_p1-r3
./net-misc/rdesktop-1.1.0.19.9.0
./net-misc/netkit-telnetd-0.17-r3
./net-misc/netkit-rsh-0.17-r3
./net-misc/tightvnc-1.2.6
./app-arch
./app-arch/ncompress-4.2.4
./app-arch/cabextract-0.5
./app-arch/unzip-5.50-r1
./app-arch/zip-2.3-r1
./app-arch/file-roller-2.1.2
./app-arch/rpm-4.0.4-r4
./dev-util
./dev-util/cscope-15.3
./dev-util/pkgconfig-0.12.0
./dev-util/intltool-0.22
./dev-util/indent-2.2.6
./dev-util/guile-1.5.4
./dev-util/guile-1.4.1
./dev-util/cvs-1.11.2
./net-libs
./net-libs/linc-0.5.3
./net-libs/rpc2-1.13
./net-libs/linc-0.7.0
./gnome-base
./gnome-base/ORBit2-2.4.3
./gnome-base/gnome-libs-1.4.2
./gnome-base/bonobo-activation-1.0.3
./gnome-base/libbonobo-2.0.0-r1
./gnome-base/gconf-1.2.1
./gnome-base/libgnomecanvas-2.0.4
./gnome-base/libgnome-2.0.5
./gnome-base/libglade-2.0.1
./gnome-base/gnome-vfs-2.0.4-r2
./gnome-base/gail-0.17
./gnome-base/libgtop-2.0.0-r1
./gnome-base/libbonoboui-2.0.3
./gnome-base/libgnomeui-2.0.3
./gnome-base/libgnomeui-2.0.5
./gnome-base/gnome-mime-data-2.0.1
./gnome-base/gnome-2.0.2-r1
./gnome-base/ORBit-0.5.17
./gnome-base/bonobo-activation-2.1.0
./gnome-base/gnome-desktop-2.0.8
./gnome-base/oaf-0.6.10
./gnome-base/libglade-0.17-r6
./gnome-base/gconf-1.0.8-r4
./gnome-base/libgnomeprint-1.116.0
./gnome-base/gnome-panel-2.0.9
./gnome-base/gnome-applets-2.0.3
./gnome-base/librsvg-2.1.1
./gnome-base/gnome-session-2.0.7
./gnome-base/libgnomeprintui-1.116.0
./gnome-base/gail-1.1.2
./gnome-base/gnome-vfs-1.0.5-r2
./gnome-base/eel-2.1.2
./gnome-base/nautilus-2.1.2
./gnome-base/control-center-2.1.2
./gnome-base/bonobo-1.0.21
./gnome-base/gdm-2.4.0.11-r1
./gnome-base/control-center-1.4.0.5-r1
./media-libs
./media-libs/audiofile-0.2.3-r1
./media-libs/libpng-1.2.4
./media-libs/fontconfig-2.0
./media-libs/freetype-2.1.2-r1
./media-libs/jpeg-6b-r2
./media-libs/giflib-4.1.0-r3
./media-libs/jpeg-6b-r3
./media-libs/libart_lgpl-2.3.10
./media-libs/tiff-3.5.7-r1
./media-libs/pdflib-4.0.3
./media-libs/t1lib-1.3.1
./media-libs/imlib-1.9.14-r1
./media-libs/lcms-1.09
./media-libs/libmng-1.0.4
./media-libs/gdk-pixbuf-0.20.0
./media-libs/libogg-1.0_rc3-r1
./media-libs/libogg-1.0
./media-libs/libvorbis-1.0-r1
./media-libs/libao-0.8.3
./media-libs/libpng-1.2.5
./media-sound
./media-sound/esound-0.2.29
./media-sound/vorbis-tools-1.0-r1
./media-sound/sox-12.17.3-r2
./media-sound/xmms-1.2.7-r15
./app-admin
./app-admin/metalog-0.6-r10
./app-admin/fam-oss-2.6.9
./net-mail
./net-mail/mailbase-0.00-r4
./net-mail/ssmtp-2.38.14-r1
./net-mail/mutt-1.4-r3
./net-mail/fetchmail-6.1.2
./net-mail/procmail-3.22-r5
./x11-base
./x11-base/opengl-update-1.4
./x11-base/xfree-4.2.1
./x11-libs
./x11-libs/pango-1.0.5
./x11-libs/gtk+-2.0.8
./x11-libs/gtk+-1.2.10-r9
./x11-libs/libwnck-0.17
./x11-libs/libzvt-2.0.1-r1
./x11-libs/rep-gtk-0.16
./x11-libs/xft-2.0
./x11-libs/pango-1.1.3
./x11-libs/startup-notification-0.3
./x11-libs/vte-0.10.4
./x11-libs/rep-gtk-0.15-r3
./x11-wm
./x11-wm/blackbox-0.65.0-r1
./x11-wm/sawfish-2.0
./x11-wm/metacity-2.4.0
./net-nds
./net-nds/portmap-5b-r6
./net-fs
./net-fs/nfs-utils-0.3.3-r1
./net-fs/samba-2.2.6-r2
./net-www
./net-www/netscape-navigator-4.79-r1
./net-www/netscape-communicator-4.79-r1
./net-www/mozilla-1.0.1-r3
./net-www/galeon-1.2.6
./net-www/w3m-0.3-r6
./net-print
./net-print/foomatic-2.0.0
./net-print/lprng-3.8.12
./media-gfx
./media-gfx/gimp-1.3.10
./media-gfx/gimp-print-4.2.2
./media-gfx/eog-1.1.0
./app-text
./app-text/ghostscript-7.05.5
./app-text/acroread-5.06-r1
./app-text/xpdf-1.01-r1
./app-text/docbook-xsl-stylesheets-1.52.2
./app-text/docbook-xml-dtd-4.1.2-r3
./app-text/sgml-common-0.6.3-r2
./app-text/openjade-1.3.1-r5
./app-text/docbook-sgml-dtd-3.1
./app-text/docbook-sgml-dtd-3.0
./app-text/docbook-xml-simple-dtd-4.1.2.4
./app-text/docbook-dsssl-stylesheets-1.77
./app-text/docbook-sgml-dtd-4.0
./app-text/docbook-sgml-dtd-4.1
./app-text/docbook-sgml-utils-0.6.11-r2
./app-text/scrollkeeper-0.3.11-r1
./app-text/antiword-0.33
./app-text/sword-1.5.5
./net-irc
./net-irc/xchat-1.8.10-r1
./gnome-extra
./gnome-extra/gcalctool-4.1.9
./gnome-extra/libgtkhtml-2.0.2
./gnome-extra/gnome-utils-2.0.5
./gnome-extra/yelp-2.1.2
./gnome-extra/gnome-games-2.0.4
./gnome-extra/gal-0.21
./gnome-extra/gconf-editor-0.3.1
./gnome-extra/gnome2-user-docs-2.0.1
./gnome-extra/gnome-system-monitor-2.0.2
./gnome-extra/bug-buddy-2.2.0
./gnome-extra/gnome-media-2.0.2.5-r1
./gnome-extra/gnome-vfs-extras-0.99.6
./x11-themes
./x11-terms
./x11-terms/gnome-terminal-2.0.1
./dev-java
./dev-java/java-config-0.2.6
./net-dns
./net-dns/bind-9.2.2_rc1-r1
./net-dns/bind-tools-9.2.2_rc1
Comment 1 Bjoern Brauel (RETIRED) gentoo-dev 2002-11-20 08:19:56 UTC
So gnome-session-2.0.7 doesnt emerge properly ? I'd like to know what the
compile error was . Furthermore , could you attach the /etc/fonts/fonts.conf
file to this bug report ? And could you try running gnome-session with
GDK_USE_XFT set to 0 (by setting it in /etc/X11/Sessions/Gnome for example). 
Comment 2 Matt Oquist 2002-11-20 08:31:05 UTC
OOPS - The emerge does NOT fail.  (I think I confused myself because I was
working on two different platforms and three different systems simultaneously.)
 I extracted and compiled the package manually because I don't know how to
compile with the symbol table using 'emerge' or 'ebuild'.

I just tried setting GDK_USE_XFT to 0 in my /etc/X11/Sessions/Gnome file, but I
got the same error when running under gdb.

I will attach my fonts.conf file.
Comment 3 Matt Oquist 2002-11-20 08:32:06 UTC
Created attachment 5819 [details]
fonts config file

Here's my fonts.conf file, as requested.

Thanks!
Comment 4 Bjoern Brauel (RETIRED) gentoo-dev 2002-11-20 09:10:52 UTC
hmm.. odd. Could you quickly try modifying your /etc/fonts/fonts.conf file with
the following:

---snip---
<!-- Font directory list configured for Gentoo -->

        <dir>/usr/share/fonts</dir>
        <dir>~/.fonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts/local</dir>
        <dir>/usr/X11R6/lib/X11/fonts/misc</dir>
        <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
        <dir>/usr/X11R6/lib/X11/fonts/Speedo</dir>
        <dir>/usr/X11R6/lib/X11/fonts/75dpi</dir>
        <dir>/usr/X11R6/lib/X11/fonts/100dpi</dir>
        <dir>/usr/X11R6/lib/X11/fonts/sharefont</dir>
        <dir>/usr/X11R6/lib/X11/fonts/freefont</dir>
        <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
        <dir>/usr/X11R6/lib/X11/fonts/truetype</dir>
        <dir>/usr/X11R6/lib/X11/fonts/100dpi</dir>
        <dir>/usr/X11R6/lib/X11/fonts/75dpi</dir>
        <dir>/usr/X11R6/lib/X11/fonts/CID</dir>
        <dir>/usr/X11R6/lib/X11/fonts/PEX</dir>
        <dir>/usr/X11R6/lib/X11/fonts/jmk</dir>
---snap---

Could you also verify what running eg gnome-terminal out of blackbox for example
does ? It'd be interesting to see if that works with and without xft enabled.
Oh , while at it , could you "attach" your ds20e so that I can test it myself ;)
? And you could try upgrading to glib-2.0.7 as well.

Comment 5 Matt Oquist 2002-11-20 10:08:33 UTC
1. I pasted the font directory list into my fonts.conf (in place of what was
there), but to no avail.

2.  I get the same error ("0x20000ec2b48 in g_private_get_posix_impl () from
/usr/lib/libgthread-2.0.so.0") when I run gnome-terminal in gdb, with
GDK_USE_XFT set to 0, 1, or undefined.

3. I am already running glib-2.0.7.

4. Sorry, the ds20e is real, physical "property", and as such, fits into the
category of things that can sensibly be "owned".  This also puts it in the
category of "things that cannot be transmitted as data".  ;-)

Bugzilla-newbie question: If I just reply to the emails, will our correspondence
be recorded in the same way?  (or should I keep using the web form?)

Comment 6 Bjoern Brauel (RETIRED) gentoo-dev 2002-12-07 06:18:15 UTC
so , I finally got my xp1000 (ev67) and I was able to reproduce your exact
problem. Still it is very odd, because Im not entirely sure whats causing it.
Could you please try a couple of things :

reemerge glib with flags only set to "-O2 -pipe"
run fc-cache in every font-path thats mentioned in your fonts.conf 
run gnome-terminal in a non-gnome session and check if it segfaults in the same
place (It did for me ... once !!)

and last: what kernel version are you running ?
Comment 7 Matt Oquist 2002-12-10 07:58:22 UTC
> reemerge glib with flags only set to "-O2 -pipe"                                
> run fc-cache in every font-path thats mentioned in your fonts.conf              
> run gnome-terminal in a non-gnome session and check if it segfaults in the same 
> place (It did for me ... once !!)                                               

Did all those things; I still got "0x20000ecc954 in g_private_get_posix_impl ()
from /usr/lib/libgthread-2.0.so.0"  :-(
                                                                                
> and last: what kernel version are you running ?                
vanilla-sources-2.4.19               
Comment 8 Bjoern Brauel (RETIRED) gentoo-dev 2002-12-10 08:49:50 UTC
right .. The problem is related to glib2.0.7 ! Emerge 2.0.6-r1 and it should work ! Im investigating the  problem right now . 
Comment 9 Aron Griffis (RETIRED) gentoo-dev 2003-02-06 18:12:22 UTC
I've just put in a patch to keep gnome-session-properties from segfaulting
on alpha.  I suspect this bug can be closed.  Reopen it if necessary, please.

gnome-session-2.0.9-r1 and gnome-session-2.2.0.2 have the fix.

Aron