[Intel-gfx] Xorg[9132]: segfault at 0 ip 00007fbc84d6fb0d sp 00007ffca3765610 error 4 in intel_drv.so[7fbc84d4d000+18b000]

Marc MERLIN marc_xorg at merlins.org
Fri Dec 18 06:20:41 PST 2015


> Looking at dmesg I don't see the stuck pageflip anymore. It looks like the
> DDX is simply falling over itself, with now blame to the kernel here. Or
> if there is it's a new/different bug. So we need to restart triage and
> check whether this was introduced by a ddx or kernel upgrade.
> -Daniel
> 
> There was a resource leak that triggered an invalid object to be placed
> on the request list after an error path. That error path is fixed, the
> only question is who's resource leak was it..
> -Chris

Thanks both. I filed a bug as requested:
https://bugs.freedesktop.org/show_bug.cgi?id=93438

It just crashed again, same crash. Looks like I'm going to get a crash every
2 days or so at this stage.
This is pretty bad, I've already lost work because of this. Is there
anything I can try to get around this?
I think I can probably go back to kernel 4.1 unless you have other
suggestions. Things started getting much worse when I upgraded to 4.2.

Indeed, as you noticed I'm not getting hangs anymore, just straight crashes.
Actually the hangs were better because my laptop would recover after a few
minutes at most.

I'm currently booting with this:
acpi_backlight=vendor drm.debug=14

Here's the latest crash (looks identical):
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffd443fd000
0x00007fb7d96c8f33 in select () at ../sysdeps/unix/syscall-template.S:81
81	../sysdeps/unix/syscall-template.S: No such file or directory.
	in ../sysdeps/unix/syscall-template.S

Program received signal SIGUSR1, User defined signal 1.

