<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 - Crash during texture upload linear_to_ytiled_faster"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107764">107764</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crash during texture upload linear_to_ytiled_faster
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>18.1
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>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/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>matteo.valdina@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>I'm facing a crash in the linear_to_ytiled_faster.
The renderer is a gstreamer-waylandsink and the wayland compositor is based on
weston 5.0 (the issue is the same with libweston 4.0)
I tried with Mesa 18.0.2 and 18.1.7.
The crash happened at the beginning and it is always reproducible.
Linux localhost 4.12.14-lp150.11-default #1 SMP Fri May 11 08:28:30 UTC 2018
(a9fee09) x86_64 x86_64 x86_64 GNU/Linux
#0 0x00007f298c251518 in linear_to_ytiled_faster (x0=0, x1=0, x2=<optimized
out>, x3=<optimized out>, y0=y0@entry=0, y1=y1@entry=32, dst=0x7f298886c000 "",
src=0x7f2989855000 <error: Cannot access memory at address 0x7f2989855000>,
src_pitch=3840, swizzle_bit=0, mem_copy=0x7f2990f0e0b0 <__memcpy_ssse3>)
at intel_tiled_memcpy.c:569
569 {
[Current thread is 1 (Thread 0x7f2992aad400 (LWP 14471))]
(gdb) bt
#0 0x00007f298c251518 in linear_to_ytiled_faster (x0=0, x1=0, x2=<optimized
out>, x3=<optimized out>, y0=y0@entry=0, y1=y1@entry=32, dst=0x7f298886c000 "",
src=0x7f2989855000 <error: Cannot access memory at address 0x7f2989855000>,
src_pitch=3840, swizzle_bit=0, mem_copy=0x7f2990f0e0b0 <__memcpy_ssse3>)
at intel_tiled_memcpy.c:569
#1 0x00007f298c252962 in linear_to_tiled (xt1=0, xt2=3840, yt1=0, yt2=1080,
dst=dst@entry=0x7f298886c000 "",
src=src@entry=0x7f2989855000 <error: Cannot access memory at address
0x7f2989855000>, dst_pitch=3840, src_pitch=3840, has_swizzling=false,
tiling=ISL_TILING_Y0, mem_copy=0x7f2990f0e0b0 <__memcpy_ssse3>) at
intel_tiled_memcpy.c:759
#2 0x00007f298c24ec28 in intel_texsubimage_tiled_memcpy (dims=2,
zoffset=<optimized out>, depth=1, packing=0x2281708, pixels=0x7f2989855000,
type=5121,
format=32993, height=1080, width=960, yoffset=<optimized out>,
xoffset=<optimized out>, texImage=0x2358e70, ctx=0x2278180) at
intel_tex_image.c:293
#3 intel_upload_tex (ctx=ctx@entry=0x2278180, dims=dims@entry=2,
texImage=texImage@entry=0x2358e70, xoffset=xoffset@entry=0,
yoffset=yoffset@entry=0,
zoffset=zoffset@entry=0, width=960, height=1080, depth=1, format=32993,
type=5121, pixels=0x7f2989855000, packing=0x2281708) at intel_tex_image.c:342
#4 0x00007f298c24eef1 in intelTexImage (ctx=0x2278180, dims=2,
texImage=0x2358e70, format=32993, type=5121, pixels=0x7f2989855000,
unpack=0x2281708)
at intel_tex_image.c:377
#5 0x00007f298bf5ff33 in teximage (no_error=false, pixels=0x7f2989855000,
imageSize=0, type=5121, format=32993, border=0, depth=<optimized out>,
height=<optimized out>, width=<optimized out>, internalFormat=<optimized
out>, level=0, target=3553, dims=2, compressed=0 '\000', ctx=0x2278180)
at main/teximage.c:3101
#6 teximage_err (ctx=0x2278180, compressed=compressed@entry=0 '\000',
dims=dims@entry=2, target=3553, level=0, internalFormat=<optimized out>,
width=960,
height=1080, depth=1, border=<optimized out>, format=32993, type=5121,
imageSize=0, pixels=0x7f2989855000) at main/teximage.c:3128
#7 0x00007f298bf61970 in _mesa_TexImage2D (target=<optimized out>,
level=<optimized out>, internalFormat=<optimized out>, width=<optimized out>,
height=<optimized out>, border=<optimized out>, format=32993, type=5121,
pixels=0x7f2989855000) at main/teximage.c:3166
#8 0x00007f298d2b1115 in gl_renderer_flush_damage (surface=<optimized out>) at
libweston/gl-renderer.c:1478
#9 0x00007f2991ec4ca8 in ?? () from /usr/lib64/libweston-5.so.0
#10 0x00007f2991ca2d59 in wl_event_source_timer_dispatch (source=0x21300a0,
ep=<optimized out>) at src/event-loop.c:236
#11 0x00007f2991ca3412 in wl_event_loop_dispatch (loop=0x2131180,
timeout=timeout@entry=-1) at src/event-loop.c:641
#12 0x00007f2991ca202a in wl_display_run (display=0x212f930) at
src/wayland-server.c:1260
#13 0x000000000040535a in Compositor::run (this=0x7fff2eb5f2a0)
at /home/mvaldina/GITLocal/compositor.cpp:155
#14 0x0000000000403346 in main (argc=1, argv=0x7fff2eb5f488) at
/home/mvaldina/GITLocal/main.cpp:114</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>