Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57029 - expanding collapsing gtktreview crashes X server
Summary: expanding collapsing gtktreview crashes X server
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Lowest normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 07:54 UTC by giggles1
Modified: 2004-07-14 20:16 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 giggles1 2004-07-14 07:54:18 UTC
OK this is a strange one; I'm just submittingon the off chance some gentoo dev has heard of this or has a miraculous explanation.

Whenever I expand or collapse a gtktree view by clicking on the little "trangle of disclosure" X immediately crashes.  Howerver, this only happens if I log in through kdm or xdm. (!) If I log in via "startx" everything works perfectly.  This has happened with porthole, gconf-editor, gaim, and gtk-demo at least. All exactly the same crash immediately after hovering over a little tree view triangle. As far as I can tell, the apps still work perfectly well otherwise (I stll use gaim all the time, just have to make sure not to hit the triangles)

Unfortunately, the xorg logs have no useful info whatsoever, and straces of the offending apps are likewise useless (theyjust end with a read from the X server usually). Trying to attach strace or gdb to X itself has not been successful so far at all.  

The only difference can note for sure is that kdm, etc starts X with "X" and has an "-auth" argument, while startx starts X with "xnit" and ha no such argument.

I have recompiled gtk+ and all of it's deps. I am using Xorg. Also, this only happens on my laptop (P4, ATI drivers) and not my desktop (AMD, nvidia) and both have essentially identical CFLAGS, toolchains,  and kernels otherwise.

I know its a long show but any useful info or even suggestions about how to obtain better debugging info would be appreciated.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




laptop root # emerge info
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040619-r0,
2.6.7-gentoo-r8)
=================================================================
System uname: 2.6.7-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -fweb -ffast-math -march=pentium4 -ftracer -pipe -fomit-frame-pointer "
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -fweb -ffast-math -march=pentium4 -ftracer -pipe
-fomit-frame-pointer  -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.binarycompass.org http://gentoo.ccccom.com
http://gentoo.llarian.net/ http://mirror.tucdemonic.org/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acpi alsa apm arts artswrappersuid atlas avi berkdb
bonobo cddb cdr crypt cups curl dga directfb dnd dv dvd emacs encode esd ext-png
ext-zlib f77 faad fbcon fbdev ffmpeg fftw flac foomaticdb freetype fs gc gd
gd-external gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml
imagemagick imap imlib imlib2 java javascript jdepend jikes jpeg kde lcms libg++
libwww mad mikmod mmx mng motif mozdomi mozilla moznocompose moznoirc moznomail
mozsvg mozxmlterm mpeg mplayer ncurses nls nptl offensive oggvorbis opengl oss
pam passfile pcmcia pcre pdflib perl pic plotutils png ppds python qt qtmt
quicktime readline ruby samba sdl slang spell sse ssl svg svga tcltk tcpd tetex
threads tiff transcode truetype type1 usb vim-with-x wifi wmf x86 xml xml2 xmms
xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-07-14 12:47:18 UTC
well first sanitize your CFLAGS and recompile stuff.. the fact that you yourself can't reproduce it sais a lot. While at it, recompile with debugging support so if it keeps crashing (which i don't expect) you can get some decent output.
Comment 2 giggles1 2004-07-14 15:45:45 UTC
I recompiled gtk+ with "CFLAGS="-pipe" and the problem persists. xorg-x11 already strips it's own flags:

   # The next command strips CFLAGS and CXXFLAGS from nearly all flags.  If
   # you do not like it, comment it, but do not bugreport if you run into
   # problems.

(I haven't commented strip-flags out.) I don't think compiling in debugging symbols would be of use for anything oher than xorg-x11 itself.  straces on the offending apps just show the unix socket calls to X, but it is X itself that is crashing, not the apps. On the other hand, I have poked around but never been able to find a core file for X.  Do you know where they get written or if I have to configure something to get them dumped?
Comment 3 giggles1 2004-07-14 20:16:05 UTC
OK, re-emerging glibc (with the same CFLAGS as I had orginally) fixed.