<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 - outlast segfault on start"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94284">94284</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>outlast segfault on start
</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/Gallium/radeonsi
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lordheavym@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>mesa-git master 1807806
llvm-svn master 261647
amdgpu/radeonsi with a R9 380
I have also a segfault with painkiller H&D.
Here is the backtrace for outlast:
--------8<--------
*** WARNING - PATHS MAY NOT BE VALID ***
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe63c1700 (LWP 10294)]
si_bind_sampler_states (ctx=0x1bb4da90, shader=<optimized out>,
start=<optimized out>, count=<optimized out>, states=0x2110bd80) at
si_descriptors.c:305
305 si_descriptors.c: Aucun fichier ou dossier de ce type.
(gdb) bt
#0 si_bind_sampler_states (ctx=0x1bb4da90, shader=<optimized out>,
start=<optimized out>, count=<optimized out>, states=0x2110bd80) at
si_descriptors.c:305
#1 0x00007fffeebb6688 in cso_single_sampler_done (shader_stage=<optimized
out>, ctx=<optimized out>) at cso_cache/cso_context.c:1215
#2 cso_set_samplers (ctx=ctx@entry=0x2110ba20,
shader_stage=shader_stage@entry=1, nr=nr@entry=1,
templates=templates@entry=0x7fffe63c08c0) at cso_cache/cso_context.c:1250
#3 0x00007fffeea6a4de in try_pbo_upload_common (ctx=ctx@entry=0x210b4d10,
surface=0x7fffa21ae550, xoffset=xoffset@entry=0, yoffset=yoffset@entry=0,
upload_width=4, upload_height=4, buffer=0x7fffa21ae310,
src_format=PIPE_FORMAT_R16G16B16A16_UINT, buf_offset=0, bytes_per_pixel=8,
stride=4, image_height=4) at state_tracker/st_cb_texture.c:1386
#4 0x00007fffeea6e8a7 in st_CompressedTexSubImage (ctx=ctx@entry=0x210b4d10,
dims=dims@entry=2, texImage=texImage@entry=0x7fffa21ae4e0, x=x@entry=0,
y=y@entry=0, z=z@entry=0, w=16, h=16, d=1, format=190,
imageSize=128, data=0x0) at state_tracker/st_cb_texture.c:2031
#5 0x00007fffeea6f392 in st_CompressedTexImage (ctx=0x210b4d10, dims=2,
texImage=0x7fffa21ae4e0, imageSize=128, data=0x0) at
state_tracker/st_cb_texture.c:2081
#6 0x00007fffee9fd7aa in teximage (ctx=0x210b4d10,
compressed=compressed@entry=1 '\001', dims=dims@entry=2, target=3553, level=2,
internalFormat=33777, width=16, height=16, depth=1, border=0, format=0,
type=0, imageSize=128, pixels=0x0) at main/teximage.c:2966
#7 0x00007fffeea0122e in _mesa_CompressedTexImage2D (target=<optimized out>,
level=<optimized out>, internalFormat=<optimized out>, width=<optimized out>,
height=<optimized out>, border=<optimized out>,
imageSize=128, data=0x0) at main/teximage.c:4352
#8 0x00000000024ebcdc in
TOpenGLTexture<(ERHIResourceTypes)18>::UpdateMip(unsigned int, unsigned int,
unsigned char*, unsigned int) ()
#9 0x00000000024ec0c5 in
TOpenGLTexture<(ERHIResourceTypes)18>::Unlock(unsigned int, unsigned int) ()
#10 0x0000000001b1f33d in FTexture2DResource::InitRHI() ()
#11 0x00000000024128ab in FRenderResource::InitResource() ()
#12 0x000000000241298e in
BeginInitResource(FRenderResource*)::InitCommand::Execute() ()
#13 0x0000000001a0f0a1 in RenderingThreadMain() ()
#14 0x0000000001a10949 in FRenderingThread::Run() ()
#15 0x0000000000f9c522 in FRunnableThreadPOSIX::Run() ()
#16 0x0000000000f9cc1e in FRunnableThreadPOSIX::_ThreadProc(void*) ()
#17 0x00007ffff6339424 in start_thread () from /usr/lib/libpthread.so.0
#18 0x00007ffff57dbcbd in clone () from /usr/lib/libc.so.6
(gdb) bt full
#0 si_bind_sampler_states (ctx=0x1bb4da90, shader=<optimized out>,
start=<optimized out>, count=<optimized out>, states=0x2110bd80) at
si_descriptors.c:305
slot = 0
i = <optimized out>
sctx = 0x1bb4da90
samplers = <optimized out>
desc = <optimized out>
sstates = 0x2110bd80
#1 0x00007fffeebb6688 in cso_single_sampler_done (shader_stage=<optimized
out>, ctx=<optimized out>) at cso_cache/cso_context.c:1215
i = <optimized out>
#2 cso_set_samplers (ctx=ctx@entry=0x2110ba20,
shader_stage=shader_stage@entry=1, nr=nr@entry=1,
templates=templates@entry=0x7fffe63c08c0) at cso_cache/cso_context.c:1250
info = 0x2110bd80
i = 3
temp = <optimized out>
error = PIPE_OK
#3 0x00007fffeea6a4de in try_pbo_upload_common (ctx=ctx@entry=0x210b4d10,
surface=0x7fffa21ae550, xoffset=xoffset@entry=0, yoffset=yoffset@entry=0,
upload_width=4, upload_height=4, buffer=0x7fffa21ae310,
src_format=PIPE_FORMAT_R16G16B16A16_UINT, buf_offset=0, bytes_per_pixel=8,
stride=4, image_height=4) at state_tracker/st_cb_texture.c:1386
first_element = 0
sampler_view = 0x0
last_element = 15
templ = {reference = {count = 0}, target = PIPE_BUFFER, format =
PIPE_FORMAT_R16G16B16A16_UINT, texture = 0x0, context = 0x0, u = {tex =
{first_layer = 0, last_layer = 0, first_level = 15,
last_level = 0}, buf = {first_element = 0, last_element = 15}},
swizzle_r = 0, swizzle_g = 1, swizzle_b = 2, swizzle_a = 3}
sampler = {wrap_s = 0, wrap_t = 0, wrap_r = 0, min_img_filter = 0,
min_mip_filter = 0, mag_img_filter = 0, compare_mode = 0, compare_func = 0,
normalized_coords = 0, max_anisotropy = 0,
seamless_cube_map = 0, lod_bias = 0, min_lod = 0, max_lod = 0,
border_color = {f = {0, 0, 0, 0}, i = {0, 0, 0, 0}, ui = {0, 0, 0, 0}}}
samplers = {0x7fffe63c08d0}
cso = <optimized out>
pipe = <optimized out>
depth = 1
skip_pixels = 0
success = false
constants = {xoffset = 0, yoffset = 0, stride = 8, image_size = 64}
#4 0x00007fffeea6e8a7 in st_CompressedTexSubImage (ctx=ctx@entry=0x210b4d10,
dims=dims@entry=2, texImage=texImage@entry=0x7fffa21ae4e0, x=x@entry=0,
y=y@entry=0, z=z@entry=0, w=16, h=16, d=1, format=190,
imageSize=128, data=0x0) at state_tracker/st_cb_texture.c:2031
texture = <optimized out>
pipe = <optimized out>
screen = <optimized out>
dst = <optimized out>
surface = 0x7fffa21ae550
store = {SkipBytes = 0, CopyBytesPerRow = 32, CopyRowsPerSlice = 4,
TotalBytesPerRow = 32, TotalRowsPerSlice = 4, CopySlices = 1}
copy_format = PIPE_FORMAT_R16G16B16A16_UINT
buf_offset = 0
success = false
#5 0x00007fffeea6f392 in st_CompressedTexImage (ctx=0x210b4d10, dims=2,
texImage=0x7fffa21ae4e0, imageSize=128, data=0x0) at
state_tracker/st_cb_texture.c:2081
No locals.
#6 0x00007fffee9fd7aa in teximage (ctx=0x210b4d10,
compressed=compressed@entry=1 '\001', dims=dims@entry=2, target=3553, level=2,
internalFormat=33777, width=16, height=16, depth=1, border=0, format=0,
type=0, imageSize=128, pixels=0x0) at main/teximage.c:2966
texImage = <optimized out>
func = 0x7fffeef85e65 "glCompressedTexImage"
unpack_no_border = {Alignment = 0, RowLength = 0, SkipPixels = 34,
SkipRows = 0, ImageHeight = 1026, SkipImages = 0, SwapBytes = 230 '\346',
LsbFirst = 241 '\361', Invert = 242 '\362',
CompressedBlockWidth = 32767, CompressedBlockHeight = 0,
CompressedBlockDepth = 0, CompressedBlockSize = -1575296272, BufferObj = 0xd0}
unpack = 0x210d0080
texObj = 0x7fffa21ab5a0
texFormat = MESA_FORMAT_RGBA_DXT1
dimensionsOK = 1 '\001'
sizeOK = <optimized out>
#7 0x00007fffeea0122e in _mesa_CompressedTexImage2D (target=<optimized out>,
level=<optimized out>, internalFormat=<optimized out>, width=<optimized out>,
height=<optimized out>, border=<optimized out>,
imageSize=128, data=0x0) at main/teximage.c:4352
No locals.
#8 0x00000000024ebcdc in
TOpenGLTexture<(ERHIResourceTypes)18>::UpdateMip(unsigned int, unsigned int,
unsigned char*, unsigned int) ()
No symbol table info available.
#9 0x00000000024ec0c5 in
TOpenGLTexture<(ERHIResourceTypes)18>::Unlock(unsigned int, unsigned int) ()
No symbol table info available.
#10 0x0000000001b1f33d in FTexture2DResource::InitRHI() ()
No symbol table info available.
#11 0x00000000024128ab in FRenderResource::InitResource() ()
No symbol table info available.
#12 0x000000000241298e in
BeginInitResource(FRenderResource*)::InitCommand::Execute() ()
No symbol table info available.
#13 0x0000000001a0f0a1 in RenderingThreadMain() ()
No symbol table info available.
#14 0x0000000001a10949 in FRenderingThread::Run() ()
No symbol table info available.
#15 0x0000000000f9c522 in FRunnableThreadPOSIX::Run() ()
No symbol table info available.
#16 0x0000000000f9cc1e in FRunnableThreadPOSIX::_ThreadProc(void*) ()
No symbol table info available.
#17 0x00007ffff6339424 in start_thread () from /usr/lib/libpthread.so.0
No symbol table info available.
#18 0x00007ffff57dbcbd in clone () from /usr/lib/libc.so.6
No symbol table info available.
(gdb) q
A debugging session is active.
Inferior 1 [process 10248] will be killed.
Quit anyway? (y or n) y
Game removed: AppID 238320 "Outlast", ProcID 10248
--------8<--------</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>