← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 491474] [NEW] X server freezes when running Java application

 

You have been subscribed to a public bug:

Xorg freezes when running Java application. The Java application is a UI
application which simply displayes several windows. The freeze is hardly
reproducible and usually the UI application executes smoothly and
everything works fine. But occasionally it makes the system unusable:
mouse pointer still moves but the system doesn't respond. To recover the
system, I need to restart gdm.

My environment is Ubuntu 9.10,  X.Org X Server 1.6.4
Graphics card is Radeon 9600, default drivers.
Xorg.0.log and xorg.conf attached.

According to top, Xorg process is using 65% CPU.

During the freeze strace endlessly prints messages like this:

...
read(33, "&\4\2\0z\0\0\4", 4096)        = 8
writev(33, [{"\0\3?\211z\0\0\4\0\0&\10o\334\t\10\0\0\0\0\0\0\0\0\360m\355\10\3\0\0\0", 32}], 1) = 32
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {2898, 544030302}) = 0
select(256, [1 3 4 5 7 9 14 33 41], NULL, NULL, NULL) = 1 (in [33])
clock_gettime(CLOCK_MONOTONIC, {2898, 544345455}) = 0
setitimer(ITIMER_REAL, {it_interval={0, 20000}, it_value={0, 20000}}, NULL) = 0
...
read(33, "&\4\2\0z\0\0\4", 4096)        = 8
writev(33, [{"\0\3?\211z\0\0\4\0\0&\10o\334\t\10\0\0\0\0\0\0\0\0\360m\355\10\3\0\0\0", 32}], 1) = 32
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {2898, 544030302}) = 0
select(256, [1 3 4 5 7 9 14 33 41], NULL, NULL, NULL) = 1 (in [33])
clock_gettime(CLOCK_MONOTONIC, {2898, 544345455}) = 0
setitimer(ITIMER_REAL, {it_interval={0, 20000}, it_value={0, 20000}}, NULL) = 0
...

Here's a backtrace taken by gdb when Xorg freezes:

#0  0x004c2422 in __kernel_vsyscall ()
#1  0x00762a71 in writev () from /lib/tls/i686/cmov/libc.so.6
#2  0x0813a77e in _XSERVTransSocketWritev (ciptr=0x8ed6da0, buf=0xbf925f98, size=1) at /usr/include/X11/Xtrans/Xtranssock.c:2191
#3  0x08139e9f in _XSERVTransWritev (ciptr=0x8ed6da0, buf=0xbf925f98, size=1) at /usr/include/X11/Xtrans/Xtrans.c:912
#4  0x08135b46 in FlushClient (who=0x8ed6df0, oc=0x8ed6af0, __extraBuf=0x0, extraCount=0) at ../../os/io.c:899
#5  0x08136587 in FlushAllOutput () at ../../os/io.c:649
#6  0x0808d015 in Dispatch () at ../../dix/dispatch.c:475
#7  0x08072515 in main (argc=6, argv=0xbf926194, envp=0xbf9261b0) at ../../dix/main.c:397

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
X server freezes when running Java application
https://bugs.edge.launchpad.net/bugs/491474
You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu.