Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80642 - Xorg-* X server hardlocks / Freezes are triggered by link clicking or scrolling webpages.
Summary: Xorg-* X server hardlocks / Freezes are triggered by link clicking or scrolli...
Status: RESOLVED DUPLICATE of bug 74092
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-03 14:59 UTC by Nuno Alexandre
Modified: 2005-07-17 13:06 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 Nuno Alexandre 2005-02-03 14:59:52 UTC
The Issue im about to describe is widely known as "Grip of Death"[1], "X hardlocks"[2] "Xorg freezes" and the like, amongs Xorg (Gentoo) users.

[1] Grip Of death = X uses 100% cpu and crashes, however you can still use the mouse, but can't click on anything / there is no input.
Its possible to SSH and continue to use the system, however restarting the X server is in some cases not possible.
Rebooting the machine is the only way to regain a working X setup.

[2] Hardlock = The mouse stops working, the keyboard stops working, X freezes.
 There is strong evidences that You can still login via SSH and use the system, however restarting X can in some cases not be possible, rebooting the machine is the only solution to regain a working X server.

Using any version of Xorg X server:
The "bug" can be triggered by using mozilla-1.7.5, firefox-1.0 or the latest Opera-7.54-r1.
Simply by using the described browsers (default setup or customized, no difference) and use the mouse-wheel to scrool a webpage, click on some links and eventually, diverging from  1 to 10-20  minutes you get a hardlock*

Some users have reported that using GTK2 applications where scroolbars are used, led to the "bug" known as "Grip of death" and "X hardlocks"

Please see the follwing forum threads:
http://forums.gentoo.org/viewtopic.php?t=215629
http://forums.gentoo.org/viewtopic.php?t=288291
http://forums.gentoo.org/viewtopic.php?t=284541
http://forums.gentoo.org/viewtopic.php?t=278009
http://forums.gentoo.org/viewtopic.php?t=273616
http://forums.gentoo.org/viewtopic.php?t=275286

And if it wasnt so late and I had to get up early to go to work, I would have found some more, but I hope these can do some good.

Some mention in the some of the threads that nvidia/Ati are to blame for these issues, but what about those of us, including myself, that don't use either one of those drivers and still experience those same symptoms?

Today I reverted my system back to Xfree-4.3.99.902-r2 and until now, its working fine, both under load and while no load.
I strongly believe that Xorg is the source of all evil in this context.


ps: this affects both x86 and x86_64. It is unknown to me weather it affects other archs.






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




Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.11-rc3 x86_64)
=================================================================
System uname: 2.6.11-rc3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 25 2005, 18:17:54)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoclean autoconfig ccache distlocks noinfo notitles sandbox"
GENTOO_MIRRORS="http://mirror.uni-c.dk/gentoo/ ftp://ftp.dkuug.dk/pub/gentoo/
ftp://rsync.gentoo.diku.dk http://ftp.du.se/pub/os/gentoo"
LANG="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa cdr f77 flac ipv6 ithreads jpeg lzw mozilla ncurses nptl
nptlonly oggvorbis opengl perl pic png python ssl truetype truetype-fonts usb
userlocales xpm xrandr xv"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-03 15:07:30 UTC
Can you (1) Try 6.8.1.904 and (2) search bugs.freedesktop.org for this?
Comment 2 Nuno Alexandre 2005-02-03 15:28:58 UTC
Bugs found:
(known as Grip of death bug )
https://bugs.freedesktop.org/show_bug.cgi?id=2155

(hardlocks)
https://bugs.freedesktop.org/show_bug.cgi?id=1959

Both seem to ahev the exact same symptoms as decribed by many users in the gentoo forums and resumed in this bug submition.
That is, the hardlock"/grip of death/" when using a browser(mozilla's'/Opera) 
and the hardlocks where X uses 100% cpu/crashes.
In both cases login remotly is possible, but without being able to restart the X process.
Comment 3 Nuno Alexandre 2005-02-03 15:32:57 UTC
looks like this is related:
https://bugs.freedesktop.org/show_bug.cgi?id=1295

Mouse action in the browser triggers the freezes.
However the user describes, as possible to enter screen and back to X.
Comment 4 Nuno Alexandre 2005-02-03 15:35:34 UTC
another Gentoo user (goh) where Xorg locks.
https://bugs.freedesktop.org/show_bug.cgi?id=2266

Comment 5 Nuno Alexandre 2005-02-03 15:36:32 UTC
about you question if I tried 6.8.1.904 , yes I did and it hardlocks/freezes as well.
Comment 6 Marcel Klein 2005-02-07 04:48:13 UTC
I have the same problem with my ATI M Radeon 9200 (ati-drivers 8.8.25-r3)
When I use firefox Xorg freezes and when I ssh into my pc I see that X is using 100% of my CPU sometimes I'm able to restart the X server and sometimes not.
And the logs show nothing. -.-

