[Bug 105509] SIGBUS, Bus error during command buffer recording
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 15 12:03:38 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105509
--- Comment #2 from Vyacheslav <ytriffy at gmail.com> ---
I recompiled mesa with --enable-debug and now I get assert failed which is more
useful.
0 in raise of /usr/lib/libc.so.6
1 in abort of /usr/lib/libc.so.6
2 in __assert_fail_base of /usr/lib/libc.so.6
3 in __assert_fail of /usr/lib/libc.so.6
4 in anv_block_pool_expand_range of vulkan/anv_allocator.c:327
5 in anv_block_pool_grow of vulkan/anv_allocator.c:521
6 in anv_block_pool_alloc_new of vulkan/anv_allocator.c:564
7 in anv_block_pool_alloc of vulkan/anv_allocator.c:582
8 in anv_fixed_size_state_pool_alloc_new of vulkan/anv_allocator.c:655
9 in anv_state_pool_alloc_no_vg of vulkan/anv_allocator.c:772
10 in anv_state_stream_alloc of vulkan/anv_allocator.c:909
11 in anv_cmd_buffer_alloc_dynamic_state of vulkan/anv_batch_chain.c:654
12 in anv_cmd_buffer_push_constants of vulkan/anv_cmd_buffer.c:729
13 in cmd_buffer_flush_push_constants of vulkan/genX_cmd_buffer.c:2420
14 in gen9_cmd_buffer_flush_state of vulkan/genX_cmd_buffer.c:2571
15 in gen9_CmdDrawIndexed of vulkan/genX_cmd_buffer.c:2709
This assert fails:
assert(size - center_bo_offset <=
BLOCK_POOL_MEMFD_SIZE - BLOCK_POOL_MEMFD_CENTER);
Because size=1073741824 is more than 1GB and block pools are restricted by 1GB:
/* Block pools are backed by a fixed-size 1GB memfd */
#define BLOCK_POOL_MEMFD_SIZE (1ul << 30)
Still don't know how to fix it. Is it valid behavior? Why it's not handled by
validation layers? Should I use a new command pool for next portion of objects?
--
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/20180315/5b60f719/attachment.html>
More information about the intel-3d-bugs
mailing list