From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 71859] texelFetch segfault in libLLVM-3.3.so (on Cayman) Date: Fri, 22 Nov 2013 03:53:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0372452104==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1E23FFAFAD for ; Thu, 21 Nov 2013 19:53:26 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0372452104== Content-Type: multipart/alternative; boundary="1385092406.BECb4EB0.23951"; charset="us-ascii" --1385092406.BECb4EB0.23951 Date: Fri, 22 Nov 2013 03:53:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D71859 --- Comment #7 from Alexandre Demers --- Replace "failing TexelFetch" by "crashing TexelFetch" (In reply to comment #6) > Well, before looking at the backtrace, I want to flag I don't have the sa= me > result with and without gdb. See below. >=20 > I ran one of the failing TexelFetch tests that was failing. Running > "/home/dema1701/projects/display/piglit/bin/texelFetch 140 vs usampler2DR= ect > -auto -fbo" in a terminal fails with the following: >=20 > VM start=3D0x800000 end=3D0x801000 | Buffer 4096 bytes > VM start=3D0x801000 end=3D0x811000 | Buffer 65536 bytes > VM start=3D0x811000 end=3D0x811010 | Buffer 16 bytes > VM start=3D0x812000 end=3D0x812038 | Buffer 56 bytes > VM start=3D0x813000 end=3D0x813038 | Buffer 56 bytes > VM start=3D0x814000 end=3D0x814020 | Buffer 32 bytes > VM start=3D0x815000 end=3D0x815028 | Buffer 40 bytes > VM start=3D0x816000 end=3D0x816010 | Buffer 16 bytes > ATTENTION: default value of option vblank_mode overridden by environment. > VM start=3D0x817000 end=3D0x827000 | Buffer 65536 bytes > VM start=3D0x827000 end=3D0x827010 | Buffer 16 bytes > VM start=3D0x828000 end=3D0x828038 | Buffer 56 bytes > VM start=3D0x829000 end=3D0x829038 | Buffer 56 bytes > VM start=3D0x82A000 end=3D0x82A020 | Buffer 32 bytes > VM start=3D0x82B000 end=3D0x82B028 | Buffer 40 bytes > VM start=3D0x82C000 end=3D0x82C010 | Buffer 16 bytes > VM start=3D0x830000 end=3D0x834000 | Texture 512x32x1, 1 levels, 1 sampl= es, > i8_unorm > VM start=3D0x834000 end=3D0x844000 | Buffer 65536 bytes > VM start=3D0x82D000 end=3D0x82D080 | Buffer 128 bytes > VM start=3D0x82E000 end=3D0x82E020 | Buffer 32 bytes > VM start=3D0x82F000 end=3D0x82F010 | Buffer 16 bytes > VM start=3D0x848000 end=3D0x868000 | Texture 165x165x1, 1 levels, 1 samp= les, > r8g8_unorm > VM start=3D0x868000 end=3D0x87CA00 | Texture 165x165x1, 1 levels, 1 samp= les, > r8g8_unorm > VM start=3D0x844000 end=3D0x844078 | Buffer 120 bytes > VM start=3D0x845000 end=3D0x845190 | Buffer 400 bytes > VM start=3D0x846000 end=3D0x8466C0 | Buffer 1728 bytes > VM start=3D0x847000 end=3D0x8473C0 | Buffer 960 bytes > VM start=3D0x900000 end=3D0xB80000 | Texture 900x600x1, 1 levels, 1 samp= les, > b8g8r8x8_unorm > VM start=3D0xB80000 end=3D0xF55700 | Texture 900x600x1, 10 levels, 1 sam= ples, > r8g8b8a8_unorm > 65x32x1 > VM start=3D0x880000 end=3D0x889000 | Texture 65x32x1, 1 levels, 1 sample= s, > r32g32b32a32_uint > VM start=3D0x889000 end=3D0x899000 | Texture 65x32x1, 1 levels, 1 sample= s, > r32g32b32a32_uint > VM start=3D0x899000 end=3D0x899050 | Buffer 80 bytes > VM start=3D0x89A000 end=3D0x8AA000 | Buffer 65536 bytes > VM start=3D0x8AA000 end=3D0x8AA050 | Buffer 80 bytes > VM start=3D0x8AB000 end=3D0x8B3200 | Buffer 33280 bytes > VM start=3D0x8B4000 end=3D0x8BC200 | Buffer 33280 bytes > VM start=3D0x8BD000 end=3D0x8BD0F8 | Buffer 248 bytes > Stack dump: > 0. Running pass 'Function Pass Manager' on module 'tgsi'. > 1. Running pass 'AMDGPU DAG->DAG Pattern Instruction Selection' on functi= on > '@main' > Segmentation fault (core dumped) >=20 > --- > Running the same thing, but with gdb as "gdb --args > /home/dema1701/projects/display/piglit/bin/texelFetch 140 vs usampler2DRe= ct > -auto -fbo" ends with a PASS: >=20 > Starting program: /home/dema1701/projects/display/piglit/bin/texelFetch 1= 40 > 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=3D0x800000 end=3D0x801000 | Buffer 4096 bytes > VM start=3D0x801000 end=3D0x811000 | Buffer 65536 bytes > VM start=3D0x811000 end=3D0x811010 | Buffer 16 bytes > VM start=3D0x812000 end=3D0x812038 | Buffer 56 bytes > VM start=3D0x813000 end=3D0x813038 | Buffer 56 bytes > VM start=3D0x814000 end=3D0x814020 | Buffer 32 bytes > VM start=3D0x815000 end=3D0x815028 | Buffer 40 bytes > VM start=3D0x816000 end=3D0x816010 | Buffer 16 bytes > ATTENTION: default value of option vblank_mode overridden by environment. > VM start=3D0x817000 end=3D0x827000 | Buffer 65536 bytes > VM start=3D0x827000 end=3D0x827010 | Buffer 16 bytes > VM start=3D0x828000 end=3D0x828038 | Buffer 56 bytes > VM start=3D0x829000 end=3D0x829038 | Buffer 56 bytes > VM start=3D0x82A000 end=3D0x82A020 | Buffer 32 bytes > VM start=3D0x82B000 end=3D0x82B028 | Buffer 40 bytes > VM start=3D0x82C000 end=3D0x82C010 | Buffer 16 bytes > VM start=3D0x830000 end=3D0x834000 | Texture 512x32x1, 1 levels, 1 sampl= es, > i8_unorm > VM start=3D0x834000 end=3D0x844000 | Buffer 65536 bytes > VM start=3D0x82D000 end=3D0x82D080 | Buffer 128 bytes > VM start=3D0x82E000 end=3D0x82E020 | Buffer 32 bytes > VM start=3D0x82F000 end=3D0x82F010 | Buffer 16 bytes > VM start=3D0x848000 end=3D0x868000 | Texture 165x165x1, 1 levels, 1 samp= les, > r8g8_unorm > VM start=3D0x868000 end=3D0x87CA00 | Texture 165x165x1, 1 levels, 1 samp= les, > r8g8_unorm > VM start=3D0x844000 end=3D0x844078 | Buffer 120 bytes > VM start=3D0x845000 end=3D0x845190 | Buffer 400 bytes > VM start=3D0x846000 end=3D0x8466C0 | Buffer 1728 bytes > VM start=3D0x847000 end=3D0x8473C0 | Buffer 960 bytes > VM start=3D0x900000 end=3D0xB80000 | Texture 900x600x1, 1 levels, 1 samp= les, > b8g8r8x8_unorm > VM start=3D0xB80000 end=3D0xF55700 | Texture 900x600x1, 10 levels, 1 sam= ples, > r8g8b8a8_unorm > 65x32x1 > VM start=3D0x880000 end=3D0x889000 | Texture 65x32x1, 1 levels, 1 sample= s, > r32g32b32a32_uint > VM start=3D0x889000 end=3D0x899000 | Texture 65x32x1, 1 levels, 1 sample= s, > r32g32b32a32_uint > VM start=3D0x899000 end=3D0x899050 | Buffer 80 bytes > VM start=3D0x89A000 end=3D0x8AA000 | Buffer 65536 bytes > VM start=3D0x8AA000 end=3D0x8AA050 | Buffer 80 bytes > VM start=3D0x8AB000 end=3D0x8B3200 | Buffer 33280 bytes > VM start=3D0x8B4000 end=3D0x8BC200 | Buffer 33280 bytes > VM start=3D0x8BD000 end=3D0x8BD0F8 | Buffer 248 bytes > VM start=3D0x8BE000 end=3D0x8BE040 | Buffer 64 bytes > VM start=3D0xF56000 end=3D0x1056000 | Buffer 1048576 bytes > VM start=3D0x8BF000 end=3D0x8BF038 | Buffer 56 bytes > VM start=3D0x8C0000 end=3D0x8C00F8 | Buffer 248 bytes > VM start=3D0x8C1000 end=3D0x8D1000 | Texture 65x32x1, 1 levels, 1 sample= s, > r32g32b32a32_float > [Thread 0x7fffef6e5700 (LWP 7915) exited] > PIGLIT: {'result': 'pass' } > [Inferior 1 (process 7911) exited normally] --=20 You are receiving this mail because: You are the assignee for the bug. --1385092406.BECb4EB0.23951 Date: Fri, 22 Nov 2013 03:53:26 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 7 on bug 71859<= /a> from Alexandre Demers
Replace "failing TexelFetch" by "crashing Texel=
Fetch"

