<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 missing slots in framebuffer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111802">111802</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>SegFault missing slots in framebuffer
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>not set
</td>
</tr>
<tr>
<th>Priority</th>
<td>not set
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Gallium/radeonsi
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jeroen@blender.org
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>This fault has been detected when using Blender (2.80 or master branch)
Steps to reproduce the error:
1. Start Blender
2. Go to edit mode (press tab)
3. Start Merge vertices tool (press ALT-M)
4. Select any mode (press ENTER)
And a segmentation fault happens.
This has been tested on Mesa 18.2.2, 19.0.8 and 19.3.0~dev.
The root cause is that you have a framebuffer with multiple color slots with
empty slots in between. If there is an empty color slot between the color
slots, all textures after this slot are apparently skipped/discarded.
Our work around is to reuse empty slots with other slots.
`gpu_framebuffer_update_attachments_and_fill_empty_slots`
in
<a href="https://developer.blender.org/diffusion/B/browse/master/source/blender/gpu/intern/gpu_framebuffer.c$429-483">https://developer.blender.org/diffusion/B/browse/master/source/blender/gpu/intern/gpu_framebuffer.c$429-483</a>
This issue also existed in the official AMD drivers, but has been solved to our
knowledge.
<a href="https://developer.blender.org/T70187">https://developer.blender.org/T70187</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>