Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409845 - x11-drivers/xf86-video-intel-2.18.0: lots of X crashes when opening pdf files with evince
Summary: x11-drivers/xf86-video-intel-2.18.0: lots of X crashes when opening pdf files...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-27 10:53 UTC by Pacho Ramos
Modified: 2012-05-08 09:30 UTC (History)
0 users

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


Attachments
xorg.conf (xorg.conf,322 bytes, text/plain)
2012-03-27 10:54 UTC, Pacho Ramos
Details
Xorg.0.log (Xorg.0.log.old,34.00 KB, text/plain)
2012-03-27 10:55 UTC, Pacho Ramos
Details
Xorg.0.log (Xorg.0.log.old,34.16 KB, text/plain)
2012-03-27 17:52 UTC, Pacho Ramos
Details
backtrace.log (backtrace.log,739 bytes, text/plain)
2012-03-27 19:00 UTC, Pacho Ramos
Details
core.xz (core.xz,294.93 KB, application/octet-stream)
2012-03-27 19:01 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2012-03-27 10:53:48 UTC
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
Comment 1 Pacho Ramos gentoo-dev 2012-03-27 10:54:41 UTC
Created attachment 306831 [details]
xorg.conf
Comment 2 Pacho Ramos gentoo-dev 2012-03-27 10:55:04 UTC
Created attachment 306833 [details]
Xorg.0.log
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-27 11:08:37 UTC
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.
Comment 4 Pacho Ramos gentoo-dev 2012-03-27 17:52:48 UTC
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?)
Comment 5 Pacho Ramos gentoo-dev 2012-03-27 17:59:52 UTC
Looks like disabling "sna" makes crashes to go away
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-27 18:13:34 UTC
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.
Comment 7 Pacho Ramos gentoo-dev 2012-03-27 18:40:35 UTC
(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)
Comment 8 Pacho Ramos gentoo-dev 2012-03-27 19:00:10 UTC
Created attachment 306889 [details]
backtrace.log

Finally got it but it's still useless (even if I have xorg-server with debugging symbols)
Comment 9 Pacho Ramos gentoo-dev 2012-03-27 19:01:08 UTC
Created attachment 306891 [details]
core.xz

This is the core file
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-27 19:44:42 UTC
The backtrace from attachment 306889 [details] looks different from the one in attachment 306877 [details]. They are probably unrelated crashes.
Comment 11 Pacho Ramos gentoo-dev 2012-03-29 14:11:53 UTC
(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)
Comment 12 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-29 14:19:06 UTC
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.
Comment 13 Pacho Ramos gentoo-dev 2012-03-30 11:12:04 UTC
I have debugging symbols for:
x11-drivers/xf86-video-intel
x11-base/xorg-server
Comment 14 Pacho Ramos gentoo-dev 2012-03-30 11:23:59 UTC
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 :(
Comment 15 Pacho Ramos gentoo-dev 2012-05-08 09:30:20 UTC
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)