[Bug 104392] segfault in intel_update_image_buffers on alt+tab

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 27 11:15:33 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=104392

            Bug ID: 104392
           Summary: segfault in intel_update_image_buffers on alt+tab
           Product: Mesa
           Version: 17.3
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: spam3910807 at gmail.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

When playing SHENZHEN_IO and switching to another window using alt+tab, the
game crashes:

Thread 1 (Thread 0x7f69b0d32780 (LWP 27202)):
#0  0x00007f69b01f4890 in __waitpid (pid=pid at entry=27356,
stat_loc=stat_loc at entry=0x7f69b0d6301c, options=options at entry=0) at
../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x00000000004524fc in mono_handle_native_sigsegv (signal=signal at entry=11,
ctx=ctx at entry=0x7f69b0d639c0, info=info at entry=0x7f69b0d63af0) at
mini-exceptions.c:2427
#2  0x0000000000607832 in mono_arch_handle_altstack_exception
(sigctx=sigctx at entry=0x7f69b0d639c0, siginfo=siginfo at entry=0x7f69b0d63af0,
fault_addr=<optimized out>, stack_ovf=stack_ovf at entry=0) at
exceptions-amd64.c:795
#3  0x0000000000461a17 in mono_sigsegv_signal_handler (_dummy=11,
_info=0x7f69b0d63af0, context=0x7f69b0d639c0) at mini-runtime.c:2865
#4  <signal handler called>
#5  0x00007f69a4965513 in intel_update_image_buffers (brw=brw at entry=0x154a6d0,
drawable=drawable at entry=0x13c2020) at mesa/drivers/dri/i965/brw_context.c:1698
#6  0x00007f69a496783e in intel_update_renderbuffers
(context=context at entry=0x15a4ac0, drawable=drawable at entry=0x13c2020) at
mesa/drivers/dri/i965/brw_context.c:1358
#7  0x00007f69a49678f7 in intel_prepare_render (brw=brw at entry=0x154a6d0) at
mesa/drivers/dri/i965/brw_context.c:1379
#8  0x00007f69a49632a0 in brw_clear (ctx=0x154a6d0, mask=256) at
mesa/drivers/dri/i965/brw_clear.c:278
#9  0x00007f69a4597ce5 in clear (no_error=false, mask=16384, ctx=0x154a6d0) at
mesa/main/clear.c:221
#10 _mesa_Clear (mask=<optimized out>) at mesa/main/clear.c:242

Looks like a segfault at mesa/drivers/dri/i965/brw_context.c:1698

1697 if (images.image_mask & __DRI_IMAGE_BUFFER_BACK) {
1698    drawable->w = images.back->width;
1699    drawable->h = images.back->height;
1700    intel_update_image_buffer(brw,
1701                              drawable,
1702                              back_rb,
1703                              images.back,
1704                              __DRI_IMAGE_BUFFER_BACK);
1705 }

mesa 17.3.0
kde plasma 5.11.4
xorg-server 1.19.5 + glamor
kernel 4.14.8
gentoo ~amd64

Extended renderer info (GLX_MESA_query_renderer):
  Vendor: Intel Open Source Technology Center (0x8086)
  Device: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2)  (0x5916)

Reproduces very reliably, but not every time. Just start the game and alt-tab
between konsole/firefox/game 2-3 times.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20171227/77fe8c53/attachment.html>


More information about the intel-3d-bugs mailing list