(In reply to comment #6)
> Well, before looking at the backtrace, I want to=
 flag I don't have the same
> result with and without gdb. See below.
>=20
> I ran one of the failing TexelFetch tests that was failing. Running
> "/home/dema1701/projects/display/piglit/bin/texelFetch 140 vs usa=
mpler2DRect
> -auto -fbo" in a terminal fails with the following:
>=20
> VM start=3D0x800000  end=3D0x801000 | Buffer 4096 bytes
> VM start=3D0x801000  end=3D0x811000 | Buffer 65536 bytes
> VM start=3D0x811000  end=3D0x811010 | Buffer 16 bytes
> VM start=3D0x812000  end=3D0x812038 | Buffer 56 bytes
> VM start=3D0x813000  end=3D0x813038 | Buffer 56 bytes
> VM start=3D0x814000  end=3D0x814020 | Buffer 32 bytes
> VM start=3D0x815000  end=3D0x815028 | Buffer 40 bytes
> VM start=3D0x816000  end=3D0x816010 | Buffer 16 bytes
> ATTENTION: default value of option vblank_mode overridden by environme=
nt.
> VM start=3D0x817000  end=3D0x827000 | Buffer 65536 bytes
> VM start=3D0x827000  end=3D0x827010 | Buffer 16 bytes
> VM start=3D0x828000  end=3D0x828038 | Buffer 56 bytes
> VM start=3D0x829000  end=3D0x829038 | Buffer 56 bytes
> VM start=3D0x82A000  end=3D0x82A020 | Buffer 32 bytes
> VM start=3D0x82B000  end=3D0x82B028 | Buffer 40 bytes
> VM start=3D0x82C000  end=3D0x82C010 | Buffer 16 bytes
> VM start=3D0x830000  end=3D0x834000 | Texture 512x32x1, 1 levels, 1 sa=
mples,
> i8_unorm
> VM start=3D0x834000  end=3D0x844000 | Buffer 65536 bytes
> VM start=3D0x82D000  end=3D0x82D080 | Buffer 128 bytes
> VM start=3D0x82E000  end=3D0x82E020 | Buffer 32 bytes
> VM start=3D0x82F000  end=3D0x82F010 | Buffer 16 bytes
> VM start=3D0x848000  end=3D0x868000 | Texture 165x165x1, 1 levels, 1 s=
amples,
> r8g8_unorm
> VM start=3D0x868000  end=3D0x87CA00 | Texture 165x165x1, 1 levels, 1 s=
amples,
> r8g8_unorm
> VM start=3D0x844000  end=3D0x844078 | Buffer 120 bytes
> VM start=3D0x845000  end=3D0x845190 | Buffer 400 bytes
> VM start=3D0x846000  end=3D0x8466C0 | Buffer 1728 bytes
> VM start=3D0x847000  end=3D0x8473C0 | Buffer 960 bytes
> VM start=3D0x900000  end=3D0xB80000 | Texture 900x600x1, 1 levels, 1 s=
amples,
> b8g8r8x8_unorm
> VM start=3D0xB80000  end=3D0xF55700 | Texture 900x600x1, 10 levels, 1 =
samples,
> r8g8b8a8_unorm
> 65x32x1
> VM start=3D0x880000  end=3D0x889000 | Texture 65x32x1, 1 levels, 1 sam=
ples,
> r32g32b32a32_uint
> VM start=3D0x889000  end=3D0x899000 | Texture 65x32x1, 1 levels, 1 sam=
ples,
> r32g32b32a32_uint
> VM start=3D0x899000  end=3D0x899050 | Buffer 80 bytes
> VM start=3D0x89A000  end=3D0x8AA000 | Buffer 65536 bytes
> VM start=3D0x8AA000  end=3D0x8AA050 | Buffer 80 bytes
> VM start=3D0x8AB000  end=3D0x8B3200 | Buffer 33280 bytes
> VM start=3D0x8B4000  end=3D0x8BC200 | Buffer 33280 bytes
> VM start=3D0x8BD000  end=3D0x8BD0F8 | 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)
>=20
> ---
> Running the same thing, but with gdb as "gdb --args
> /home/dema1701/projects/display/piglit/bin/texelFetch 140 vs usampler2=
DRect
> -auto -fbo" ends with a PASS:
>=20
> Starting program: /home/dema1701/projects/display/piglit/bin/texelFetc=
h 140
> vs usampler2DRect -auto -fbo
> warning: no loadable sections found in added symbol-file system-suppli=
ed 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&quo=
t;?
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/usr/lib/libthread_db.so.1".
> [New Thread 0x7fffef6e5700 (LWP 7915)]
> VM start=3D0x800000  end=3D0x801000 | Buffer 4096 bytes
> VM start=3D0x801000  end=3D0x811000 | Buffer 65536 bytes
> VM start=3D0x811000  end=3D0x811010 | Buffer 16 bytes
> VM start=3D0x812000  end=3D0x812038 | Buffer 56 bytes
> VM start=3D0x813000  end=3D0x813038 | Buffer 56 bytes
> VM start=3D0x814000  end=3D0x814020 | Buffer 32 bytes
> VM start=3D0x815000  end=3D0x815028 | Buffer 40 bytes
> VM start=3D0x816000  end=3D0x816010 | Buffer 16 bytes
> ATTENTION: default value of option vblank_mode overridden by environme=
nt.
> VM start=3D0x817000  end=3D0x827000 | Buffer 65536 bytes
> VM start=3D0x827000  end=3D0x827010 | Buffer 16 bytes
> VM start=3D0x828000  end=3D0x828038 | Buffer 56 bytes
> VM start=3D0x829000  end=3D0x829038 | Buffer 56 bytes
> VM start=3D0x82A000  end=3D0x82A020 | Buffer 32 bytes
> VM start=3D0x82B000  end=3D0x82B028 | Buffer 40 bytes
> VM start=3D0x82C000  end=3D0x82C010 | Buffer 16 bytes
> VM start=3D0x830000  end=3D0x834000 | Texture 512x32x1, 1 levels, 1 sa=
mples,
> i8_unorm
> VM start=3D0x834000  end=3D0x844000 | Buffer 65536 bytes
> VM start=3D0x82D000  end=3D0x82D080 | Buffer 128 bytes
> VM start=3D0x82E000  end=3D0x82E020 | Buffer 32 bytes
> VM start=3D0x82F000  end=3D0x82F010 | Buffer 16 bytes
> VM start=3D0x848000  end=3D0x868000 | Texture 165x165x1, 1 levels, 1 s=
amples,
> r8g8_unorm
> VM start=3D0x868000  end=3D0x87CA00 | Texture 165x165x1, 1 levels, 1 s=
amples,
> r8g8_unorm
> VM start=3D0x844000  end=3D0x844078 | Buffer 120 bytes
> VM start=3D0x845000  end=3D0x845190 | Buffer 400 bytes
> VM start=3D0x846000  end=3D0x8466C0 | Buffer 1728 bytes
> VM start=3D0x847000  end=3D0x8473C0 | Buffer 960 bytes
> VM start=3D0x900000  end=3D0xB80000 | Texture 900x600x1, 1 levels, 1 s=
amples,
> b8g8r8x8_unorm
> VM start=3D0xB80000  end=3D0xF55700 | Texture 900x600x1, 10 levels, 1 =
samples,
> r8g8b8a8_unorm
> 65x32x1
> VM start=3D0x880000  end=3D0x889000 | Texture 65x32x1, 1 levels, 1 sam=
ples,
> r32g32b32a32_uint
> VM start=3D0x889000  end=3D0x899000 | Texture 65x32x1, 1 levels, 1 sam=
ples,
> r32g32b32a32_uint
> VM start=3D0x899000  end=3D0x899050 | Buffer 80 bytes
> VM start=3D0x89A000  end=3D0x8AA000 | Buffer 65536 bytes
> VM start=3D0x8AA000  end=3D0x8AA050 | Buffer 80 bytes
> VM start=3D0x8AB000  end=3D0x8B3200 | Buffer 33280 bytes
> VM start=3D0x8B4000  end=3D0x8BC200 | Buffer 33280 bytes
> VM start=3D0x8BD000  end=3D0x8BD0F8 | Buffer 248 bytes
> VM start=3D0x8BE000  end=3D0x8BE040 | Buffer 64 bytes
> VM start=3D0xF56000  end=3D0x1056000 | Buffer 1048576 bytes
> VM start=3D0x8BF000  end=3D0x8BF038 | Buffer 56 bytes
> VM start=3D0x8C0000  end=3D0x8C00F8 | Buffer 248 bytes
> VM start=3D0x8C1000  end=3D0x8D1000 | Texture 65x32x1, 1 levels, 1 sam=
ples,
> r32g32b32a32_float
> [Thread 0x7fffef6e5700 (LWP 7915) exited]
> PIGLIT: {'result': 'pass' }
> [Inferior 1 (process 7911) exited normally]


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1385092406.BECb4EB0.23951-- --===============0372452104== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0372452104==--