Bug 30819 - [SNB] Mesa demos cause X crash with compiz, sometimes
Summary: [SNB] Mesa demos cause X crash with compiz, sometimes
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high critical
Assignee: Wang Zhenyu
QA Contact:
Depends on:
Reported: 2010-10-12 20:37 UTC by Yi Sun
Modified: 2010-11-02 17:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

dmesg when X crash (22.95 KB, text/plain)
2010-10-12 20:37 UTC, Yi Sun

Description Yi Sun 2010-10-12 20:37:13 UTC
platform: HuronRiver
kernel:    2.6.36-rc7

Mesa:           (master)b4277bc5843aca7f9e0ecc7e956733f1becd6ad6
Cairo:          (master)cb0bc64c16b3a38cbf0c622830c18ac9ea6e2ffe
Libva:          (master)6c372035373e531d2bb5608861adab3f6b2ff471

Bug detailed description:
Run mesa demos with compiz. After running several demos, X may crash. We debug X with gdb, the information is as following:

Program received signal SIGPIPE, Broken pipe.
0xb7747424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7747424 in __kernel_vsyscall ()
#1  0x009a138b in writev () from /lib/libc.so.6
#2  0x0809cffe in _XSERVTransSocketWritev (ciptr=0xa496598, buf=0xbf98e368,
    size=1) at /opt/X11R7/include/X11/Xtrans/Xtranssock.c:2184
#3  0x0809c78f in _XSERVTransWritev (ciptr=0xa496598, buf=0xbf98e368, size=1)
    at /opt/X11R7/include/X11/Xtrans/Xtrans.c:912
#4  0x080a7436 in FlushClient (who=0xa60eab0, oc=0xa610c88, __extraBuf=0x0,
    extraCount=0) at io.c:924
#5  0x080a8e8c in CloseDownConnection (client=0xa60eab0) at connection.c:1044
#6  0x080684d9 in CloseDownClient (client=0xa60eab0) at dispatch.c:3441
#7  0x0806e4de in Dispatch () at dispatch.c:441
#8  0x0806234a in main (argc=2, argv=0xbf98e574, envp=0xbf98e580) at main.c:287

Then, we are able to continue X but not crash. 

The dmesg when X crash refer to attachment.
Comment 1 Yi Sun 2010-10-12 20:37:41 UTC
Created attachment 39405 [details]
dmesg when X crash 

dmesg when X crash
Comment 2 Gordon Jin 2010-10-31 19:23:09 UTC
zhenyu can you reproduce?
Comment 3 Wang Zhenyu 2010-10-31 19:27:19 UTC
From dmesg, looks compiz segfault somewhere in libdrm_intel? I haven't seen this.
Comment 4 Wang Zhenyu 2010-11-02 01:25:22 UTC
please test with current mesa master, to see if this is already fixed.
Comment 5 Yi Sun 2010-11-02 01:52:50 UTC
I have run all the mesa demos and none of them causes hang or X crash.
Comment 6 Wang Zhenyu 2010-11-02 01:57:21 UTC
thanks for testing, so close this too.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.