Program received signal SIGSEGV, Segmentation fault.
0x00007fb7d53cdb0d in __kgem_retire_rq () from /usr/lib/xorg/modules/drivers/intel_drv.so
#0  0x00007fb7d53cdb0d in __kgem_retire_rq () from /usr/lib/xorg/modules/drivers/intel_drv.so
No locals.
#1  0x00007fb7d53cecb7 in __kgem_retire_requests_upto () from /usr/lib/xorg/modules/drivers/intel_drv.so
No locals.
#2  0x00007fb7d53da393 in __kgem_bo_is_busy.part.69 () from /usr/lib/xorg/modules/drivers/intel_drv.so
No locals.
#3  0x00007fb7d53ff9e5 in sna_put_zpixmap_blt.isra.92 () from /usr/lib/xorg/modules/drivers/intel_drv.so
No locals.
#4  0x00007fb7d53ffc59 in sna_put_image () from /usr/lib/xorg/modules/drivers/intel_drv.so
No locals.
#5  0x000056512d3673b3 in ?? ()
No symbol table info available.
#6  0x000056512d31c2d8 in ?? ()
No symbol table info available.
#7  0x000056512d31d715 in ?? ()
No symbol table info available.
#8  0x000056512d27ea1f in ?? ()
No symbol table info available.
#9  0x000056512d282b4b in ?? ()
No symbol table info available.
#10 0x00007fb7d960bb45 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
        intel_02_known = {{idx = 6 '\006', assoc = 4 '\004', linesize = 32 ' ', rel_name = 0 '\000', size = 8192}, {idx = 8 '\b', assoc = 4 '\004', linesize = 32 ' ', rel_name = 0 '\000', size = 16384}, {idx = 9 '\t', assoc = 4 '\004', linesize = 32 ' ', rel_name = 0 '\000', size = 32768}, {idx = 10 '\n', assoc = 2 '\002', linesize = 32 ' ', rel_name = 3 '\003', size = 8192}, {idx = 12 '\f', assoc = 4 '\004', linesize = 32 ' ', rel_name = 3 '\003', size = 16384}, {idx = 13 '\r', assoc = 4 '\004', linesize = 64 '@', rel_name = 3 '\003', size = 16384}, {idx = 14 '\016', assoc = 6 '\006', linesize = 64 '@', rel_name = 3 '\003', size = 24576}, {idx = 33 '!', assoc = 8 '\b', linesize = 64 '@', rel_name = 6 '\006', size = 262144}, {idx = 34 '"', assoc = 4 '\004', linesize = 64 '@', rel_name = 9 '\t', size = 524288}, {idx = 35 '#', assoc = 8 '\b', linesize = 64 '@', rel_name = 9 '\t', size = 1048576}, {idx = 37 '%', assoc = 8 '\b', linesize = 64 '@', rel_name = 9 '\t', size = 2097152}, {idx = 41 ')', assoc = 8 '\b', linesize = 64 '@', rel_name = 9 '\t', size = 4194304}, {idx = 44 ',', assoc = 8 '\b', linesize = 64 '@', rel_name = 3 '\003', size = 32768}, {idx = 48 '0', assoc = 8 '\b', linesize = 64 '@', rel_name = 0 '\000', size = 32768}, {idx = 57 '9', assoc = 4 '\004', linesize = 64 '@', rel_name = 6 '\006', size = 131072}, {idx = 58 ':', assoc = 6 '\006', linesize = 64 '@', rel_name = 6 '\006', size = 196608}, {idx = 59 ';', assoc = 2 '\002', linesize = 64 '@', rel_name = 6 '\006', size = 131072}, {idx = 60 '<', assoc = 4 '\004', linesize = 64 '@', rel_name = 6 '\006', size = 262144}, {idx = 61 '=', assoc = 6 '\006', linesize = 64 '@', rel_name = 6 '\006', size = 393216}, {idx = 62 '>', assoc = 4 '\004', linesize = 64 '@', rel_name = 6 '\006', size = 524288}, {idx = 63 '?', assoc = 2 '\002', linesize = 64 '@', rel_name = 6 '\006', size = 262144}, {idx = 65 'A', assoc = 4 '\004', linesize = 32 ' ', rel_name = 6 '\006', size = 131072}, {idx = 66 'B', assoc = 4 '\004', linesize = 32 ' ', rel_name = 6 '\006', size = 262144}, {idx = 67 'C', assoc = 4 '\004', linesize = 32 ' ', rel_name = 6 '\006', size = 524288}, {idx = 68 'D', assoc = 4 '\004', linesize = 32 ' ', rel_name = 6 '\006', size = 1048576}, {idx = 69 'E', assoc = 4 '\004', linesize = 32 ' ', rel_name = 6 '\006', size = 2097152}, {idx = 70 'F', assoc = 4 '\004', linesize = 64 '@', rel_name = 9 '\t', size = 4194304}, {idx = 71 'G', assoc = 8 '\b', linesize = 64 '@', rel_name = 9 '\t', size = 8388608}, {idx = 72 'H', assoc = 12 '\f', linesize = 64 '@', rel_name = 6 '\006', size = 3145728}, {idx = 73 'I', assoc = 16 '\020', linesize = 64 '@', rel_name = 6 '\006', size = 4194304}, {idx = 74 'J', assoc = 12 '\f', linesize = 64 '@', rel_name = 9 '\t', size = 6291456}, {idx = 75 'K', assoc = 16 '\020', linesize = 64 '@', rel_name = 9 '\t', size = 8388608}, {idx = 76 'L', assoc = 12 '\f', linesize = 64 '@', rel_name = 9 '\t', size = 12582912}, {idx = 77 'M', assoc = 16 '\020', linesize = 64 '@', rel_name = 9 '\t', size = 16777216}, {idx = 78 'N', assoc = 24 '\030', linesize = 64 '@', rel_name = 6 '\006', size = 6291456}, {idx = 96 '`', assoc = 8 '\b', linesize = 64 '@', rel_name = 3 '\003', size = 16384}, {idx = 102 'f', assoc = 4 '\004', linesize = 64 '@', rel_name = 3 '\003', size = 8192}, {idx = 103 'g', assoc = 4 '\004', linesize = 64 '@', rel_name = 3 '\003', size = 16384}, {idx = 104 'h', assoc = 4 '\004', linesize = 64 '@', rel_name = 3 '\003', size = 32768}, {idx = 120 'x', assoc = 8 '\b', linesize = 64 '@', rel_name = 6 '\006', size = 1048576}, {idx = 121 'y', assoc = 8 '\b', linesize = 64 '@', rel_name = 6 '\006', size = 131072}, {idx = 122 'z', assoc = 8 '\b', linesize = 64 '@', rel_name = 6 '\006', size = 262144}, {idx = 123 '{', assoc = 8 '\b', linesize = 64 '@', rel_name = 6 '\006', size = 524288}, {idx = 124 '|', assoc = 8 '\b', linesize = 64 '@', rel_name = 6 '\006', size = 1048576}, {idx = 125 '}', assoc = 8 '\b', linesize = 64 '@', rel_name = 6 '\006', size = 2097152}, {idx = 127 '\177', assoc = 2 '\002', linesize = 64 '@', rel_name = 6 '\006', size = 524288}, {idx = 128 '\200', assoc = 8 '\b', linesize = 64 '@', rel_name = 6 '\006', size = 524288}, {idx = 130 '\202', assoc = 8 '\b', linesize = 32 ' ', rel_name = 6 '\006', size = 262144}, {idx = 131 '\203', assoc = 8 '\b', linesize = 32 ' ', rel_name = 6 '\006', size = 524288}, {idx = 132 '\204', assoc = 8 '\b', linesize = 32 ' ', rel_name = 6 '\006', size = 1048576}, {idx = 133 '\205', assoc = 8 '\b', linesize = 32 ' ', rel_name = 6 '\006', size = 2097152}, {idx = 134 '\206', assoc = 4 '\004', linesize = 64 '@', rel_name = 6 '\006', size = 524288}, {idx = 135 '\207', assoc = 8 '\b', linesize = 64 '@', rel_name = 6 '\006', size = 1048576}, {idx = 208 '\320', assoc = 4 '\004', linesize = 64 '@', rel_name = 9 '\t', size = 524288}, {idx = 209 '\321', assoc = 4 '\004', linesize = 64 '@', rel_name = 9 '\t', size = 1048576}, {idx = 210 '\322', assoc = 4 '\004', linesize = 64 '@', rel_name = 9 '\t', size = 2097152}, {idx = 214 '\326', assoc = 8 '\b', linesize = 64 '@', rel_name = 9 '\t', size = 1048576}, {idx = 215 '\327', assoc = 8 '\b', linesize = 64 '@', rel_name = 9 '\t', size = 2097152}, {idx = 216 '\330', assoc = 8 '\b', linesize = 64 '@', rel_name = 9 '\t', size = 4194304}, {idx = 220 '\334', assoc = 12 '\f', linesize = 64 '@', rel_name = 9 '\t', size = 2097152}, {idx = 221 '\335', assoc = 12 '\f', linesize = 64 '@', rel_name = 9 '\t', size = 4194304}, {idx = 222 '\336', assoc = 12 '\f', linesize = 64 '@', rel_name = 9 '\t', size = 8388608}, {idx = 226 '\342', assoc = 16 '\020', linesize = 64 '@', rel_name = 9 '\t', size = 2097152}, {idx = 227 '\343', assoc = 16 '\020', linesize = 64 '@', rel_name = 9 '\t', size = 4194304}, {idx = 228 '\344', assoc = 16 '\020', linesize = 64 '@', rel_name = 9 '\t', size = 8388608}, {idx = 234 '\352', assoc = 24 '\030', linesize = 64 '@', rel_name = 9 '\t', size = 12582912}, {idx = 235 '\353', assoc = 24 '\030', linesize = 64 '@', rel_name = 9 '\t', size = 18874368}, {idx = 236 '\354', assoc = 24 '\030', linesize = 64 '@', rel_name = 9 '\t', size = 25165824}}
        __x86_shared_cache_size_half = 393216
        __x86_data_cache_size_half = 16384
        __x86_data_cache_size = 32768
        __x86_raw_shared_cache_size_half = 393216
        __x86_prefetchw = 0
        __x86_raw_data_cache_size_half = 16384
        __x86_raw_data_cache_size = 32768
        __x86_shared_cache_size = 786432
        __x86_raw_shared_cache_size = 786432
#11 0x000056512d26cf5e in _start ()
No symbol table info available.
[Thread 0x7fb7d5189700 (LWP 7164) exited]
[Thread 0x7fb7d4988700 (LWP 7165) exited]
[Thread 0x7fb7d4187700 (LWP 7166) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  


More information about the Intel-gfx mailing list