<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 vkCreateDescriptorPool in The-Forge on RADV"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110815">110815</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Segfault vkCreateDescriptorPool in The-Forge on RADV
</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/radeon
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>boberfly@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Hello,
I am using the oibaf mesa-vulkan-drivers which I believe is the latest git
(just updated to 30th May 2019 build here 19.2~git1906010730.755906~oibaf~b
running Linux Kernel 5.0.2 on Ubuntu 18.04). I have recently got segfaults when
running vkCreateDescriptorPool with The-Forge which has worked perfectly before
in the past on multiple OSes/Vulkan implementations, including RADV:
<a href="https://github.com/ConfettiFX/The-Forge">https://github.com/ConfettiFX/The-Forge</a>
I maintain a 'lite' edition so it is easier for me to embed into other
projects, which is probably easier to test with:
<a href="https://github.com/boberfly/The-Forge-Lite">https://github.com/boberfly/The-Forge-Lite</a>
I narrowed it down to this line crashing in the RADV vulkan driver when running
the 01_Transformations example:
<a href="https://github.com/boberfly/The-Forge-Lite/blob/v1.27/src/Renderer/Vulkan/Vulkan.cpp#L477">https://github.com/boberfly/The-Forge-Lite/blob/v1.27/src/Renderer/Vulkan/Vulkan.cpp#L477</a>
From:
<a href="https://github.com/boberfly/The-Forge-Lite/blob/v1.27/src/Examples/01_Transformations/01_Transformations.cpp#L226">https://github.com/boberfly/The-Forge-Lite/blob/v1.27/src/Examples/01_Transformations/01_Transformations.cpp#L226</a>
The error I get is pretty vague:
[1185298.570160] MainThread[39052]: segfault at c ip 00007fe119abd604 sp
00007ffc01e6afc8 error 4 in libvulkan_radeon.so[7fe11992b000+230000]
[1185298.570179] Code: 24 18 85 d2 41 89 94 24 00 02 00 00 0f 84 37 01 00 00 48
8d 44 24 10 45 31 f6 31 ed 45 31 ed 31 db 48 89 04 24 90 49 8b 57 18 <4a> 8b 34
32 43 89 5c 74 0c 8b 4e 04 4b 89 34 74 85 c9 74 2e 83 e9
I can only say that roughly a month ago this was running fine on an older RADV
version. I am using the latest Vulkan 1.1.106 SDK from LunarG as well.
Hardware: HP z620 w/ 2x Xeon E5-2680v2, AMD Radeon Vega Frontier Edition 16GB
I hope I have enough information here to explain the issue.</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>