On Sun, May 15, 2016 at 06:45:54PM +1000, Jonathan Gray wrote:
> On Sun, May 15, 2016 at 10:01:49AM +0200, Matthieu Herrb wrote:
> > On Sat, May 14, 2016 at 01:30:08PM +1000, Jonathan Gray wrote:
> > > Still looking for some tests on r600 and powerpc for this.
> > 
> > Tested on amd64 on
> > 
> > radeondrm0 at pci2 dev 0 function 0 "ATI Radeon Mobility HD 5430" rev
> > 0x00
> > 
> > and on macppc on
> > 
> > radeondrm0 at pci2 dev 2 function 0 "ATI Radeon VĂ‹ rev 0x00
> > 
> > I've attached glxinfo dumps for both machines.
> > Also tested on amd64 on my X240 (Haswell) and my NUC (Broadwell).
> 
> Thanks, unfortunately I get a reproduceable crash with
> the gallium software renderer on armv7 over X11 forwarding though sparc64
> and amd64 seems fine with it.

Also, with Mesa 11.0.9 I get a similar crash running on arm with display on
amd64:

(gdb) bt
#0  add_uniform (this=Variable "this" is not available.
) at builtin_variables.cpp:484
#1  0x478a7480 in generate_uniforms (this=0xbffe8ff8)
    at builtin_variables.cpp:808
#2  0x478a8b98 in _mesa_glsl_initialize_variables (instructions=Variable 
"instructions" is not available.
)
    at builtin_variables.cpp:1182
#3  0x476d0f18 in _mesa_get_fixed_func_fragment_program (ctx=0x4184d000)
    at 
/share/OpenBSD/xenocara/lib/mesa/src/mesa/main/ff_fragment_shader.cpp:1226
#4  0x4777eb24 in _mesa_update_state_locked () at glsl_symbol_table.h:45
#5  0x4777ec58 in _mesa_update_state () at glsl_symbol_table.h:45
#6  0x4769cc8c in _mesa_Clear ()
    at /share/OpenBSD/xenocara/lib/mesa/src/glsl/nir/glsl_to_nir.cpp:160
#7  0x45bd8f88 in glClear () from /usr/X11R6/lib/libGL.so.16.0
#8  0x0000a998 in __register_frame_info ()
#9  0xbffe95b8 in ?? ()
Cannot access memory at address 0x685d7f3d
(gdb)


> 
> https://bugs.freedesktop.org/show_bug.cgi?id=95395
> 
> Program received signal SIGSEGV, Segmentation fault.
> add_uniform (this=Variable "this" is not available.) at 
> /usr/xenocara/lib/mesa/src/compiler/glsl/builtin_variables.cpp:544
> 544        const unsigned array_count = type->is_array() ? type->length : 1;
> Current language:  auto; currently c++
> (gdb) bt
> #0  add_uniform (this=Variable "this" is not available.) at 
> /usr/xenocara/lib/mesa/src/compiler/glsl/builtin_variables.cpp:544
> #1  0x453d97ec in generate_uniforms (this=0xbfff1508) at 
> /usr/xenocara/lib/mesa/src/compiler/glsl/builtin_variables.cpp:882
> #2  0x453db110 in _mesa_glsl_initialize_variables (instructions=Variable 
> "instructions" is not available.
> ) at /usr/xenocara/lib/mesa/src/compiler/glsl/builtin_variables.cpp:1304
> #3  0x451ec5e4 in _mesa_get_fixed_func_fragment_program (ctx=0x40246000) at 
> /usr/xenocara/lib/mesa/src/mesa/main/ff_fragment_shader.cpp:1225
> #4  0x4529d038 in _mesa_update_state_locked () at glsl_symbol_table.h:45
> #5  0x4529d1b0 in _mesa_update_state () at glsl_symbol_table.h:45
> #6  0x451b8268 in _mesa_Clear () at nir_builder_opcodes.h:80
> #7  0x469e3e30 in glClear () from /usr/X11R6/lib/libGL.so.17.0
> #8  0x0000a998 in __register_frame_info ()
> #9  0xbfff1a80 in ?? ()
> Cannot access memory at address 0x34388d3f
> (gdb) p type
> $1 = (const glsl_type *) 0x0
> (gdb) p name
> $2 = 0x4558e6fc "gl_CurrentAttribVertMESA"

-- 
Matthieu Herrb

Attachment: signature.asc
Description: PGP signature

Reply via email to