I tryed some things and it always takes longer until X freezes:

opengl-update ati (X freezes pretty fast)
opengl-update xorg-x11 (It takes longer but X still freezes)
I disabled glx and dri in my /etc/X11/xorg.conf (No freeze _yet_)


You said that you don't get these freezes with XFree86, right? I also had these freezes on my debian system with XFree86 Version 4.3.0.1 .

I fear that it's a kernel problem because I never had such problems on a system with linux 2.4.28, now I'm running 2.6.10.
Comment 7 Nuno Alexandre 2005-02-07 07:57:11 UTC
it freezes with xfree as well im affraid, it took longer to happen but it did eventually.

But since Xorg code(most of it) comes from XFree it didnt suprised me much.
Comment 8 Mandy 2005-02-24 12:29:36 UTC
I am having this problem and have done since installing gentoo. It does not appear to be specifically hardware related as is posted sometimes concerning Nvidia cards. Also, applications used are not in support of my system either as I do not use a lot mentioned. X will freeze on me simply by starting it. On ocassion I have mouse control but no keyboard and can open programs so long as I have a mouse. My freezes occur it seems mainly when I let my system idle or if I try to exit. Note however that once in X there is no going anywhere else. I can putty into my system and log in but cannot kill X. This problem is static but causes seem to be random. I have posted my system info below in case it might help. 

***Emerge Info***
Gentoo Base System version 1.4.16
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.28-gentoo-r5 i686)
=================================================================
System uname: 2.4.28-gentoo-r5 i686 Mobile Intel(R) Celeron(R) CPU 2.20GHz
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 16 2005, 13:03:20)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 OSS X alsa apm arts avi berkdb bitmap-fonts crypt cups curl doc encode esd f77 fam font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

***lspci Info***
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 650/M650 Host (rev 80)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge) (rev 25)
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
0000:00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
0000:00:0a.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter

***Proc Info***
Linux 2.4.28-gentoo-r5 (root@livecd) (gcc 3.3.5 ) #2 1CPU [Obscene]

Memory:      Total        Used        Free      Shared     Buffers      Cached
Mem:        221424       77724      143700           0       10940       54976
Swap:       498004           0      498004

Bootup: Thu Feb 24 13:24:58 2005    Load average: 0.34 0.17 0.05 1/22 10222

user  :       0:00:22.95   1.7%  page in :    65049  disk 1:     6303r     408w
nice  :       0:00:00.00   0.0%  page out:     4293
system:       0:00:23.19   1.7%  swap in :        1
idle  :       0:21:49.12  96.6%  swap out:        0
uptime:       0:22:35.25         context :    19536

irq  0:    135526 timer                 irq  6:         1                      
irq  1:       653 keyboard              irq  9:         0 Texas Instruments PC 
irq  2:         0 cascade [4]           irq 11:         1                      
irq  4:       116 eth0                  irq 14:     11202 ide0                 
irq  5:         0 SiS SI7012            irq 15:         3 ide1                 

Kernel Command Line:
  root=/dev/hda4 

Modules:
 27  snd-seq-oss      4  snd-seq-midi-e  39 *snd-seq          4  snd-seq-device 
 38  snd-pcm-oss     13  snd-mixer-oss   20  snd-intel8x0    58  snd-ac97-codec 
 63  snd-pcm         15  snd-timer       36  snd              5  snd-page-alloc 

Character Devices:                      Block Devices:
  1 mem              14 sound             3 ide0            
  2 pty/m%d         116 alsa              7 loop            
  3 pty/s%d         128 ptm              22 ide1            
  4 tts/%d          136 pts/%d                               
  5 cua/%d          162 raw                                  
  7 vcs             180 usb                                  
 10 misc            254 pcmcia                               

File Systems:
[rootfs]            [bdev]              [proc]              [sockfs]            
[tmpfs]             [shm]               [pipefs]            [binfmt_misc]       
ext3                ext2                [ramfs]             iso9660             
[devfs]             [nfs]               [autofs]            [devpts]            



Comment 9 Anthony Giorgio 2005-03-11 07:29:19 UTC
The same thing happened TWICE to me today when pasting some text into a gentoo bugzilla form from Firefox 1.0.1.  The mouse pointer would still move, but the pointer icon changed to an "I-bar" and remained that way, regardless of what I pointed it at.  The keyboard became non-responsive, but xmms continued to play an MP3 stream without interruption.

I was forced to reboot the system to regain X functionality.
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2005-03-11 11:50:39 UTC

*** This bug has been marked as a duplicate of 74092 ***