<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - texelFetch segfault in libLLVM-3.3.so (on Cayman)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71859#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - texelFetch segfault in libLLVM-3.3.so (on Cayman)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71859">bug 71859</a>
from <span class="vcard"><a class="email" href="mailto:alexandre.f.demers@gmail.com" title="Alexandre Demers <alexandre.f.demers@gmail.com>"> <span class="fn">Alexandre Demers</span></a>
</span></b>
<pre>Well, before looking at the backtrace, I want to flag I don't have the same
result with and without gdb. See below.
I ran one of the failing TexelFetch tests that was failing. Running
"/home/dema1701/projects/display/piglit/bin/texelFetch 140 vs usampler2DRect
-auto -fbo" in a terminal fails with the following:
VM start=0x800000 end=0x801000 | Buffer 4096 bytes
VM start=0x801000 end=0x811000 | Buffer 65536 bytes
VM start=0x811000 end=0x811010 | Buffer 16 bytes
VM start=0x812000 end=0x812038 | Buffer 56 bytes
VM start=0x813000 end=0x813038 | Buffer 56 bytes
VM start=0x814000 end=0x814020 | Buffer 32 bytes
VM start=0x815000 end=0x815028 | Buffer 40 bytes
VM start=0x816000 end=0x816010 | Buffer 16 bytes
ATTENTION: default value of option vblank_mode overridden by environment.
VM start=0x817000 end=0x827000 | Buffer 65536 bytes
VM start=0x827000 end=0x827010 | Buffer 16 bytes
VM start=0x828000 end=0x828038 | Buffer 56 bytes
VM start=0x829000 end=0x829038 | Buffer 56 bytes
VM start=0x82A000 end=0x82A020 | Buffer 32 bytes
VM start=0x82B000 end=0x82B028 | Buffer 40 bytes
VM start=0x82C000 end=0x82C010 | Buffer 16 bytes
VM start=0x830000 end=0x834000 | Texture 512x32x1, 1 levels, 1 samples,
i8_unorm
VM start=0x834000 end=0x844000 | Buffer 65536 bytes
VM start=0x82D000 end=0x82D080 | Buffer 128 bytes
VM start=0x82E000 end=0x82E020 | Buffer 32 bytes
VM start=0x82F000 end=0x82F010 | Buffer 16 bytes
VM start=0x848000 end=0x868000 | Texture 165x165x1, 1 levels, 1 samples,
r8g8_unorm
VM start=0x868000 end=0x87CA00 | Texture 165x165x1, 1 levels, 1 samples,
r8g8_unorm
VM start=0x844000 end=0x844078 | Buffer 120 bytes
VM start=0x845000 end=0x845190 | Buffer 400 bytes
VM start=0x846000 end=0x8466C0 | Buffer 1728 bytes
VM start=0x847000 end=0x8473C0 | Buffer 960 bytes
VM start=0x900000 end=0xB80000 | Texture 900x600x1, 1 levels, 1 samples,
b8g8r8x8_unorm
VM start=0xB80000 end=0xF55700 | Texture 900x600x1, 10 levels, 1 samples,
r8g8b8a8_unorm
65x32x1
VM start=0x880000 end=0x889000 | Texture 65x32x1, 1 levels, 1 samples,
r32g32b32a32_uint
VM start=0x889000 end=0x899000 | Texture 65x32x1, 1 levels, 1 samples,
r32g32b32a32_uint
VM start=0x899000 end=0x899050 | Buffer 80 bytes
VM start=0x89A000 end=0x8AA000 | Buffer 65536 bytes
VM start=0x8AA000 end=0x8AA050 | Buffer 80 bytes
VM start=0x8AB000 end=0x8B3200 | Buffer 33280 bytes
VM start=0x8B4000 end=0x8BC200 | Buffer 33280 bytes
VM start=0x8BD000 end=0x8BD0F8 | Buffer 248 bytes
Stack dump:
0. Running pass 'Function Pass Manager' on module 'tgsi'.
1. Running pass 'AMDGPU DAG->DAG Pattern Instruction Selection' on function
'@main'
Segmentation fault (core dumped)
---
Running the same thing, but with gdb as "gdb --args
/home/dema1701/projects/display/piglit/bin/texelFetch 140 vs usampler2DRect
-auto -fbo" ends with a PASS:
Starting program: /home/dema1701/projects/display/piglit/bin/texelFetch 140 vs
usampler2DRect -auto -fbo
warning: no loadable sections found in added symbol-file system-supplied DSO at
0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffef6e5700 (LWP 7915)]
VM start=0x800000 end=0x801000 | Buffer 4096 bytes
VM start=0x801000 end=0x811000 | Buffer 65536 bytes
VM start=0x811000 end=0x811010 | Buffer 16 bytes
VM start=0x812000 end=0x812038 | Buffer 56 bytes
VM start=0x813000 end=0x813038 | Buffer 56 bytes
VM start=0x814000 end=0x814020 | Buffer 32 bytes
VM start=0x815000 end=0x815028 | Buffer 40 bytes
VM start=0x816000 end=0x816010 | Buffer 16 bytes
ATTENTION: default value of option vblank_mode overridden by environment.
VM start=0x817000 end=0x827000 | Buffer 65536 bytes
VM start=0x827000 end=0x827010 | Buffer 16 bytes
VM start=0x828000 end=0x828038 | Buffer 56 bytes
VM start=0x829000 end=0x829038 | Buffer 56 bytes
VM start=0x82A000 end=0x82A020 | Buffer 32 bytes
VM start=0x82B000 end=0x82B028 | Buffer 40 bytes
VM start=0x82C000 end=0x82C010 | Buffer 16 bytes
VM start=0x830000 end=0x834000 | Texture 512x32x1, 1 levels, 1 samples,
i8_unorm
VM start=0x834000 end=0x844000 | Buffer 65536 bytes
VM start=0x82D000 end=0x82D080 | Buffer 128 bytes
VM start=0x82E000 end=0x82E020 | Buffer 32 bytes
VM start=0x82F000 end=0x82F010 | Buffer 16 bytes
VM start=0x848000 end=0x868000 | Texture 165x165x1, 1 levels, 1 samples,
r8g8_unorm
VM start=0x868000 end=0x87CA00 | Texture 165x165x1, 1 levels, 1 samples,
r8g8_unorm
VM start=0x844000 end=0x844078 | Buffer 120 bytes
VM start=0x845000 end=0x845190 | Buffer 400 bytes
VM start=0x846000 end=0x8466C0 | Buffer 1728 bytes
VM start=0x847000 end=0x8473C0 | Buffer 960 bytes
VM start=0x900000 end=0xB80000 | Texture 900x600x1, 1 levels, 1 samples,
b8g8r8x8_unorm
VM start=0xB80000 end=0xF55700 | Texture 900x600x1, 10 levels, 1 samples,
r8g8b8a8_unorm
65x32x1
VM start=0x880000 end=0x889000 | Texture 65x32x1, 1 levels, 1 samples,
r32g32b32a32_uint
VM start=0x889000 end=0x899000 | Texture 65x32x1, 1 levels, 1 samples,
r32g32b32a32_uint
VM start=0x899000 end=0x899050 | Buffer 80 bytes
VM start=0x89A000 end=0x8AA000 | Buffer 65536 bytes
VM start=0x8AA000 end=0x8AA050 | Buffer 80 bytes
VM start=0x8AB000 end=0x8B3200 | Buffer 33280 bytes
VM start=0x8B4000 end=0x8BC200 | Buffer 33280 bytes
VM start=0x8BD000 end=0x8BD0F8 | Buffer 248 bytes
VM start=0x8BE000 end=0x8BE040 | Buffer 64 bytes
VM start=0xF56000 end=0x1056000 | Buffer 1048576 bytes
VM start=0x8BF000 end=0x8BF038 | Buffer 56 bytes
VM start=0x8C0000 end=0x8C00F8 | Buffer 248 bytes
VM start=0x8C1000 end=0x8D1000 | Texture 65x32x1, 1 levels, 1 samples,
r32g32b32a32_float
[Thread 0x7fffef6e5700 (LWP 7915) exited]
PIGLIT: {'result': 'pass' }
[Inferior 1 (process 7911) exited normally]</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>