I attach Xorg.0.log with the crash, please tell me what packages do you usually want compiled with debugging symbols to get proper backtraces apart of intel driver. This is a regression over 2.17.0-r3, it also crashes in the same way with mesa-8.0.1-r2 or stable mesa Thanks Reproducible: Always Portage 2.1.10.51 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.6, glibc-2.13-r4, 3.3.0-gentoo x86_64) ================================================================= System uname: Linux-3.3.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.0.3 Timestamp of tree: Tue, 27 Mar 2012 08:00:01 +0000 ccache version 3.1.6 [enabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.4.6-r1, 4.5.3-r2, 4.6.2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask-write" FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/" LANG="es_ES.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" LINGUAS="es es_ES en_US" MAKEOPTS="-j5" PKGDIR="/usr/local/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 applet bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli colord consolekit cracklib crypt cups cvs cxx dbus djvu dri dts dvd dvdr dvi eds emboss enchant encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle iconv jpeg kpathsea latex lcms ldap libnotify lyx mad mms mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network-cron networkmanager nls nptl nptlonly ntfs ntp numa nvidia ogg opengl openmp optimized-qmake pam pango pch pcre pdf png policykit ppds pppd pulseaudio qt3support readline reiserfs scanner sdl session smp sna socialweb spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs t1lib tcpd test theora threads tiff truetype udev unicode usb v4l vaapi vcd vdpau vorbis wifi x264 xcb xml xorg xulrunner xv xvid youtube zlib" ALSA_CARDS="hda-intel" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa intel i915 i965" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 306831 [details] xorg.conf
Created attachment 306833 [details] Xorg.0.log
If no DRI is involved, having xf86-video-intel and xorg-server built with debug symbols is usually enough to get a meaningful backtrace. Also check whether that happens with sna disabled too.
Created attachment 306877 [details] Xorg.0.log Updated log after recompiling with debugging info (but the log looks to catch the same useless info :S, should I start X directly from gdb then? What is the easiest way to do that for X?)
Looks like disabling "sna" makes crashes to go away
http://www.x.org/wiki/Development/Documentation/ServerDebugging has some instructions for attaching gdb to the X server (it is recommended to use ssh). If you have a core dump, you can also load it in gdb and it should show the debug symbols.
(In reply to comment #6) > http://www.x.org/wiki/Development/Documentation/ServerDebugging has some > instructions for attaching gdb to the X server (it is recommended to use > ssh). If you have a core dump, you can also load it in gdb and it should > show the debug symbols. As I only have a machine now to get this I have tried to get a core without success: # ulimit -c unlimited # /etc/init.d/xdm restart -> make it crash, I am unable to find the core, should it be present on the same dir I launched X? (years have passed for me without using core files :S)
Created attachment 306889 [details] backtrace.log Finally got it but it's still useless (even if I have xorg-server with debugging symbols)
Created attachment 306891 [details] core.xz This is the core file
The backtrace from attachment 306889 [details] looks different from the one in attachment 306877 [details]. They are probably unrelated crashes.
(In reply to comment #10) > The backtrace from attachment 306889 [details] looks different from the one > in attachment 306877 [details]. They are probably unrelated crashes. But both were got opening pdf files (and only in that cases, also 100% reproducible in my case -> open pdf files -> X crashes)
One crash is in glx code, the other is in ddx. Try to get a stack trace with symbols for the ddx (intel_drv.so) crash. For the other one I am not sure why the libglx.so debug symbols are not displayed.
I have debugging symbols for: x11-drivers/xf86-video-intel x11-base/xorg-server
I am trying to get cores today but I am unable to find them :S, where should they be dropped? I have done the following: 1. Edit xorg.conf to put: Section "ServerFlags" Option "NoTrapSignals" EndSection 2. Run "ulimit -c unlimited" 3. /etc/init.d/xdm restart -> Reproduce the crash, but nothing in /root :(
This looks fixed in 2.19.0 :D The problem is that I finally was unable to get a proper backtrace :( (then, if problem reappears... :S)