[Bug 71859] texelFetch segfault in libLLVM-3.3.so (on Cayman)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Nov 21 19:55:14 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=71859
--- Comment #8 from Alexandre Demers <alexandre.f.demers at gmail.com> ---
I ran a different crashing texelFetch test and gdb gave me a segfault with a
backtrace:
gdb --args /home/dema1701/projects/display/piglit/bin/texelFetch vs
isampler2DArray b0r1 -auto -fbo
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/dema1701/projects/display/piglit/bin/texelFetch...done.
(gdb) run
Starting program: /home/dema1701/projects/display/piglit/bin/texelFetch vs
isampler2DArray b0r1 -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 7984)]
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
65x32x5
VM start=0x880000 end=0x8FC000 | Texture 65x32x5, 7 levels, 1 samples,
r32g32b32a32_sint
VM start=0xF56000 end=0xF66000 | Texture 65x32x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0x8FC000 end=0x8FC050 | Buffer 80 bytes
VM start=0xF66000 end=0xF76000 | Buffer 65536 bytes
VM start=0x8FD000 end=0x8FD050 | Buffer 80 bytes
VM start=0x868000 end=0x878000 | Texture 65x32x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xF76000 end=0xF86000 | Texture 65x32x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xF86000 end=0xF96000 | Texture 65x32x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xF96000 end=0xFA6000 | Texture 65x32x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0x878000 end=0x87C000 | Texture 32x16x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0x87C000 end=0x880000 | Texture 32x16x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFA6000 end=0xFAA000 | Texture 32x16x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFAA000 end=0xFAE000 | Texture 32x16x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFAE000 end=0xFB2000 | Texture 32x16x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0x8FE000 end=0x900000 | Texture 16x8x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFB2000 end=0xFB4000 | Texture 16x8x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFB4000 end=0xFB6000 | Texture 16x8x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFB6000 end=0xFB8000 | Texture 16x8x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFB8000 end=0xFBA000 | Texture 16x8x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFBA000 end=0xFBB000 | Texture 8x4x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFBB000 end=0xFBC000 | Texture 8x4x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFBC000 end=0xFBD000 | Texture 8x4x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFBD000 end=0xFBE000 | Texture 8x4x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFBE000 end=0xFBF000 | Texture 8x4x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFBF000 end=0xFBF800 | Texture 4x2x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFC0000 end=0xFC0800 | Texture 4x2x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFC1000 end=0xFC1800 | Texture 4x2x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFC2000 end=0xFC2800 | Texture 4x2x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFC3000 end=0xFC3800 | Texture 4x2x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFC4000 end=0xFC4400 | Texture 2x1x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFC5000 end=0xFC5400 | Texture 2x1x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFC6000 end=0xFC6400 | Texture 2x1x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFC7000 end=0xFC7400 | Texture 2x1x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFC8000 end=0xFC8400 | Texture 2x1x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFC9000 end=0xFC9400 | Texture 1x1x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFCA000 end=0xFCA400 | Texture 1x1x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFCB000 end=0xFCB400 | Texture 1x1x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFCC000 end=0xFCC400 | Texture 1x1x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFCD000 end=0xFCD400 | Texture 1x1x1, 1 levels, 1 samples,
r32g32b32a32_sint
VM start=0xFCE000 end=0x1003F70 | Buffer 221040 bytes
VM start=0x1004000 end=0x1039F70 | Buffer 221040 bytes
VM start=0x103A000 end=0x103A0F8 | Buffer 248 bytes
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff0442dd2 in llvm::InstrEmitter::EmitRegSequence(llvm::SDNode*,
llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo<llvm::SDValue>
>&, bool, bool) () from /usr/lib/libLLVM-3.3.so
(gdb) bt
#0 0x00007ffff0442dd2 in llvm::InstrEmitter::EmitRegSequence(llvm::SDNode*,
llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo<llvm::SDValue>
>&, bool, bool) () from /usr/lib/libLLVM-3.3.so
#1 0x00007ffff04453d1 in llvm::InstrEmitter::EmitMachineNode(llvm::SDNode*,
bool, bool, llvm::DenseMap<llvm::SDValue, unsigned int,
llvm::DenseMapInfo<llvm::SDValue> >&) () from /usr/lib/libLLVM-3.3.so
#2 0x00007ffff04be431 in
llvm::ScheduleDAGSDNodes::EmitSchedule(llvm::MachineBasicBlock::bundle_iterator<llvm::MachineInstr,
llvm::ilist_iterator<llvm::MachineInstr> >&) () from /usr/lib/libLLVM-3.3.so
#3 0x00007ffff051bd70 in llvm::SelectionDAGISel::CodeGenAndEmitDAG() () from
/usr/lib/libLLVM-3.3.so
#4 0x00007ffff051d72a in
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) () from
/usr/lib/libLLVM-3.3.so
#5 0x00007ffff051e9d8 in
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) ()
from /usr/lib/libLLVM-3.3.so
#6 0x00007fffefc16a57 in llvm::FPPassManager::runOnFunction(llvm::Function&)
() from /usr/lib/libLLVM-3.3.so
#7 0x00007fffefc16aeb in llvm::FPPassManager::runOnModule(llvm::Module&) ()
from /usr/lib/libLLVM-3.3.so
#8 0x00007fffefc16d1b in llvm::MPPassManager::runOnModule(llvm::Module&) ()
from /usr/lib/libLLVM-3.3.so
#9 0x00007fffefc18cfc in llvm::PassManagerImpl::run(llvm::Module&) () from
/usr/lib/libLLVM-3.3.so
#10 0x00007ffff00f1a1e in ?? () from /usr/lib/libLLVM-3.3.so
#11 0x00007ffff00f1d65 in LLVMTargetMachineEmitToMemoryBuffer () from
/usr/lib/libLLVM-3.3.so
#12 0x00007ffff1dd7dda in radeon_llvm_compile (M=0xb15590,
binary=0x7fffffff40b0, gpu_family=0x7ffff1f06903 "cayman", dump=0)
at radeon_llvm_emit.c:124
#13 0x00007ffff1dcf24d in r600_llvm_compile (mod=0xb15590, family=CHIP_CAYMAN,
bc=0xb1be78, use_kill=0x7fffffffca8f "",
dump=0) at r600_llvm.c:835
#14 0x00007ffff1d3afe3 in r600_shader_from_tgsi (rscreen=0x63bb70,
pipeshader=0xb1be60, key=...) at r600_shader.c:1120
#15 0x00007ffff1d380ef in r600_pipe_shader_create (ctx=0x61bb50,
shader=0xb1be60, key=...) at r600_shader.c:129
#16 0x00007ffff1d5ee44 in r600_shader_select (ctx=0x61bb50, sel=0xb36710,
dirty=0x0) at r600_state_common.c:746
#17 0x00007ffff1d5f052 in r600_create_shader_state (ctx=0x61bb50,
state=0xb260d0, pipe_shader_type=0)
at r600_state_common.c:793
#18 0x00007ffff1d5f0ba in r600_create_vs_state (ctx=0x61bb50, state=0xb260d0)
at r600_state_common.c:809
#19 0x00007ffff1ab6ccd in st_translate_vertex_program (st=0x731420,
stvp=0xb2c0f0, key=0x7fffffffde10)
at state_tracker/st_program.c:388
#20 0x00007ffff1ab6ded in st_get_vp_variant (st=0x731420, stvp=0xb2c0f0,
key=0x7fffffffde10)
at state_tracker/st_program.c:426
#21 0x00007ffff1a79e0e in update_vp (st=0x731420) at
state_tracker/st_atom_shader.c:153
#22 0x00007ffff1a745ce in st_validate_state (st=0x731420) at
state_tracker/st_atom.c:202
#23 0x00007ffff1a80abf in st_Clear (ctx=0x73b080, mask=256) at
state_tracker/st_cb_clear.c:396
#24 0x00007ffff1904056 in _mesa_Clear (mask=16384) at main/clear.c:202
#25 0x00007ffff7af21df in stub_glClear (mask=16384)
at
/home/dema1701/projects/display/piglit/tests/util/generated_dispatch.c:1935
#26 0x0000000000404b71 in piglit_display ()
at
/home/dema1701/projects/display/piglit/tests/texturing/shaders/texelFetch.c:928
#27 0x00007ffff7aeb593 in run_test (gl_fw=0x608010, argc=4,
argv=0x7fffffffe188)
at
/home/dema1701/projects/display/piglit/tests/util/piglit-framework-gl/piglit_fbo_framework.c:52
#28 0x00007ffff7ae93a9 in piglit_gl_test_run (argc=4, argv=0x7fffffffe188,
config=0x7fffffffe050)
at
/home/dema1701/projects/display/piglit/tests/util/piglit-framework-gl.c:191
#29 0x0000000000402b1b in main (argc=4, argv=0x7fffffffe188)
at
/home/dema1701/projects/display/piglit/tests/texturing/shaders/texelFetch.c:102
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131122/634c2f35/attachment-0001.html>
More information about the dri-devel
mailing list