<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 - SIGBUS, Bus error during command buffer recording"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105509">105509</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>SIGBUS, Bus error during command buffer recording
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Vulkan/intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ytriffy@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>jason@jlekstrand.net
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=138110" name="attach_138110" title="vulkaninfo">attachment 138110</a> <a href="attachment.cgi?id=138110&action=edit" title="vulkaninfo">[details]</a></span>
vulkaninfo
My system is Linux archlinux 4.15.8-1-ARCH #1 SMP PREEMPT Sat Mar 10 00:00:33
UTC 2018 x86_64 GNU/Linux.
My gpu is intel hd graphics 630.
I installed latest mesa from git (18.1.0_devel.100894.fcf267ba08)
When recording command buffer I get error:
Program received signal SIGBUS, Bus error.
anv_state_stream_alloc (stream=stream@entry=0x55559dbf9dd8, size=64,
alignment=alignment@entry=32) at vulkan/anv_allocator.c:913
913 VG_NOACCESS_WRITE(&sb->block, stream->block);
0 in anv_state_stream_alloc of vulkan/anv_allocator.c:913
1 in anv_cmd_buffer_alloc_dynamic_state of vulkan/anv_batch_chain.c:654
2 in anv_cmd_buffer_push_constants of vulkan/anv_cmd_buffer.c:729
3 in cmd_buffer_flush_push_constants of vulkan/genX_cmd_buffer.c:2420
4 in gen9_cmd_buffer_flush_state of vulkan/genX_cmd_buffer.c:2571
5 in gen9_CmdDrawIndexed of vulkan/genX_cmd_buffer.c:2709
6 in ?? of /usr/lib/libVkLayer_core_validation.so
7 in ?? of /usr/lib/libVkLayer_parameter_validation.so
8 in ?? of /usr/lib/libVkLayer_threading.so
9 in vkcmd_create_secondary_command_buffer of vkcmd.c:207
10 in vkcmd_create_secondary_command_buffer_for_inst of vkcmd.c:88
11 in scn_load_scene of scene.c:407
12 in create_scene of main.c:903
13 in main of main.c:583
I send push constants with matrix and color (80 bytes) for both stages. The
limit is 128 bytes so it should be fine. I get no validation output from
standard layer.
The function that creates secondary command buffer:
<a href="https://pastebin.com/vN2WjA1W">https://pastebin.com/vN2WjA1W</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>