<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - segfault in intel_update_image_buffers on alt+tab"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104392">104392</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>segfault in intel_update_image_buffers on alt+tab
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>17.3
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>spam3910807@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>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@entry=27356,
stat_loc=stat_loc@entry=0x7f69b0d6301c, options=options@entry=0) at
../sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00000000004524fc in mono_handle_native_sigsegv (signal=signal@entry=11,
ctx=ctx@entry=0x7f69b0d639c0, info=info@entry=0x7f69b0d63af0) at
mini-exceptions.c:2427
#2 0x0000000000607832 in mono_arch_handle_altstack_exception
(sigctx=sigctx@entry=0x7f69b0d639c0, siginfo=siginfo@entry=0x7f69b0d63af0,
fault_addr=<optimized out>, stack_ovf=stack_ovf@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@entry=0x154a6d0,
drawable=drawable@entry=0x13c2020) at mesa/drivers/dri/i965/brw_context.c:1698
#6 0x00007f69a496783e in intel_update_renderbuffers
(context=context@entry=0x15a4ac0, drawable=drawable@entry=0x13c2020) at
mesa/drivers/dri/i965/brw_context.c:1358
#7 0x00007f69a49678f7 in intel_prepare_render (brw=brw@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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>