<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 - Android 8.1: radv segfault with 3Dmark vulkan benchmarks"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107351">107351</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Android 8.1: radv segfault with 3Dmark vulkan benchmarks
</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>other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</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>issor.oruam@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=140796" name="attach_140796" title="logcat of api_overhead test">attachment 140796</a> <a href="attachment.cgi?id=140796&action=edit" title="logcat of api_overhead test">[details]</a></span>
logcat of api_overhead test
Hi,
while performing some test on vulkan radv HAL on Android 8.1 (oreo-x86)
build a segfault was noticed and traced with 3Dmark vulkan benchmark.
The build is experimental and based on hwcomposer.drm + gralloc.gbm
and tested on HD7790 gpu (Bonaire)
The same 3Dmark vulkan benchmarks work without segfault on Intel anv running on
Skylake GT2, so it is better to investigate why radv crashes.
Inspection of crash with addr2line -Cfe returns last line of code:
src/amd/vulkan/radv_image.c: 1289
Mauro Rossi
android-x86 team
--------- beginning of crash
07-22 21:31:15.938 4949 4995 F libc : Fatal signal 11 (SIGSEGV), code 1,
fault addr 0x1c in tid 4995 (Thread-9), pid 4949 (cation:workload)
...
07-22 21:31:15.956 5007 5007 F DEBUG : *** *** *** *** *** *** *** *** ***
*** *** *** *** *** *** ***
07-22 21:31:15.956 5007 5007 F DEBUG : Build fingerprint:
'Android-x86/android_x86_64/x86_64:8.1.0/OPM6.171019.030.E1/maur07141051:userdebug/test-keys'
07-22 21:31:15.956 5007 5007 F DEBUG : Revision: '0'
07-22 21:31:15.956 5007 5007 F DEBUG : ABI: 'x86'
07-22 21:31:15.956 5007 5007 F DEBUG : pid: 4949, tid: 4995, name: Thread-9
>>> com.futuremark.dmandroid.application:workload <<<
07-22 21:31:15.956 5007 5007 F DEBUG : signal 11 (SIGSEGV), code 1
(SEGV_MAPERR), fault addr 0x1c
07-22 21:31:15.956 5007 5007 F DEBUG : Cause: null pointer dereference
07-22 21:31:15.956 5007 5007 F DEBUG : eax 00000000 ebx c65b690c ecx
c2a6d0ac edx 00000097
07-22 21:31:15.956 5007 5007 F DEBUG : esi c2a6d0ac edi c1fbbb00
07-22 21:31:15.956 5007 5007 F DEBUG : xcs 00000023 xds 0000002b xes
0000002b xfs 0000006b xss 0000002b
07-22 21:31:15.956 5007 5007 F DEBUG : eip c64e0d47 ebp c2b7eb38 esp
c2b7eaf0 flags 00010286
07-22 21:31:16.071 5007 5007 F DEBUG :
07-22 21:31:16.071 5007 5007 F DEBUG : backtrace:
07-22 21:31:16.071 5007 5007 F DEBUG : #00 pc 000f1d47
/system/vendor/lib/hw/vulkan.radv.so (radv_image_create+199)
07-22 21:31:16.071 5007 5007 F DEBUG : #01 pc 000f2f26
/system/vendor/lib/hw/vulkan.radv.so (radv_CreateImage+166)
07-22 21:31:16.071 5007 5007 F DEBUG : #02 pc 0000b59a
/android/system/lib/libvulkan.so</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>