From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 103915] Undertale crashes on startup (compiling shaders?) Date: Sun, 26 Nov 2017 12:27:48 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1205377223==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id C435389F5B for ; Sun, 26 Nov 2017 12:27:48 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1205377223== Content-Type: multipart/alternative; boundary="15116992680.804a6DfE.16924"; charset="UTF-8" --15116992680.804a6DfE.16924 Date: Sun, 26 Nov 2017 12:27:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D103915 Bug ID: 103915 Summary: Undertale crashes on startup (compiling shaders?) Product: Mesa Version: 17.2 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: toojays@toojays.net QA Contact: dri-devel@lists.freedesktop.org Created attachment 135727 --> https://bugs.freedesktop.org/attachment.cgi?id=3D135727&action=3Dedit thread apply all bt full Mesa 17.2.6 self-compiled, running on Debian Stretch OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (AMD POLARIS10 / DRM 3.10.0 / 4.11.0-0.bpo.1-amd64, LLVM 5.0.0) I picked up Undertale today, tried to play it but it crashes on startup with the following backtr= ace: Core was generated by `/pool/toojays/steam/SteamApps/common/Undertale/runne= r'. Program terminated with signal SIGSEGV, Segmentation fault. Thread 9 (Thread 0xe817fb40 (LWP 28800)): #0 0xf775bc89 in __kernel_vsyscall () #1 0xf73fcb9b in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187 #2 0xef9a21da in cnd_wait (mtx=3D0xa74e410, cond=3D0xa74e428) at ../../include/c11/threads_posix.h:159 #3 util_queue_thread_func (input=3D0xa5a98a8) at u_queue.c:171 #4 0xf73f727a in start_thread (arg=3D0xe817fb40) at pthread_create.c:333 #5 0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110 Thread 8 (Thread 0xe91e1b40 (LWP 28798)): #0 0xf775bc89 in __kernel_vsyscall () #1 0xf73fcb9b in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187 #2 0xef9a21da in cnd_wait (mtx=3D0xa6b2324, cond=3D0xa6b233c) at ../../include/c11/threads_posix.h:159 #3 util_queue_thread_func (input=3D0xa5d1580) at u_queue.c:171 #4 0xf73f727a in start_thread (arg=3D0xe91e1b40) at pthread_create.c:333 #5 0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110 Thread 7 (Thread 0xebb5eb40 (LWP 28793)): #0 0xf775bc89 in __kernel_vsyscall () #1 0xf73fcb9b in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187 #2 0xef9a21da in cnd_wait (mtx=3D0xa6b1874, cond=3D0xa6b188c) at ../../include/c11/threads_posix.h:159 #3 util_queue_thread_func (input=3D0xa5cf958) at u_queue.c:171 #4 0xf73f727a in start_thread (arg=3D0xebb5eb40) at pthread_create.c:333 #5 0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110 Thread 6 (Thread 0xf6be5700 (LWP 28792)): #0 0xf775bc89 in __kernel_vsyscall () #1 0xf73fcb9b in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187 #2 0xef9a258a in cnd_wait (mtx=3D0xa7ac650, cond=3D0xa7ac668) at ../../include/c11/threads_posix.h:159 #3 util_queue_fence_wait (fence=3D0xa7ac650) at u_queue.c:106 #4 0xefbf991c in si_shader_select_with_key (sscreen=3D0xa6b1e50, state=3Dstate@entry=3D0xa6cd97c, compiler_state=3Dcompiler_state@entry=3D0x= ffea3dec, key=3D0xffea3ca4, thread_index=3D-1) at si_state_shaders.c:1596 #5 0xefbfa3c9 in si_shader_select (ctx=3Dctx@entry=3D0xa6ccec0, state=3Dstate@entry=3D0xa6cd97c, compiler_state=3Dcompiler_state@entry=3D0x= ffea3dec) at si_state_shaders.c:1753 #6 0xefbfc76f in si_update_shaders (sctx=3D0xa6ccec0) at si_state_shaders.= c:3222 #7 0xefbf45e6 in si_draw_vbo (ctx=3D, info=3D) at si_state_draw.c:1266 #8 0xefaa2f91 in util_draw_arrays (start=3D0, count=3D3, mode=3DPIPE_PRIM_= MAX, pipe=3D0xa6ccec0) at ./util/u_draw.h:66 #9 util_draw_vertex_buffer (pipe=3D0xa6ccec0, cso=3D0x0, vbuf=3D0xa7ac4a0, vbuf_slot=3D0, offset=3D0, prim_type=3D15, num_verts=3D3, num_attribs=3D2) = at util/u_draw_quad.c:68 #10 0xefc32c6d in r600_draw_rectangle (blitter=3D0xa6976f0, x1=3D0, y1=3D0,= x2=3D640, y2=3D480, depth=3D1, type=3DUTIL_BLITTER_ATTRIB_COLOR, attrib=3D0xa74e56c) = at r600_pipe_common.c:239 #11 0xefa9f22b in util_blitter_clear_custom (blitter=3D0xa6976f0, width=3D6= 40, height=3D480, num_layers=3D1, clear_buffers=3D7, color=3D0xa74e56c, depth= =3D1, stencil=3D0, custom_dsa=3D0x0, custom_blend=3D0x0) at util/u_blitter.c:1406 #12 0xefa9f333 in util_blitter_clear (blitter=3D, width=3D, height=3D, num_layers=3D, clear_buffers=3D, color=3D, depth=3D, stencil=3D0) at util/u_blitter.c:1422 #13 0xefbc2102 in si_clear (ctx=3D0xa6ccec0, buffers=3D, color=3D0xa74e56c, depth=3D1, stencil=3D0) at si_blit.c:893 #14 0xefac48e1 in tc_call_clear (pipe=3D0xa6ccec0, payload=3D0xa74e568) at util/u_threaded_context.c:2073 #15 0xefac51bf in tc_batch_execute (thread_index=3D0, job=3D0xa74e4c0) at util/u_threaded_context.c:94 #16 _tc_sync (tc=3Dtc@entry=3D0xa74e220, func=3D, info=3D) at util/u_threaded_context.c:185 #17 0xefac7777 in tc_texture_subdata (_pipe=3D0xa74e220, resource=3D0xa7a8a= d0, level=3D0, usage=3D0, box=3D0xffea4208, data=3D0xa7a83d0, stride=3D64, laye= r_stride=3D1024) at util/u_threaded_context.c:1631 #18 0xef8ae3ba in st_TexSubImage (ctx=3D0xa756088, dims=3D2, texImage=3D, xoffset=3D0, yoffset=3D, zoffset=3D0, width=3D16, height=3D, depth=3D1, format=3D6408, type=3D5121, pixels=3D0= xa7a83d0, unpack=3D0xa76e830) at state_tracker/st_cb_texture.c:1418 #19 0xef8afe6c in st_TexImage (ctx=3D0xa756088, dims=3D2, texImage=3D0xa6b8= ab8, format=3D6408, type=3D5121, pixels=3D0xa7a83d0, unpack=3D0xa76e830) at state_tracker/st_cb_texture.c:1635 #20 0xef831165 in teximage (no_error=3Dfalse, pixels=3D0xa7a83d0, imageSize= =3D0, type=3D5121, format=3D6408, border=3D0, depth=3D, height=3D<= optimized out>, width=3D, internalFormat=3D6408, level=3D0, target=3D3= 553, dims=3D2, compressed=3D0 '\000', ctx=3D0xa756088) at main/teximage.c:3055 #21 teximage_err (ctx=3D0xa756088, compressed=3Dcompressed@entry=3D0 '\000', dims=3Ddims@entry=3D2, target=3D3553, level=3D0, internalFormat=3D, width=3D16, height=3D16, depth=3D1, border=3D, format=3D6408= , type=3D5121, imageSize=3D0, pixels=3D0xa7a83d0) at main/teximage.c:3081 #22 0xef83310a in _mesa_TexImage2D (target=3D3553, level=3D0, internalForma= t=3D6408, width=3D16, height=3D16, border=3D0, format=3D6408, type=3D5121, pixels=3D0= xa7a83d0) at main/teximage.c:3119 #23 0x08303d5d in ?? () #24 0x08302a5e in ?? () #25 0x08303c2e in ?? () #26 0x083027c4 in ?? () #27 0x0830287f in ?? () #28 0x082fd629 in ?? () #29 0x081001fa in ?? () #30 0x081be8c3 in ?? () #31 0x082f7eda in ?? () #32 0x0831d356 in ?? () #33 0xf6e43276 in __libc_start_main (main=3D0x831d180, argc=3D1, argv=3D0xf= fea5c14, init=3D0x8351350, fini=3D0x83513c0, rtld_fini=3D0xf776d080 <_dl_fini>, stack_end=3D0xffea5c0c) at ../csu/libc-start.c:291 #34 0x08051525 in ?? () Thread 5 (Thread 0xe89e0b40 (LWP 28799)): #0 0xf775bc89 in __kernel_vsyscall () #1 0xf73fcb9b in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187 #2 0xef9a21da in cnd_wait (mtx=3D0xa6b2324, cond=3D0xa6b233c) at ../../include/c11/threads_posix.h:159 #3 util_queue_thread_func (input=3D0xa5ad7f0) at u_queue.c:171 #4 0xf73f727a in start_thread (arg=3D0xe89e0b40) at pthread_create.c:333 #5 0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110 Thread 4 (Thread 0xe99e2b40 (LWP 28797)): #0 0xec2e3fc0 in llvm::VectorType::get(llvm::Type*, unsigned int) () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #1 0xec21926c in LLVMVectorType () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #2 0xefc4dee5 in ac_llvm_context_init (ctx=3D0xe99e10f8, context=3D0xa5720= f8, chip_class=3DVI) at common/ac_llvm_build.c:68 #3 0xefbe995f in si_llvm_context_init (ctx=3D, sscreen=3D, tm=3D) at si_shader_tgsi_setup.c:1196 #4 0xefbd37aa in si_init_shader_ctx (ctx=3Dctx@entry=3D0xe99e03b0, sscreen=3Dsscreen@entry=3D0xa6b1e50, tm=3Dtm@entry=3D0xa6b92d8) at si_shade= r.c:5371 #5 0xefbe085d in si_compile_tgsi_shader (sscreen=3D0xa6b1e50, tm=3D0xa6b92= d8, shader=3D0xe7400470, is_monolithic=3Dfalse, debug=3D0x0) at si_shader.c:6147 #6 0xefbf9b8c in si_init_shader_selector_async (job=3D0xa7ab748, thread_in= dex=3D2) at si_state_shaders.c:1840 #7 0xef9a228b in util_queue_thread_func (input=3D0xa5a98a8) at u_queue.c:1= 87 #8 0xf73f727a in start_thread (arg=3D0xe99e2b40) at pthread_create.c:333 #9 0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110 Thread 3 (Thread 0xea1e3b40 (LWP 28796)): #0 __libc_message (do_abort=3D, fmt=3D) at ../sysdeps/posix/libc_fatal.c:152 #1 0xf6e98fb7 in malloc_printerr (action=3D, str=3D0xf6f88d= 80 "free(): invalid pointer", ptr=3D, ar_ptr=3D0xf6fdf780 ) at malloc.c:5049 #2 0xf6e997f6 in _int_free (av=3D0xf6fdf780 , p=3D0xef67e9fd ::SetKey+5>, have_lock=3D0) at malloc.c:3905 #3 0x0834ff7f in operator delete(void*) () #4 0xec2a039c in void std::vector, std::allocator > >::_M_emplace_back_aux const&>(std::pair const&) () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #5 0xec2a4bbb in llvm::PMDataManager::initializeAnalysisImpl(llvm::Pass*) = () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #6 0xecf07c45 in ?? () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #7 0xec2a9f2a in llvm::legacy::PassManagerImpl::run(llvm::Module&) () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #8 0xec2aa10f in llvm::legacy::PassManager::run(llvm::Module&) () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #9 0xec22514c in LLVMRunPassManager () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #10 0xefbea0ec in si_llvm_optimize_module (ctx=3D0xea1e13b0) at si_shader_tgsi_setup.c:1420 #11 0xefbe0964 in si_compile_tgsi_shader (sscreen=3D0xa6b1e50, tm=3D0xa6b8c= f0, shader=3D0xe7700470, is_monolithic=3Dfalse, debug=3D0x0) at si_shader.c:6341 #12 0xefbf9b8c in si_init_shader_selector_async (job=3D0xa7a6758, thread_in= dex=3D1) at si_state_shaders.c:1840 #13 0xef9a228b in util_queue_thread_func (input=3D0xa5ad7f0) at u_queue.c:1= 87 #14 0xf73f727a in start_thread (arg=3D0xea1e3b40) at pthread_create.c:333 #15 0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110 Thread 2 (Thread 0xeb21cb40 (LWP 28794)): #0 0xf775bc89 in __kernel_vsyscall () #1 0xf73fcb9b in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187 #2 0xef9a21da in cnd_wait (mtx=3D0xa6b5bd0, cond=3D0xa6b5be8) at ../../include/c11/threads_posix.h:159 #3 util_queue_thread_func (input=3D0xa599ec8) at u_queue.c:171 #4 0xf73f727a in start_thread (arg=3D0xeb21cb40) at pthread_create.c:333 #5 0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110 Thread 1 (Thread 0xea9e4b40 (LWP 28795)): #0 0xecd20da0 in ?? () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #1 0xec2a951b in llvm::FPPassManager::runOnFunction(llvm::Function&) () fr= om /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #2 0xec2a95b2 in llvm::FPPassManager::runOnModule(llvm::Module&) () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #3 0xec2a9f2a in llvm::legacy::PassManagerImpl::run(llvm::Module&) () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #4 0xec2aa10f in llvm::legacy::PassManager::run(llvm::Module&) () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #5 0xed37e09f in ?? () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #6 0xed37e260 in LLVMTargetMachineEmitToMemoryBuffer () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1 #7 0xefbe8597 in si_llvm_compile (M=3D0xe76015c8, binary=3D0xe760052c, tm=3D0xa6b78e8, debug=3D0x0) at si_shader_tgsi_setup.c:134 #8 0xefbdf395 in si_compile_llvm (sscreen=3Dsscreen@entry=3D0xa6b1e50, binary=3Dbinary@entry=3D0xe760052c, conf=3Dconf@entry=3D0xe7600560, tm=3D0x= a6b78e8, mod=3D0xe76015c8, debug=3D0x0, processor=3D1, name=3D0xefd11a3c "TGSI shade= r") at si_shader.c:5070 #9 0xefbe0abf in si_compile_tgsi_shader (sscreen=3D0xa6b1e50, tm=3D0xa6b78= e8, shader=3D0xe7600470, is_monolithic=3Dfalse, debug=3D0x0) at si_shader.c:6351 #10 0xefbf9b8c in si_init_shader_selector_async (job=3D0xa7a54e0, thread_in= dex=3D0) at si_state_shaders.c:1840 #11 0xef9a228b in util_queue_thread_func (input=3D0xa5a98a8) at u_queue.c:1= 87 #12 0xf73f727a in start_thread (arg=3D0xea9e4b40) at pthread_create.c:333 #13 0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110 Full backtrace attached. FWIW it launches okay on my laptop running Ubuntu 16.04 / Mesa 17.2.4 / Iris Graphics 540. --=20 You are receiving this mail because: You are the assignee for the bug.= --15116992680.804a6DfE.16924 Date: Sun, 26 Nov 2017 12:27:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 103915
Summary Undertale crashes on startup (compiling shaders?)
Product Mesa
Version 17.2
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter toojays@toojays.net
QA Contact dri-devel@lists.freedesktop.org

