Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361365 - x11-base/xorg-x11-7.4-r1 Segmentation fault after some ACPI events
Summary: x11-base/xorg-x11-7.4-r1 Segmentation fault after some ACPI events
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major with 1 vote (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-30 19:07 UTC by Sujeet Akula
Modified: 2017-01-31 02:36 UTC (History)
1 user (show)

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 Sujeet Akula 2011-03-30 19:07:35 UTC
On my laptop, X11 crashes (segfaults) after laptop lid is re-opened. This happens whether or not the laptop is waking from the sleep state. However, it does not happen every time! I am using the i965 driver and KDE4.

Reproducible: Sometimes

Steps to Reproduce:
1. Login to KDE4 via kdm
2. Shut the laptop lid
3. Open the laptop lid
Actual Results:  
Screensaver/password prompt can be seen briefly just before segfault, and then kdm restarts.

Expected Results:  
One would hope that X would not crash.


Relevant portion of X.org.log:

[  2844.681] (II) intel(0): Modeline "1366x768"x0.0   72.00  1366 1414 1446 1494  768 771 777 803 -hsync -vsync (48.2 kHz)
[  3252.715] (EE) intel(0): [DRI2] DRI2SwapComplete: bad drawable
[  3333.114] (II) PM Event received: Capability Changed
[  3333.114] I830PMEvent: Capability change
[  3333.293] (II) intel(0): EDID vendor "AUO", prod id 4140
[  3333.293] (II) intel(0): Printing DDC gathered Modelines:
[  3333.293] (II) intel(0): Modeline "1366x768"x0.0   72.00  1366 1414 1446 1494  768 771 777 803 -hsync -vsync (48.2 kHz)
[  3514.032] (II) PM Event received: Capability Changed
[  3514.032] I830PMEvent: Capability change
[  3520.659] 
Backtrace:
[  3520.730] 0: /usr/bin/X (xorg_backtrace+0x28) [0x4a21d8]
[  3520.731] 1: /usr/bin/X (0x400000+0x63a89) [0x463a89]
[  3520.731] 2: /lib/libpthread.so.0 (0x7fba0fe1a000+0xf120) [0x7fba0fe29120]
[  3520.731] 3: /usr/lib64/dri/i965_dri.so (0x7fba0c588000+0x7e052) [0x7fba0c606052]
[  3520.731] 4: /usr/lib64/dri/i965_dri.so (0x7fba0c588000+0x67a86) [0x7fba0c5efa86]
[  3520.731] 5: /usr/lib64/dri/i965_dri.so (0x7fba0c588000+0x59914) [0x7fba0c5e1914]
[  3520.731] 6: /usr/lib64/dri/i965_dri.so (0x7fba0c588000+0x13630e) [0x7fba0c6be30e]
[  3520.731] 7: /usr/lib64/dri/i965_dri.so (0x7fba0c588000+0x131ddc) [0x7fba0c6b9ddc]
[  3520.731] 8: /usr/lib64/dri/i965_dri.so (0x7fba0c588000+0x133a82) [0x7fba0c6bba82]
[  3520.731] 9: /usr/lib64/dri/i965_dri.so (0x7fba0c588000+0x97e5e) [0x7fba0c61fe5e]
[  3520.731] 10: /usr/lib64/xorg/modules/extensions/libglx.so (0x7fba0de3a000+0x32693) [0x7fba0de6c693]
[  3520.731] 11: /usr/lib64/xorg/modules/extensions/libglx.so (0x7fba0de3a000+0x369c2) [0x7fba0de709c2]
[  3520.731] 12: /usr/bin/X (0x400000+0x2f2a9) [0x42f2a9]
[  3520.731] 13: /usr/bin/X (0x400000+0x2496a) [0x42496a]
[  3520.731] 14: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7fba0eda1bbd]
[  3520.731] 15: /usr/bin/X (0x400000+0x24509) [0x424509]
[  3520.731] Segmentation fault at address (nil)
[  3520.731] 
Fatal server error:
[  3520.731] Caught signal 11 (Segmentation fault). Server aborting

###########################################################################

