The X server crashes triggered by switching back from fullscreen mode (I found this to happen using flash player (e.g. youtube) or in some openGL application using a fullscreen mode). Reproducible: Always Steps to Reproduce: 1. run some youtube video in flash player 2. switch to fullscreen view (using button in flashplayer) 3. try to switch back using ESC Actual Results: X server crashes. Expected Results: don't crash I'm not entirely sure, but I think the intel driver is to blame. It had an update recently and I never experienced xserver crashes before. my gfx chip is a 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03) and I use Kernel 2.6.37.2 x11-base/xorg-server-1.9.4 x11-drivers/xf86-video-intel-2.14.0 media-libs/mesa-7.9.1 x11-libs/libdrm-2.4.23 from Xorg.0.log.old [ 198.748]. Backtrace: [ 198.767] 0: /usr/bin/X (xorg_backtrace+0x28) [0x4a1228] [ 198.767] 1: /usr/bin/X (0x400000+0x63579) [0x463579] [ 198.767] 2: /lib/libpthread.so.0 (0x7f7c42916000+0xf400) [0x7f7c42925400] [ 198.767] 3: /usr/lib64/dri/i965_dri.so (0x7f7c3f082000+0x7e052) [0x7f7c3f100052] [ 198.767] 4: /usr/lib64/dri/i965_dri.so (0x7f7c3f082000+0x67a86) [0x7f7c3f0e9a86] [ 198.768] 5: /usr/lib64/dri/i965_dri.so (0x7f7c3f082000+0x59914) [0x7f7c3f0db914] [ 198.768] 6: /usr/lib64/dri/i965_dri.so (0x7f7c3f082000+0x13630e) [0x7f7c3f1b830e] [ 198.768] 7: /usr/lib64/dri/i965_dri.so (0x7f7c3f082000+0x131ddc) [0x7f7c3f1b3ddc] [ 198.768] 8: /usr/lib64/dri/i965_dri.so (0x7f7c3f082000+0x133a82) [0x7f7c3f1b5a82] [ 198.768] 9: /usr/lib64/dri/i965_dri.so (0x7f7c3f082000+0x97e5e) [0x7f7c3f119e5e] [ 198.768] 10: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f7c40513000+0x32693) [0x7f7c40545693] [ 198.768] 11: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f7c40513000+0x369c2) [0x7f7c405499c2] [ 198.768] 12: /usr/bin/X (0x400000+0x2f139) [0x42f139] [ 198.768] 13: /usr/bin/X (0x400000+0x247ea) [0x4247ea] [ 198.768] 14: /lib/libc.so.6 (__libc_start_main+0xe6) [0x7f7c41899ba6] [ 198.768] 15: /usr/bin/X (0x400000+0x24389) [0x424389] [ 198.768] Segmentation fault at address (nil) [ 198.768]. Fatal server error: [ 198.768] Caught signal 11 (Segmentation fault). Server aborting [ 198.768]
I can also reproduce the crash with mplayer using the -vo gl option mplayer -vo gl whatever.avi then switching to fullscreen mode and back
The problem seems to be in mesa code. Do you use OpenGL compositing desktop effects? If yes, does the problem happen with compositing disabled? You could also try upgrading to mesa-7.10 and see if the problem still exists there.
Yes I use compositing effects. If I turn them off the problem is gone. I updated to mesa-7.10-r1 and (with compositing enabled) the problem is still there, even if it occurs less frequently. Sometimes, X does not crash but weird artifacts (parts of windows, incomplete windows etc) show up if I move windows or switch desktops. However, after switching openGL fullscreen apps a few times X always crashes. Xorg.log looks as in the first post.
Please attach your dmesg output.
Nothing in dmesg or /var/log/messages This is from Xorg.0.log.old [ 29120.958] Backtrace: [ 29120.958] 0: /usr/bin/X (xorg_backtrace+0x28) [0x4a1228] [ 29120.958] 1: /usr/bin/X (0x400000+0x63579) [0x463579] [ 29120.958] 2: /lib/libpthread.so.0 (0x7fd3745b7000+0xf400) [0x7fd3745c6400] [ 29120.958] 3: /usr/lib64/dri/i965_dri.so (0x7fd370d14000+0x80692) [0x7fd370d94692] [ 29120.958] 4: /usr/lib64/dri/i965_dri.so (0x7fd370d14000+0x6ba06) [0x7fd370d7fa06] [ 29120.958] 5: /usr/lib64/dri/i965_dri.so (0x7fd370d14000+0x5be7a) [0x7fd370d6fe7a] [ 29120.958] 6: /usr/lib64/dri/i965_dri.so (0x7fd370d14000+0x128437) [0x7fd370e3c437] [ 29120.958] 7: /usr/lib64/dri/i965_dri.so (0x7fd370d14000+0x11fa7c) [0x7fd370e33a7c] [ 29120.959] 8: /usr/lib64/dri/i965_dri.so (0x7fd370d14000+0x11faca) [0x7fd370e33aca] [ 29120.959] 9: /usr/lib64/dri/i965_dri.so (0x7fd370d14000+0x1f7b8e) [0x7fd370f0bb8e] [ 29120.959] 10: /usr/lib64/xorg/modules/extensions/libglx.so (0x7fd3721b4000+0x32693) [0x7fd3721e6693] [ 29120.959] 11: /usr/lib64/xorg/modules/extensions/libglx.so (0x7fd3721b4000+0x369c2) [0x7fd3721ea9c2] [ 29120.959] 12: /usr/bin/X (0x400000+0x2f139) [0x42f139] [ 29120.959] 13: /usr/bin/X (0x400000+0x247ea) [0x4247ea] [ 29120.959] 14: /lib/libc.so.6 (__libc_start_main+0xe6) [0x7fd37353aba6] [ 29120.959] 15: /usr/bin/X (0x400000+0x24389) [0x424389] [ 29120.959] Segmentation fault at address (nil) [ 29120.959] Fatal server error: [ 29120.959] Caught signal 11 (Segmentation fault). Server aborting [ 29120.959] [ 29120.959] Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 29120.959] Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 29120.959]
(In reply to comment #3) > Yes I use compositing effects. If I turn them off the problem is gone. > I updated to mesa-7.10-r1 and (with compositing enabled) the problem is still > there, even if it occurs less frequently. > Sometimes, X does not crash but weird artifacts (parts of windows, incomplete > windows etc) show up if I move windows or switch desktops. > However, after switching openGL fullscreen apps a few times X always crashes. > Xorg.log looks as in the first post. I have the same issue. I haven't tried moving windows or switching desktops though. Here is my upstream bug report I'm on x86 though. https://bugs.freedesktop.org/show_bug.cgi?id=35126
Happens here as well. Here's a backtrace from gdb: #0 0x00007fcf95b51935 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007fcf95b52db6 in abort () at abort.c:92 #2 0x000000000046588e in OsAbort () at /var/tmp/portage/x11-base/xorg-server-1.10.1/work/xorg-server-1.10.1/os/utils.c:1241 #3 0x00000000004704bc in ddxGiveUp () at /var/tmp/portage/x11-base/xorg-server-1.10.1/work/xorg-server-1.10.1/hw/xfree86/common/xf86Init.c:915 #4 0x000000000046211d in AbortServer () at /var/tmp/portage/x11-base/xorg-server-1.10.1/work/xorg-server-1.10.1/os/log.c:410 #5 0x000000000046232e in FatalError (f=0x57acb0 "Caught signal %d (%s). Server aborting\n") at /var/tmp/portage/x11-base/xorg-server-1.10.1/work/xorg-server-1.10.1/os/log.c:536 #6 0x000000000046317e in OsSigHandler (signo=11, sip=<value optimized out>, unused=<value optimized out>) at /var/tmp/portage/x11-base/xorg-server-1.10.1/work/xorg-server-1.10.1/os/osinit.c:153 #7 <signal handler called> #8 0x00007fcf9337cd41 in ?? () from /usr/lib64/dri/i965_dri.so #9 0x00007fcf93370571 in ?? () from /usr/lib64/dri/i965_dri.so #10 0x00007fcf93372b7a in ?? () from /usr/lib64/dri/i965_dri.so #11 0x00007fcf947e39ec in ?? () from /usr/lib64/xorg/modules/extensions/libglx.so #12 0x00007fcf947e60b2 in ?? () from /usr/lib64/xorg/modules/extensions/libglx.so #13 0x00000000004307f1 in Dispatch () at /var/tmp/portage/x11-base/xorg-server-1.10.1/work/xorg-server-1.10.1/dix/dispatch.c:431 #14 0x000000000042496d in main (argc=10, argv=<value optimized out>, envp=<value optimized out>) at /var/tmp/portage/x11-base/xorg-server-1.10.1/work/xorg-server-1.10.1/dix/main.c:287
Reopen if someone can reproduce. If you do, please report the bug upstream to bugs.freedesktop.org and add that bug to this one's URL field.