Created attachment 1357=
27 [details]
thread apply all bt full

Mesa 17.2.6 self-compiled, running on Debian Stretch
OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (AMD POLARIS10 / DRM
3.10.0 / 4.11.0-0.bpo.1-amd64, LLVM 5.0.0)

I picked up Undertale <http://store.steampowered.com/app/391540/Undertale/>
today, tried to play it but it crashes on startup with the following backtr=
ace:

Core was generated by `/pool/toojays/steam/SteamApps/common/Undertale/runne=
r'.
Program terminated with signal SIGSEGV, Segmentation fault.

Thread 9 (Thread 0xe817fb40 (LWP 28800)):
#0  0xf775bc89 in __kernel_vsyscall ()
#1  0xf73fcb9b in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187
#2  0xef9a21da in cnd_wait (mtx=3D0xa74e410, cond=3D0xa74e428) at
../../include/c11/threads_posix.h:159
#3  util_queue_thread_func (input=3D0xa5a98a8) at u_queue.c:171
#4  0xf73f727a in start_thread (arg=3D0xe817fb40) at pthread_create.c:333
#5  0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110

Thread 8 (Thread 0xe91e1b40 (LWP 28798)):
#0  0xf775bc89 in __kernel_vsyscall ()
#1  0xf73fcb9b in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187
#2  0xef9a21da in cnd_wait (mtx=3D0xa6b2324, cond=3D0xa6b233c) at
../../include/c11/threads_posix.h:159
#3  util_queue_thread_func (input=3D0xa5d1580) at u_queue.c:171
#4  0xf73f727a in start_thread (arg=3D0xe91e1b40) at pthread_create.c:333
#5  0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110

Thread 7 (Thread 0xebb5eb40 (LWP 28793)):
#0  0xf775bc89 in __kernel_vsyscall ()
#1  0xf73fcb9b in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187
#2  0xef9a21da in cnd_wait (mtx=3D0xa6b1874, cond=3D0xa6b188c) at
../../include/c11/threads_posix.h:159
#3  util_queue_thread_func (input=3D0xa5cf958) at u_queue.c:171
#4  0xf73f727a in start_thread (arg=3D0xebb5eb40) at pthread_create.c:333
#5  0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110

Thread 6 (Thread 0xf6be5700 (LWP 28792)):
#0  0xf775bc89 in __kernel_vsyscall ()
#1  0xf73fcb9b in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187
#2  0xef9a258a in cnd_wait (mtx=3D0xa7ac650, cond=3D0xa7ac668) at
../../include/c11/threads_posix.h:159
#3  util_queue_fence_wait (fence=3D0xa7ac650) at u_queue.c:106
#4  0xefbf991c in si_shader_select_with_key (sscreen=3D0xa6b1e50,
state=3Dstate@entry=3D0xa6cd97c, compiler_state=3Dcompiler_state@en=
try=3D0xffea3dec,
key=3D0xffea3ca4, thread_index=3D-1) at si_state_shaders.c:1596
#5  0xefbfa3c9 in si_shader_select (ctx=3Dctx@entry=3D0xa6ccec0,
state=3Dstate@entry=3D0xa6cd97c, compiler_state=3Dcompiler_state@en=
try=3D0xffea3dec) at
si_state_shaders.c:1753
#6  0xefbfc76f in si_update_shaders (sctx=3D0xa6ccec0) at si_state_shaders.=
c:3222
#7  0xefbf45e6 in si_draw_vbo (ctx=3D<optimized out>, info=3D<opti=
mized out>) at
si_state_draw.c:1266
#8  0xefaa2f91 in util_draw_arrays (start=3D0, count=3D3, mode=3DPIPE_PRIM_=
MAX,
pipe=3D0xa6ccec0) at ./util/u_draw.h:66
#9  util_draw_vertex_buffer (pipe=3D0xa6ccec0, cso=3D0x0, vbuf=3D0xa7ac4a0,
vbuf_slot=3D0, offset=3D0, prim_type=3D15, num_verts=3D3, num_attribs=3D2) =
at
util/u_draw_quad.c:68
#10 0xefc32c6d in r600_draw_rectangle (blitter=3D0xa6976f0, x1=3D0, y1=3D0,=
 x2=3D640,
y2=3D480, depth=3D1, type=3DUTIL_BLITTER_ATTRIB_COLOR, attrib=3D0xa74e56c) =
at
r600_pipe_common.c:239
#11 0xefa9f22b in util_blitter_clear_custom (blitter=3D0xa6976f0, width=3D6=
40,
height=3D480, num_layers=3D1, clear_buffers=3D7, color=3D0xa74e56c, depth=
=3D1, stencil=3D0,
custom_dsa=3D0x0, custom_blend=3D0x0) at util/u_blitter.c:1406
#12 0xefa9f333 in util_blitter_clear (blitter=3D<optimized out>, widt=
h=3D<optimized
out>, height=3D<optimized out>, num_layers=3D<optimized out>,
clear_buffers=3D<optimized out>, color=3D<optimized out>, depth=
=3D<optimized out>,
stencil=3D0) at util/u_blitter.c:1422
#13 0xefbc2102 in si_clear (ctx=3D0xa6ccec0, buffers=3D<optimized out>=
;,
color=3D0xa74e56c, depth=3D1, stencil=3D0) at si_blit.c:893
#14 0xefac48e1 in tc_call_clear (pipe=3D0xa6ccec0, payload=3D0xa74e568) at
util/u_threaded_context.c:2073
#15 0xefac51bf in tc_batch_execute (thread_index=3D0, job=3D0xa74e4c0) at
util/u_threaded_context.c:94
#16 _tc_sync (tc=3Dtc@entry=3D0xa74e220, func=3D<optimized out>, =
info=3D<optimized
out>) at util/u_threaded_context.c:185
#17 0xefac7777 in tc_texture_subdata (_pipe=3D0xa74e220, resource=3D0xa7a8a=
d0,
level=3D0, usage=3D0, box=3D0xffea4208, data=3D0xa7a83d0, stride=3D64, laye=
r_stride=3D1024)
at util/u_threaded_context.c:1631
#18 0xef8ae3ba in st_TexSubImage (ctx=3D0xa756088, dims=3D2, texImage=3D<=
;optimized
out>, xoffset=3D0, yoffset=3D<optimized out>, zoffset=3D0, width=
=3D16,
height=3D<optimized out>, depth=3D1, format=3D6408, type=3D5121, pixe=
ls=3D0xa7a83d0,
unpack=3D0xa76e830) at state_tracker/st_cb_texture.c:1418
#19 0xef8afe6c in st_TexImage (ctx=3D0xa756088, dims=3D2, texImage=3D0xa6b8=
ab8,
format=3D6408, type=3D5121, pixels=3D0xa7a83d0, unpack=3D0xa76e830) at
state_tracker/st_cb_texture.c:1635
#20 0xef831165 in teximage (no_error=3Dfalse, pixels=3D0xa7a83d0, imageSize=
=3D0,
type=3D5121, format=3D6408, border=3D0, depth=3D<optimized out>, heig=
ht=3D<optimized
out>, width=3D<optimized out>, internalFormat=3D6408, level=3D0, t=
arget=3D3553, dims=3D2,
compressed=3D0 '\000', ctx=3D0xa756088) at main/teximage.c:3055
#21 teximage_err (ctx=3D0xa756088, compressed=3Dcompressed@entry=3D0 '\=
000',
dims=3Ddims@entry=3D2, target=3D3553, level=3D0, internalFormat=3D<o=
ptimized out>,
width=3D16, height=3D16, depth=3D1, border=3D<optimized out>, format=
=3D6408, type=3D5121,
imageSize=3D0, pixels=3D0xa7a83d0) at main/teximage.c:3081
#22 0xef83310a in _mesa_TexImage2D (target=3D3553, level=3D0, internalForma=
t=3D6408,
width=3D16, height=3D16, border=3D0, format=3D6408, type=3D5121, pixels=3D0=
xa7a83d0) at
main/teximage.c:3119
#23 0x08303d5d in ?? ()
#24 0x08302a5e in ?? ()
#25 0x08303c2e in ?? ()
#26 0x083027c4 in ?? ()
#27 0x0830287f in ?? ()
#28 0x082fd629 in ?? ()
#29 0x081001fa in ?? ()
#30 0x081be8c3 in ?? ()
#31 0x082f7eda in ?? ()
#32 0x0831d356 in ?? ()
#33 0xf6e43276 in __libc_start_main (main=3D0x831d180, argc=3D1, argv=3D0xf=
fea5c14,
init=3D0x8351350, fini=3D0x83513c0, rtld_fini=3D0xf776d080 <_dl_fini>,
stack_end=3D0xffea5c0c) at ../csu/libc-start.c:291
#34 0x08051525 in ?? ()

Thread 5 (Thread 0xe89e0b40 (LWP 28799)):
#0  0xf775bc89 in __kernel_vsyscall ()
#1  0xf73fcb9b in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187
#2  0xef9a21da in cnd_wait (mtx=3D0xa6b2324, cond=3D0xa6b233c) at
../../include/c11/threads_posix.h:159
#3  util_queue_thread_func (input=3D0xa5ad7f0) at u_queue.c:171
#4  0xf73f727a in start_thread (arg=3D0xe89e0b40) at pthread_create.c:333
#5  0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110

Thread 4 (Thread 0xe99e2b40 (LWP 28797)):
#0  0xec2e3fc0 in llvm::VectorType::get(llvm::Type*, unsigned int) () from
/usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#1  0xec21926c in LLVMVectorType () from
/usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#2  0xefc4dee5 in ac_llvm_context_init (ctx=3D0xe99e10f8, context=3D0xa5720=
f8,
chip_class=3DVI) at common/ac_llvm_build.c:68
#3  0xefbe995f in si_llvm_context_init (ctx=3D<optimized out>, sscree=
n=3D<optimized
out>, tm=3D<optimized out>) at si_shader_tgsi_setup.c:1196
#4  0xefbd37aa in si_init_shader_ctx (ctx=3Dctx@entry=3D0xe99e03b0,
sscreen=3Dsscreen@entry=3D0xa6b1e50, tm=3Dtm@entry=3D0xa6b92d8) at =
si_shader.c:5371
#5  0xefbe085d in si_compile_tgsi_shader (sscreen=3D0xa6b1e50, tm=3D0xa6b92=
d8,
shader=3D0xe7400470, is_monolithic=3Dfalse, debug=3D0x0) at si_shader.c:6147
#6  0xefbf9b8c in si_init_shader_selector_async (job=3D0xa7ab748, thread_in=
dex=3D2)
at si_state_shaders.c:1840
#7  0xef9a228b in util_queue_thread_func (input=3D0xa5a98a8) at u_queue.c:1=
87
#8  0xf73f727a in start_thread (arg=3D0xe99e2b40) at pthread_create.c:333
#9  0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110

Thread 3 (Thread 0xea1e3b40 (LWP 28796)):
#0  __libc_message (do_abort=3D<optimized out>, fmt=3D<optimized o=
ut>) at
../sysdeps/posix/libc_fatal.c:152
#1  0xf6e98fb7 in malloc_printerr (action=3D<optimized out>, str=3D0x=
f6f88d80
"free(): invalid pointer", ptr=3D<optimized out>, ar_ptr=3D=
0xf6fdf780 <main_arena>)
at malloc.c:5049
#2  0xf6e997f6 in _int_free (av=3D0xf6fdf780 <main_arena>, p=3D0xef67=
e9fd
<llvm::AllAnalysesOn<llvm::LazyCallGraph::SCC>::SetKey+5>, have=
_lock=3D0) at
malloc.c:3905
#3  0x0834ff7f in operator delete(void*) ()
#4  0xec2a039c in void std::vector<std::pair<void const*, llvm::Pass*=
>,
std::allocator<std::pair<void const*, llvm::Pass*> >
>::_M_emplace_back_aux<std::pair<void const*=
, llvm::Pass*>
const&>(std::pair<void const*, llvm::Pass*> const&) () from
/usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#5  0xec2a4bbb in llvm::PMDataManager::initializeAnalysisImpl(llvm::Pass*) =
()
from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#6  0xecf07c45 in ?? () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#7  0xec2a9f2a in llvm::legacy::PassManagerImpl::run(llvm::Module&) () =
from
/usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#8  0xec2aa10f in llvm::legacy::PassManager::run(llvm::Module&) () from
/usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#9  0xec22514c in LLVMRunPassManager () from
/usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#10 0xefbea0ec in si_llvm_optimize_module (ctx=3D0xea1e13b0) at
si_shader_tgsi_setup.c:1420
#11 0xefbe0964 in si_compile_tgsi_shader (sscreen=3D0xa6b1e50, tm=3D0xa6b8c=
f0,
shader=3D0xe7700470, is_monolithic=3Dfalse, debug=3D0x0) at si_shader.c:6341
#12 0xefbf9b8c in si_init_shader_selector_async (job=3D0xa7a6758, thread_in=
dex=3D1)
at si_state_shaders.c:1840
#13 0xef9a228b in util_queue_thread_func (input=3D0xa5ad7f0) at u_queue.c:1=
87
#14 0xf73f727a in start_thread (arg=3D0xea1e3b40) at pthread_create.c:333
#15 0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110

Thread 2 (Thread 0xeb21cb40 (LWP 28794)):
#0  0xf775bc89 in __kernel_vsyscall ()
#1  0xf73fcb9b in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187
#2  0xef9a21da in cnd_wait (mtx=3D0xa6b5bd0, cond=3D0xa6b5be8) at
../../include/c11/threads_posix.h:159
#3  util_queue_thread_func (input=3D0xa599ec8) at u_queue.c:171
#4  0xf73f727a in start_thread (arg=3D0xeb21cb40) at pthread_create.c:333
#5  0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110

Thread 1 (Thread 0xea9e4b40 (LWP 28795)):
#0  0xecd20da0 in ?? () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#1  0xec2a951b in llvm::FPPassManager::runOnFunction(llvm::Function&) (=
) from
/usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#2  0xec2a95b2 in llvm::FPPassManager::runOnModule(llvm::Module&) () fr=
om
/usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#3  0xec2a9f2a in llvm::legacy::PassManagerImpl::run(llvm::Module&) () =
from
/usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#4  0xec2aa10f in llvm::legacy::PassManager::run(llvm::Module&) () from
/usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#5  0xed37e09f in ?? () from /usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#6  0xed37e260 in LLVMTargetMachineEmitToMemoryBuffer () from
/usr/lib/i386-linux-gnu/libLLVM-5.0.so.1
#7  0xefbe8597 in si_llvm_compile (M=3D0xe76015c8, binary=3D0xe760052c,
tm=3D0xa6b78e8, debug=3D0x0) at si_shader_tgsi_setup.c:134
#8  0xefbdf395 in si_compile_llvm (sscreen=3Dsscreen@entry=3D0xa6b1e50,
binary=3Dbinary@entry=3D0xe760052c, conf=3Dconf@entry=3D0xe7600560,=
 tm=3D0xa6b78e8,
mod=3D0xe76015c8, debug=3D0x0, processor=3D1, name=3D0xefd11a3c "TGSI =
shader") at
si_shader.c:5070
#9  0xefbe0abf in si_compile_tgsi_shader (sscreen=3D0xa6b1e50, tm=3D0xa6b78=
e8,
shader=3D0xe7600470, is_monolithic=3Dfalse, debug=3D0x0) at si_shader.c:6351
#10 0xefbf9b8c in si_init_shader_selector_async (job=3D0xa7a54e0, thread_in=
dex=3D0)
at si_state_shaders.c:1840
#11 0xef9a228b in util_queue_thread_func (input=3D0xa5a98a8) at u_queue.c:1=
87
#12 0xf73f727a in start_thread (arg=3D0xea9e4b40) at pthread_create.c:333
#13 0xf6f12b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110


Full backtrace attached.
FWIW it launches okay on my laptop running Ubuntu 16.04 / Mesa 17.2.4 / Iris
Graphics 540.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15116992680.804a6DfE.16924-- --===============1205377223== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1205377223==--