Excerpt from /var/log/messages:
Mar 30 12:42:06 gluino kernel: [ 3333.077079] ACPI: BIOS _OSI(Linux) query ignored
Mar 30 12:42:06 gluino logger: ACPI event unhandled: button/lid LID 00000080 00000007
Mar 30 12:42:06 gluino logger: ACPI event unhandled: video VGA 00000080 00000000
Mar 30 12:45:06 gluino kernel: [ 3513.311389] ACPI: BIOS _OSI(Linux) query ignored
Mar 30 12:45:06 gluino kernel: [ 3513.311602] ACPI: BIOS _OSI(Linux) query ignored
Mar 30 12:45:07 gluino logger: ACPI event unhandled: button/lid LID 00000080 00000008
Mar 30 12:45:07 gluino logger: ACPI event unhandled: video VGA 00000080 00000000
Mar 30 12:45:14 gluino kdm[4303]: X server for display :0 terminated unexpectedly
Mar 30 12:45:14 gluino kdm: :0[6017]: pam_unix(kde:session): session closed for user sujeet
Mar 30 12:45:14 gluino acpid: client 6013[0:0] has disconnected
Mar 30 12:45:14 gluino acpid: client connected from 7671[0:0]
Mar 30 12:45:14 gluino acpid: 1 client rule loaded
Mar 30 12:45:14 gluino kernel: [ 3521.370110] ACPI Exception: AE_AML_BUFFER_LIMIT, Index (0x0000000000000074) is beyond end of object (20100702/exoparg2-418)
Mar 30 12:45:14 gluino kernel: [ 3521.370125] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.SBRG.EC0_.STBR] (Node ffff88013fc41118), AE_AML_BUFFER_LIMIT
Mar 30 12:45:14 gluino kernel: [ 3521.370139] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.VGA_.LCDD._BCM] (Node ffff88013fc3a2f8), AE_AML_BUFFER_LIMIT
Mar 30 12:45:14 gluino kernel: [ 3521.370154] ACPI Error: Evaluating _BCM failed (20100702/video-526)
Mar 30 12:45:14 gluino kernel: [ 3521.370483] ACPI Exception: AE_AML_BUFFER_LIMIT, Index (0x0000000000000074) is beyond end of object (20100702/exoparg2-418)
Mar 30 12:45:14 gluino kernel: [ 3521.370496] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.SBRG.EC0_.STBR] (Node ffff88013fc41118), AE_AML_BUFFER_LIMIT
Mar 30 12:45:14 gluino kernel: [ 3521.370509] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.VGA_.LCDD._BCM] (Node ffff88013fc3a2f8), AE_AML_BUFFER_LIMIT
Mar 30 12:45:14 gluino kernel: [ 3521.370523] ACPI Error: Evaluating _BCM failed (20100702/video-526)
Mar 30 12:45:19 gluino kdm: :0[7675]: pam_unix(kde:session): session opened for user sujeet by (uid=0)
Mar 30 12:45:19 gluino kernel: [ 3526.271332] ACPI Exception: AE_AML_BUFFER_LIMIT, Index (0x0000000000000074) is beyond end of object (20100702/exoparg2-418)
Mar 30 12:45:19 gluino kernel: [ 3526.271347] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.SBRG.EC0_.STBR] (Node ffff88013fc41118), AE_AML_BUFFER_LIMIT
Mar 30 12:45:19 gluino kernel: [ 3526.271361] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.VGA_.LCDD._BCM] (Node ffff88013fc3a2f8), AE_AML_BUFFER_LIMIT
Mar 30 12:45:19 gluino kernel: [ 3526.271377] ACPI Error: Evaluating _BCM failed (20100702/video-526)
Mar 30 12:45:20 gluino kernel: [ 3526.764499] EXT4-fs (sda5): re-mounted. Opts: commit=0

###########################################################################


gluino ~ # emerge --info
Portage 2.2.0_alpha26 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-Genuine_Intel-R-_CPU_U7300_@_1.30GHz-with-gentoo-1.12.14
Timestamp of tree: Fri, 11 Mar 2011 05:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo                                                                                                                                                                            
Installed sets:                                                                                                                                                                                 
ACCEPT_KEYWORDS="amd64"                                                                                                                                                                         
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 dlj-1.1 google-talkplugin"                                                                                                                             
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                                    
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"                                                                                                                                            
CHOST="x86_64-pc-linux-gnu"                                                                                                                                                                     
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"                                                                                                                          
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-march=core2 -O2 -fomit-frame-pointer -pipe"                                                                                                                                          
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ http://distfiles.gentoo.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US hi hi_IN"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 audiofile bash-completion bcmath berkdb blas branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups curl cxx dbus djvu doc dri dts dvd dvdr emboss encode examples exif fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gd gdbm gdu geoip gif gimp ginac glut gmp gnuplot gnutls gphoto gpm gps gsl gsm gstreamer gtk gzip hal handbook hddtemp iconv idn imagemagick imap ipod ipv6 jabber jack java javascript joystick jpeg jpeg2k kde kpathsea lame lapack laptop latex lcms ldap libcaca libnotify libwww lm_sensors lzma lzo mad matroska mikmod mime mmx mng modplug modules mono mozilla mp3 mp4 mpeg mpi mplayer mudflap multilib musepack musicbrainz mysql mysqli ncurses nls nntp npt nptl nptlonly nsplugin nspluginwrapper offensive ogg opengl openmp pam pango pcre pdf perl plasma plotutils png posix ppds pppd python qt3support qt4 quicktime raw rdesktop readline rss ruby samba sasl sdl semantic-desktop session shorten smp sockets sox spell sse sse2 ssl startup-notification subversion svg sysfs syslog sysvipc taglib tcpd theora threads tiff truetype udev unicode usb vcd vim vim-syntax vnc vorbis wavpack wifi wmf wxwidgets x264 xcb xcomposite xine xinerama xml xorg xpm xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="usb-audio 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" 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 keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US hi hi_IN" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matt Turner gentoo-dev 2017-01-30 18:42:50 UTC
If this is still a problem, this needs to be reported upstream. Distros are not going to solve this.
Comment 2 Sujeet Akula 2017-01-31 02:36:43 UTC
I can't remember if this ever got fixed in an update. This laptop was retired ~4 years ago.